From: Daniela Brozzoni Date: Mon, 15 Jan 2024 12:56:48 +0000 (+0100) Subject: Merge bitcoindevkit/bdk#1276: Add `LocalChain::disconnect_from` method X-Git-Tag: v1.0.0-alpha.4~3 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.EncodeError.html?a=commitdiff_plain;h=40f0765d302861a61772b014f9ebe0d252909d09;p=bdk Merge bitcoindevkit/bdk#1276: Add `LocalChain::disconnect_from` method bf67519768d91b049bf3a47c234ff71a81d0ede9 feat(chain): add `LocalChain::disconnect_from` method (志宇) Pull request description: Closes #1271 ### Description Add a method for disconnecting a chain of blocks starting from the given `BlockId`. ### Notes to the reviewers I want to have this for https://github.com/utreexo/utreexod/pull/110 ### Changelog notice Added * `LocalChain::disconnect_from` method to evict a chain of blocks starting from a given `BlockId`. ### 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 ACKs for top commit: danielabrozzoni: ACK bf67519768d91b049bf3a47c234ff71a81d0ede9 Tree-SHA512: e6bd213b49b553355370994567722ad2c3460d11fcd81adc65a85e5d03822d3c38e4a4d7f967044991cf0187845467b67d035bf8904871f9fcc4ea61be761ef7 --- 40f0765d302861a61772b014f9ebe0d252909d09