We introduce Taproot support in the test framework through a global toggle. A few modifications are made to some tests to adapt them under Taproot (notably the hardcoded fees / amounts). This is based on my introduction of a quick and dirty support for TapMiniscript in my python-bip380 library: https://github.com/darosior/python-bip380/pull/23. In addition to this i didn't want to implement a signer in the Python test suite so here we introduce a simple Rust program based on our "hot signer" which will sign a PSBT with an xpriv provided through its stdin and output the signed PSBT on its stdout. Eventually it would be nicer to have a Python signer instead of having to call a program. The whole test suite should pass under both Taproot and P2WSH. Only a single test is skipped for now under Taproot since it needs a finalizer in the test suite. I also caught a bug in the RBF tests which i fixed in place.
91 lines
2.4 KiB
TOML
91 lines
2.4 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 3
|
|
|
|
[[package]]
|
|
name = "base64"
|
|
version = "0.21.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
|
|
|
|
[[package]]
|
|
name = "bech32"
|
|
version = "0.10.0-beta"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "98f7eed2b2781a6f0b5c903471d48e15f56fb4e1165df8a9a2337fd1a59d45ea"
|
|
|
|
[[package]]
|
|
name = "bitcoin"
|
|
version = "0.31.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "fd00f3c09b5f21fb357abe32d29946eb8bb7a0862bae62c0b5e4a692acbbe73c"
|
|
dependencies = [
|
|
"base64",
|
|
"bech32",
|
|
"bitcoin-internals",
|
|
"bitcoin_hashes",
|
|
"hex-conservative",
|
|
"hex_lit",
|
|
"secp256k1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bitcoin-internals"
|
|
version = "0.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb"
|
|
|
|
[[package]]
|
|
name = "bitcoin_hashes"
|
|
version = "0.13.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b"
|
|
dependencies = [
|
|
"bitcoin-internals",
|
|
"hex-conservative",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.0.86"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7f9fa1897e4325be0d68d48df6aa1a71ac2ed4d27723887e7754192705350730"
|
|
|
|
[[package]]
|
|
name = "hex-conservative"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "30ed443af458ccb6d81c1e7e661545f94d3176752fb1df2f543b902a1e0f51e2"
|
|
|
|
[[package]]
|
|
name = "hex_lit"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3011d1213f159867b13cfd6ac92d2cd5f1345762c63be3554e84092d85a50bbd"
|
|
|
|
[[package]]
|
|
name = "secp256k1"
|
|
version = "0.28.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10"
|
|
dependencies = [
|
|
"bitcoin_hashes",
|
|
"secp256k1-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "secp256k1-sys"
|
|
version = "0.9.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb"
|
|
dependencies = [
|
|
"cc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "taproot_signer"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bitcoin",
|
|
]
|