Categorygithub.com/ETHFSx/go-blockservice
modulepackage
0.1.5-rc.1
Repository: https://github.com/ethfsx/go-blockservice.git
Documentation: pkg.go.dev

# README

go-blockservice

Coverage Status Build Status

go-blockservice provides a seamless interface to both local and remote storage backends.

Lead Maintainer

Steven Allen

Table of Contents

TODO

The interfaces here really would like to be merged with the blockstore interfaces. The 'dagservice' constructor currently takes a blockservice, but it would be really nice if it could just take a blockstore, and have this package implement a blockstore.

Contribute

PRs are welcome!

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © Juan Batiz-Benet

# Packages

No description provided by the author

# Functions

NewBlockService creates a BlockService with given datastore instance.
NewSession creates a new session that allows for controlled exchange of wantlists to decrease the bandwidth overhead.
NewWriteThrough ceates a BlockService that guarantees writes will go through to the blockstore and are not skipped by cache checks.

# Variables

No description provided by the author

# Structs

Session is a helper type to provide higher level access to bitswap sessions.

# Interfaces

BlockGetter is the common interface shared between blockservice sessions and the blockservice.
BlockService is a hybrid block datastore.