dcrd/gcs/blockcf
Dave Collins 90d2deb420
gcs: Add filter version support.
This refactors the primary gcs filter logic into an internal struct with
a version parameter in in order to pave the way for supporting v2
filters which will have a different serialization that makes them
incompatible with v1 filters while still retaining the ability to work
with v1 filters in the interim.

The exported type is renamed to FilterV1 and the new internal struct is
embedded so its methods are externally available.

The tests and all callers in the repo have been updated accordingly.
2019-08-20 23:43:23 -05:00
..
bench_test.go gcs: Add benchmark for AddSigScript. 2019-07-29 13:09:49 -05:00
blockcf.go gcs: Add filter version support. 2019-08-20 23:43:23 -05:00
README.md multi: Use https links where available. 2019-06-18 14:20:06 -05:00

blockcf

GoDoc

Package blockcf provides functions to build committed filters from blocks. Unlike the gcs package, which is a general implementation of golomb coded sets, this package is tailored for specific filter creation for Decred blocks.