diff --git a/src/util/bip158.rs b/src/util/bip158.rs index b38b9680..ef102ce6 100644 --- a/src/util/bip158.rs +++ b/src/util/bip158.rs @@ -135,7 +135,9 @@ impl BlockFilter { Ok(BlockFilter { content: out }) } - /// compute this filter's id in a chain of filters + /// Computes this filter's ID in a chain of filters (see [BIP 157]). + /// + /// [BIP 157]: pub fn filter_header(&self, previous_filter_header: &FilterHeader) -> FilterHeader { let filter_hash = FilterHash::hash(self.content.as_slice()); filter_hash.filter_header(previous_filter_header)