snapshot

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockSize = 10000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Data []*KeyValue
}

func (*Block) Add

func (sb *Block) Add(key, value []byte)

func (*Block) Full

func (sb *Block) Full() bool

type KeyValue

type KeyValue struct {
	Key   []byte
	Value []byte
}

type Manifest

type Manifest struct {
	Root   common.Hash
	Height uint64
	Cid    []byte
}

Jump to

Keyboard shortcuts

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