]> Untitled Git - bdk/commit
refactor(chain): calculate DescriptorId as sha256 hash of spk at index 0
authorSteve Myers <steve@notmandatory.org>
Tue, 25 Jun 2024 15:51:51 +0000 (10:51 -0500)
committerSteve Myers <steve@notmandatory.org>
Thu, 27 Jun 2024 12:56:08 +0000 (07:56 -0500)
commit46c6f18cc3ff71efda2b8547aa32854f9b88762e
treed100b077d192f9a38c71b0b3dad34da9634ed413
parent6dab68d35b60713448c17a9784adaf660057c53f
refactor(chain): calculate DescriptorId as sha256 hash of spk at index 0

Also update docs to explain how KeychainTxOutIndex handles descriptors that
generate the same spks.
crates/chain/src/descriptor_ext.rs
crates/chain/src/keychain/txout_index.rs
crates/wallet/src/wallet/mod.rs