]> Untitled Git - bdk/commit
fix: docs and some minor refactoring
author志宇 <hello@evanlinjin.me>
Sat, 22 Jul 2023 08:36:31 +0000 (16:36 +0800)
committer志宇 <hello@evanlinjin.me>
Fri, 28 Jul 2023 03:30:17 +0000 (11:30 +0800)
commit95312d4d05618b4c464acc0fdff49fb17405ec88
treed81e48ef40657a34ac4ca34f3f62c2e1641cfd84
parent8bf7a997f70fdffd072fd37e12c385e731728c5a
fix: docs and some minor refactoring

Shout out to @LLFourn for these suggestions.

* Improve/fix `LocalChain` documentation
* Refactor `TxGraph::missing_blocks` to make it more explicit that
  `last_block` has state.
* `update_local_chain` method of `EsploraExt` and `EsploraAsyncExt` now
  returns a `local_chain::Update` instead of just a `CheckPoint`.
crates/chain/src/local_chain.rs
crates/chain/src/tx_graph.rs
crates/chain/tests/test_indexed_tx_graph.rs
crates/esplora/src/blocking_ext.rs