Ran
|
Files
48
|
Run time
1s
|
Badge
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1477: feat(wallet): add transactions_sort_by function 83a0247e8 feat(wallet): add transactions_sort_by function (Steve Myers) Pull request description: ### Description Added new type alias `WalletTx` which represents a `CanonicalTx<'a, Arc<Transaction>, ConfirmationTimeHeightAnchor>` and new `Wallet::transactions_sort_by` that returns a `Vec<WalletTx>` sorted by the given compare function. ### Notes to the reviewers fixes #794 ### Changelog notice * Add new type alias `WalletTx` which represents a `CanonicalTx<'a, Arc<Transaction>, ConfirmationTimeHeightAnchor>`. * Add `Wallet::transactions_sort_by()` that returns a `Vec<WalletTx>` sorted by a given compare function. ### 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 #### New Features: * [x] I've added tests for the new feature * [x] I've added docs for the new feature Top commit has no ACKs. Tree-SHA512: 5758b5edf3da2585104b907644fd4b0f4d3
11224 of 13680 relevant lines covered (82.05%)
13632.08 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|