Previously, we would update the `TxGraph` and `KeychainTxOutIndex` first, then create a second update for `LocalChain`. This required locking the receiving structures 3 times (instead of twice, which is optimal). This PR eliminates this requirement by making use of the new `query` method of `CheckPoint`. Examples are also updated to use the new API.
BDK TestEnv
This crate sets up a regtest environment with a single [bitcoind
] node
connected to an [electrs
] instance. This framework provides the infrastructure
for testing chain source crates, e.g., [bdk_chain
], [bdk_electrum
],
[bdk_esplora
], etc.