Skip to content

Commit b77b095

Browse files
authored
chore: copy existing btc verification crate from alpen (#20)
* chore: port btc verification crate from alpen * chore: update guest code Cargo.lock
1 parent 4f302ce commit b77b095

File tree

9 files changed

+1381
-9
lines changed

9 files changed

+1381
-9
lines changed

Cargo.lock

Lines changed: 22 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ resolver = "2"
33

44
members = [
55
"crates/common",
6+
"crates/btc-verification",
67
"crates/logs",
78
"crates/manifest-types",
89
"crates/msgs/bridge",
@@ -72,13 +73,13 @@ strata-asm-txs-checkpoint = { path = "crates/txs/checkpoint" }
7273
strata-asm-txs-checkpoint-v0 = { path = "crates/txs/checkpoint-v0" }
7374
strata-asm-txs-test-utils = { path = "crates/txs/test-utils" }
7475
strata-asm-worker = { path = "crates/worker" }
76+
strata-btc-verification = { path = "crates/btc-verification" }
7577

7678
# Dependencies from alpenlabs/alpen pinned to commit 787b804 (main @ 2026-03-17)
7779
# NOTE: keep `typed-sled` pinned in Cargo.lock to 9062bff for compatibility with this alpen rev.
7880
# Newer typed-sled commits can break transitive crates (e.g. `strata-db-store-sled`) in test builds.
7981
strata-bridge-types = { git = "https://github.com/alpenlabs/alpen.git", rev = "787b804c41800bbbf8d3632637a7eda332fc9f39" }
8082
strata-btc-types = { git = "https://github.com/alpenlabs/alpen.git", rev = "787b804c41800bbbf8d3632637a7eda332fc9f39" }
81-
strata-btc-verification = { git = "https://github.com/alpenlabs/alpen.git", rev = "787b804c41800bbbf8d3632637a7eda332fc9f39" }
8283
strata-checkpoint-types = { git = "https://github.com/alpenlabs/alpen.git", rev = "787b804c41800bbbf8d3632637a7eda332fc9f39" }
8384
strata-checkpoint-types-ssz = { git = "https://github.com/alpenlabs/alpen.git", rev = "787b804c41800bbbf8d3632637a7eda332fc9f39" }
8485
strata-codec-utils = { git = "https://github.com/alpenlabs/alpen.git", rev = "787b804c41800bbbf8d3632637a7eda332fc9f39" }

crates/btc-verification/Cargo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "strata-btc-verification"
3+
version = "0.1.0"
4+
edition = "2024"
5+
6+
[dependencies]
7+
strata-btc-types.workspace = true
8+
strata-crypto.workspace = true
9+
strata-identifiers.workspace = true
10+
11+
arbitrary.workspace = true
12+
bitcoin.workspace = true
13+
borsh.workspace = true
14+
serde.workspace = true
15+
thiserror.workspace = true
16+
17+
[dev-dependencies]
18+
strata-test-utils-btc.workspace = true
19+
20+
rand.workspace = true
21+
22+
[lints]
23+
workspace = true

0 commit comments

Comments
 (0)