Merge pull request #500 from cloudhead/cloudhead/block-filter-derive

BlockFilter `Clone`, `Debug` etc. derives
This commit is contained in:
Steven Roose 2020-10-14 15:44:06 +02:00 committed by GitHub
commit 084fef0022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ impl From<io::Error> for Error {
/// a computed or read block filter /// a computed or read block filter
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct BlockFilter { pub struct BlockFilter {
/// Golomb encoded filter /// Golomb encoded filter
pub content: Vec<u8> pub content: Vec<u8>