Merge rust-bitcoin/rust-bitcoin#2131: encode: Implement encoding traits on Vec<BlockHeader>
10c1f7b9c6
encode: Implement encoding traits on Vec<BlockHeader> (Steven Roose) Pull request description: ACKs for top commit: clarkmoody: ACK10c1f7b9c6
apoelstra: ACK10c1f7b9c6
vincenzopalazzo: ACK10c1f7b9c6
Tree-SHA512: 32182f4b18a2e4aee20efc4c649827be4e2f61991fae48d7e1360e2c8224bcd98ef89391b50ec2d4e12a720daf7350ca0beb23094153313b668a54cee9cda278
This commit is contained in:
commit
fe07c13bcc
|
@ -22,6 +22,7 @@ use hashes::{sha256, sha256d, Hash};
|
|||
use internals::write_err;
|
||||
|
||||
use crate::bip152::{PrefilledTransaction, ShortId};
|
||||
use crate::blockdata::block;
|
||||
use crate::blockdata::transaction::{Transaction, TxIn, TxOut};
|
||||
use crate::hash_types::{BlockHash, FilterHash, FilterHeader, TxMerkleNode};
|
||||
use crate::io::{self, Cursor, Read};
|
||||
|
@ -626,6 +627,7 @@ macro_rules! impl_vec {
|
|||
};
|
||||
}
|
||||
impl_vec!(BlockHash);
|
||||
impl_vec!(block::Header);
|
||||
impl_vec!(FilterHash);
|
||||
impl_vec!(FilterHeader);
|
||||
impl_vec!(TxMerkleNode);
|
||||
|
|
Loading…
Reference in New Issue