dgrcollector

package
v0.0.0-...-e845e7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	AppendData(formLeafBlockAndAppend dgrblock.DataSource) (resultingLeafBlock *dgrblock.Header)
	AppendBlock(blockToAppendToStream *dgrblock.Header)
	FlushState() (rootBlockAfterReducingAndDestroyingObjectState *dgrblock.Header)
}

type DaggerConfig

type DaggerConfig struct {
	ChunkerChainMaxResult int // used for initialization sanity checks
	ChainPosition         int // used for DAG-stats layering
	NodeEncoder           dgrencoder.NodeEncoder
	NextCollector         Collector
}

type Initializer

type Initializer func(
	collectorCLISubArgs []string,
	cfg *DaggerConfig,
) (instance Collector, initErrorStrings []string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL