Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DagServiceSubmodule ¶
type DagServiceSubmodule struct { // dagservice is a higher level interface for fetching data Blockservice bserv.BlockService Dag *dag.DAG }
DagServiceSubmodule enhances the `Node` with networked key/value fetching capabilities. - `BlockService` is shared by chain/graphsync and piece/bitswap data
func NewDagserviceSubmodule ¶
func NewDagserviceSubmodule(ctx context.Context, dagCfg dagConfig, network *network.NetworkSubmodule) (*DagServiceSubmodule, error)
NewDagserviceSubmodule creates a new block service submodule.
func (*DagServiceSubmodule) API ¶
func (blockService *DagServiceSubmodule) API() IDagService
func (*DagServiceSubmodule) V0API ¶
func (blockService *DagServiceSubmodule) V0API() IDagService
type IDagService ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.