]> Untitled Git - bdk/commit
feat(chain): add `apply_header..` methods to `LocalChain`
author志宇 <hello@evanlinjin.me>
Wed, 10 Jan 2024 16:05:04 +0000 (00:05 +0800)
committer志宇 <hello@evanlinjin.me>
Mon, 15 Jan 2024 16:27:00 +0000 (00:27 +0800)
commitd3e5095df10d21ff5cb7f8ce4dab7922f3cb6e35
tree9c860244e1d6a0450714b5e64dca2c0eb79938e9
parent2b61a122ff40253f2e67c0ae6824ce881c9f12a1
feat(chain): add `apply_header..` methods to `LocalChain`

These are convenience methods to transform a header into checkpoints to
update the `LocalChain` with. Tests are included.
crates/chain/src/local_chain.rs
crates/chain/tests/test_local_chain.rs