Ran
|
Jobs
1
|
Files
44
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1486: refactor(chain): calculate DescriptorId as the sha256 hash of the spk at index 0 <a class=hub.com/bitcoindevkit/bdk/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk/commit/8f5b172e59b4d5e199b98777855b0d9b46742f66">8f5b172e5<a href="https://github.com/bitcoindevkit/bdk/commit/22368ab7b08582614f58a1cd19d6df1996d308e6"> test(wallet): verify wallet panics in dev mode if using keychains with duplicate spks (Steve Myers) <a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/46c6f18cc3ff71efda2b8547aa32854f9b88762e">46c6f18cc</a> refactor(chain): calculate DescriptorId as sha256 hash of spk at index 0 (Steve Myers) Pull request description: ### Description Rename `DescriptorId` to `KeychainId` and `descriptor_id()` to `keychain_id()`. Calculate keychain ids as the hash of the spk derived from its descriptor as index 0. Added docs to `Wallet` and `KeychainTxOutIndex::insert_descriptor()` explaining that it's the users responsibility not to use wildcard and non-wildcard descriptors that can derive the same script pubkey. I also recommended for `Wallet` that legacy non-wildcard descriptors be added to a temporary `Wallet` and swept into a modern wildcard descriptor. ### Notes to the reviewers fixes #1483 ### Changelog notice changed - Renamed DescriptorId to KeychainId, DescriptorExt::descriptor_id() to keychain_id(). ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [x] I'm linking the issue being fixed by this PR ACKs for top commit: LLFourn: ACK 8f5b172e59b4d5e199b98777855b0d9b46742f66 oleonardolima: Concept ACK 8f5b172e59b4d5e199b98777855b0d9b46742f66 Tree-SHA512: 07defa208cc4949f6094dc5ef13563f52d4
2 of 2 new or added lines in 1 file covered. (100.0%)
11047 of 13305 relevant lines covered (83.03%)
17009.55 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 9719292497.1 | 44 |
83.03 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|