package
0.38.0-preview.0
Repository: https://github.com/onflow/flow-go.git
Documentation: pkg.go.dev

# Functions

AuthorizedRequester returns a callback function used by bitswap to authorize block requests A request is authorized if the peer is * known by the identity provider * not ejected * an Access node * in the allowedNodes list (if non-empty).
NewBlobService creates a new BlobService.
No description provided by the author
WithBitswapOptions sets additional options for Bitswap exchange.
WithHashOnRead sets whether the blobstore will rehash the blob data on read When set, calls to GetBlob will fail with an error if the hash of the data in storage does not match its CID.
WithParentBlobService configures the blob service to use the parent's blockstore.
WithRateLimit sets a rate limit on reads from the underlying datastore that allows up to r bytes per second and permits bursts of at most b bytes.
WithReprovideInterval sets the interval at which DHT provider entries are refreshed.

# Constants

DefaultReprovideInterval is the default interval at which DHT provider entries are refreshed.

# Structs

No description provided by the author
No description provided by the author