]> Untitled Git - bdk/commit
[bdk_chain_redesign] Test `LocalChain`
author志宇 <hello@evanlinjin.me>
Thu, 20 Apr 2023 07:29:20 +0000 (15:29 +0800)
committer志宇 <hello@evanlinjin.me>
Thu, 20 Apr 2023 07:29:20 +0000 (15:29 +0800)
commit1003fe2ee6167e110b0195e2431560b5b222e2f1
treea7fc9f3ecbf8660dd315aa05c4802d76e501ea39
parent7175a82c04b0a3f0c5716f4a37e122da70b8ceac
[bdk_chain_redesign] Test `LocalChain`

This is mostly copying over the relevant tests from `SparseChain`.
Changes are made to `local_chain::ChangeSet` to re-add the ability to
remove blocks.
crates/chain/src/local_chain.rs
crates/chain/tests/common/mod.rs
crates/chain/tests/test_local_chain.rs [new file with mode: 0644]