Registry / crypto / decred-dcrd-gcs-v2

decred-dcrd-gcs-v2

JSON →
librarygogounverified

Provides an API for building and using a Golomb-coded set filter.

go get github.com/decred/dcrd/gcs/v2
INSTALL
IMPORT
SIG · DECRED-DCRD-GCS-V2
D
decred-dcrd-gcs-v2
cryptogo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gcs
github.com/decred/dcrd/gcs/v2

Create a GCS filter and check if an element matches.

package main import ( "fmt" "github.com/decred/dcrd/gcs/v2" ) func main() { filter, err := gcs.NewFilter(10, []byte("key"), [][]byte{[]byte("data")}) if err != nil { panic(err) } fmt.Println(filter.Match([]byte("data"))) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
decred-dcrd-gcs-v2 — go get decred-dcrd-gcs-v2 · libregistry