snapshot

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 7 Imported by: 10

Documentation

Index

Constants

View Source
const SNAPDIR = "./snapdir"

Variables

View Source
var DefaultConfig = Config{
	DataDir: "",
	Name:    "snapshot.db",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	DataDir string
	Name    string
}

type SnapshotData

type SnapshotData struct {
	CoinTries []state.CoinTrie
	Td        *big.Int
	Block     types.Block
}

type SnapshotDatas

type SnapshotDatas struct {
	Datas      []SnapshotData
	OtherTries [][]state.CoinTrie
}

Jump to

Keyboard shortcuts

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