From 210ff9edc74d1ea152ecde6983b783898b7570b9 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Sun, 11 Oct 2020 22:25:38 +0200 Subject: [PATCH] Derive useful traits on `BlockFilter` --- src/util/bip158.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/bip158.rs b/src/util/bip158.rs index 0493df96..c556888c 100644 --- a/src/util/bip158.rs +++ b/src/util/bip158.rs @@ -94,6 +94,7 @@ impl From for Error { /// a computed or read block filter +#[derive(Debug, Clone, PartialEq, Eq)] pub struct BlockFilter { /// Golomb encoded filter pub content: Vec