From 0398ef8f489b809496f01823d1ff55a6154525ea Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 11 Dec 2019 23:10:22 +0100 Subject: [PATCH] Update changelog for v0.22.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb0768ca..0676554b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,34 @@ +# 0.22.0 - 2019-12-11 + +- Add `ServiceFlags` type. +- Add `NetworkMessage::command`. +- Add `key::Error`. +- Add newtypes for specific hashes: + - `Txid` + - `Wtxid` + - `BlockHash` + - `SigHash` + - `PubkeyHash` + - `ScriptHash` + - `WPubkeyHash` + - `WScriptHash` + - `TxMerkleNode` + - `WitnessMerkleNode` + - `WitnessCommitment` + - `XpubIdentifier` + - `FilterHash` +- Refactor `CommandString`. +- Refactor `Reject` message. +- Rename `RejectReason` enum variants. +- Refactor `encode::Error`. +- Implement `Default` for `TxIn`. +- Implement `std::hash::Hash` for `Inventory`. +- Implement `Copy` for `InvType` enum. +- Use `psbt::Error` in `PartiallySignedTransaction::from_unsigned_tx`. +- Drop message decode max length to 4_000_000. +- Drop `hex` and `byteorder` dependencies. + # 0.21.0 - 2019-10-02 * Add [serde to `BlockHeader` and `Block`](https://github.com/rust-bitcoin/rust-bitcoin/pull/321)