cvm

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownBlockType = errors.New("unknown block type")
)

Functions

This section is empty.

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(conns *services.Connections, networkID uint32, chainID string) (*Writer, error)

func (*Writer) Bootstrap

func (w *Writer) Bootstrap(ctx context.Context) error

func (*Writer) Consume

func (w *Writer) Consume(ctx context.Context, c services.Consumable, blockHeader *types.Header, persist services.Persist) error

func (*Writer) Name

func (*Writer) Name() string

Jump to

Keyboard shortcuts

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