Registry / crypto / decred-dcrd-gcs

decred-dcrd-gcs

JSON →
librarygogounverified

Package gcs provides an API for building and using a Golomb-coded set filter.

go get github.com/decred/dcrd/gcs
INSTALL
IMPORT
SIG · DECRED-DCRD-GCS
D
decred-dcrd-gcs
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

Creates a new GCS filter and checks for an item.

package main import ( "fmt" "github.com/decred/dcrd/gcs" ) func main() { filter, _ := gcs.NewFilter(20, []byte("key"), [][]byte{[]byte("item")}) fmt.Println(filter.Match([]byte("item"))) }
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
16 hits · last 30 days
node
14
Resources
decred-dcrd-gcs — go get decred-dcrd-gcs · libregistry