Ran
|
Jobs
1
|
Files
39
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1172: Introduce block-by-block API to `bdk::Wallet` and add RPC wallet example a4f28c079 chore: improve LocalChain::apply_header_connected_to doc (LLFourn) 8ec65f0b8 feat(example): add RPC wallet example (Vladimir Fomene) a7d01dc39 feat(chain)!: make `IndexedTxGraph::apply_block_relevant` more efficient (志宇) e0512acf9 feat(bitcoind_rpc)!: emissions include checkpoint and connected_to data (志宇) 8f2d4d9d4 test(chain): `LocalChain` test for update that is shorter than original (志宇) 9467cad55 feat(wallet): introduce block-by-block api (Vladimir Fomene) d3e5095df feat(chain): add `apply_header..` methods to `LocalChain` (志宇) 2b61a122f feat(chain): add `CheckPoint::from_block_ids` convenience method (志宇) Pull request description: ### Description Introduce block-by-block API for `bdk::Wallet`. A `wallet_rpc` example is added to demonstrate syncing `bdk::Wallet` with the `bdk_bitcoind_rpc` chain-source crate. The API of `bdk_bitcoind_rpc::Emitter` is changed so the receiver knows how to connect to the block emitted. ### Notes to the reviewers ### Changelog notice Added * `Wallet` methods to apply full blocks (`apply_block` and `apply_block_connected_to`) and a method to apply a batch of unconfirmed transactions (`apply_unconfirmed_txs`). * `CheckPoint::from_block_ids` convenience method. * `LocalChain` methods to apply a block header (`apply_header` and `apply_header_connected_to`). * Test to show that `LocalChain` can apply updates that are shorter than original. This will happen during reorgs if we sync wallet with `bdk_bitcoind_rpc::Emitter`. Fixed * `InsertTxError` now implements `std::error::Error`. #### All Submissions: * [x] I've signed all my com... (continued)
8976 of 11240 relevant lines covered (79.86%)
5912.23 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7585553946.1 | 39 |
79.86 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|