Derive useful traits on `BlockFilter`

This commit is contained in:
Alexis Sellier 2020-10-11 22:25:38 +02:00
parent 926cff0741
commit 210ff9edc7
No known key found for this signature in database
GPG Key ID: 3E3C1B6185AC4475
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>