Release 1.0.0-alpha.9
Pre-release
Pre-release
notmandatory
released this
15 Apr 20:48
·
488 commits
to master
since this release
Summary
This regular bi-weekly alpha release updates dependencies rust-bitcoin to v0.31.0 and rust-miniscript to v11.0.0 plus replaces the deprecated rust-miniscript function max_satisfaction_weight with max_weight_to_satisfy. It also adds chain module improvements needed to simplify syncing with electrum and esplora blockchain clients.
Changelog
Fixed
- Replace the deprecated max_satisfaction_weight from rust-miniscript to max_weight_to_satisfy. #1345
Changed
- Update dependencies: rust-bitcoin to v0.31.0 and rust-miniscript to v11.0.0. #1177
- Changed TxGraph to store transactions as Arc. This allows chain-sources to cheaply keep a copy of already-fetched transactions. #1373
- Add get and range methods to CheckPoint #1369
- Added get and range methods to CheckPoint (and in turn, LocalChain). This simulates an API where we have implemented a skip list of checkpoints (to implement in the future). This is a better API because we can query for any height or height range with just a checkpoint tip instead of relying on a separate checkpoint index (which needs to live in LocalChain).
- Changed LocalChain to have a faster Eq implementation. We now maintain an xor value of all checkpoint block hashes. We compare this xor value to determine whether two chains are equal.
- Added PartialEq implementation for CheckPoint and local_chain::Update.
- Methods into_tx_graph and into_confirmation_time_tx_graph for RelevantTxids are changed to no longer accept a seen_at parameter. #1385
- Added method update_last_seen_unconfirmed for TxGraph.
- Added proptest for CheckPoint::range. #1397
What's Changed
- Wrap transactions as
Arc<Transaction>
inTxGraph
by @evanlinjin in #1373 - fix: remove deprecated max_satisfaction_weight by @storopoli in #1345
- feat(chain): add
get
andrange
methods toCheckPoint
by @evanlinjin in #1369 - Fix last seen unconfirmed by @ValuedMammal in #1385
- Introduce proptesting, starting with
CheckPoint::range
by @evanlinjin in #1397 - Upgrade bitcoin/miniscript dependencies by @tcharding in #1177
- Bump bdk version to 1.0.0-alpha.9 by @notmandatory in #1404
Full Changelog: v1.0.0-alpha.8...v1.0.0-alpha.9