Skip to content

Commit

Permalink
move transaction to btcio folder
Browse files Browse the repository at this point in the history
  • Loading branch information
voidash committed Dec 22, 2024
1 parent dcb3655 commit 80f0aa3
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 13 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ members = [
"crates/sync",
"crates/tasks",
"crates/test-utils",
"crates/transaction/filter",
"crates/transaction/reveal",
"crates/btcio/transaction/filter",
"crates/btcio/transaction/reveal",
"crates/util/mmr",
"crates/util/shrex",
"crates/vtxjmt",
Expand Down Expand Up @@ -105,7 +105,7 @@ strata-reth-exex = { path = "crates/reth/exex" }
strata-reth-node = { path = "crates/reth/node" }
strata-reth-primitives = { path = "crates/reth/primitives" }
strata-reth-rpc = { path = "crates/reth/rpc" }
strata-reveal-tx = { path = "crates/transaction/reveal" }
strata-reveal-tx = { path = "crates/btcio/transaction/reveal" }
strata-risc0-adapter = { path = "crates/zkvm/adapters/risc0" }
strata-rocksdb = { path = "crates/rocksdb-store" }
strata-rpc-api = { path = "crates/rpc/api" }
Expand All @@ -118,7 +118,7 @@ strata-storage = { path = "crates/storage" }
strata-sync = { path = "crates/sync" }
strata-tasks = { path = "crates/tasks" }
strata-test-utils = { path = "crates/test-utils" }
strata-tx-filter = { path = "crates/transaction/filter" }
strata-tx-filter = { path = "crates/btcio/transaction/filter" }
strata-zkvm = { path = "crates/zkvm/zkvm" }

# IMPORTANT: ensure alloy-* and revm packages are of the same version as inside reth dependency
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ use strata_primitives::{

use crate::utils::{generate_taproot_address, get_operator_wallet_pks};

/// DA filter mode to be used for Protocol Operation
#[derive(Clone, Copy)]
pub enum DaFilterMode {
/// Includes whole DA data
Full,
/// Commitment of the data only
Partial,
}

/// A configuration that determines how relevant transactions in a bitcoin block are filtered.
#[derive(Clone, Debug, PartialEq, Eq, BorshSerialize, BorshDeserialize)]
pub struct TxFilterConfig {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 80f0aa3

Please sign in to comment.