hold

package
v0.0.0-...-a3b524e Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BlockStoreKey      = "blockStore"
	StateKey           = "stateKey"
	GenesisDoc         = "genesisDoc"
	ABCIResponsesKey   = "abciResponsesKey"
	ConsensusParamsKey = "consensusParamsKey"
	ValidatorsKey      = "validatorsKey"
)

Functions

func DeleteBlockMeta

func DeleteBlockMeta(newVer bool, ldb dbm.DB, ndb db.DB, height int64)

func DeleteCommit

func DeleteCommit(newVer bool, ldb dbm.DB, ndb db.DB, height int64)

func DeleteNewBlockParts

func DeleteNewBlockParts(ldb db.DB, block *types.Block, state *state.State)

func DeleteOldBlockParts

func DeleteOldBlockParts(ldb dbm.DB, block *his.Block, state *his.State)

func LoadNewABCIResponse

func LoadNewABCIResponse(ldb db.DB, height int64) *state.ABCIResponses

ABCIResponse

func LoadNewBlock

func LoadNewBlock(ldb db.DB, height int64) *types.Block

block

func LoadNewBlockCommit

func LoadNewBlockCommit(ldb db.DB, height int64, prefix string) *types.Commit

block commit

func LoadNewBlockHeight

func LoadNewBlockHeight(ldb db.DB) int64

blockstore

func LoadNewBlockMeta

func LoadNewBlockMeta(ldb db.DB, height int64) *types.BlockMeta

block header

func LoadNewBlockPart

func LoadNewBlockPart(ldb db.DB, height int64, index int) *types.Part

block part

func LoadNewBlockStoreStateJSON

func LoadNewBlockStoreStateJSON(ldb db.DB) blockchain.BlockStoreStateJSON

func LoadNewConsensusParamsInfo

func LoadNewConsensusParamsInfo(ldb db.DB, height int64) *state.ConsensusParamsInfo

func LoadNewGenesisDoc

func LoadNewGenesisDoc(db db.DB) *types.GenesisDoc

func LoadNewState

func LoadNewState(ldb db.DB) *state.State

state

func LoadNewValidatorsInfo

func LoadNewValidatorsInfo(ldb db.DB, height int64) *state.ValidatorsInfo

func SaveNewBlockMeta2

func SaveNewBlockMeta2(batch db.Batch, height int64, blockMeta *types.BlockMeta)

func SaveNewBlockPart2

func SaveNewBlockPart2(batch db.Batch, height int64, index int, part *types.Part)

func SaveNewBlockParts2

func SaveNewBlockParts2(batch db.Batch, height int64, block *types.Block, state *state.State)

func SaveNewBlockStoreStateJSON

func SaveNewBlockStoreStateJSON(ldb db.DB, totalHeight int64)

func SaveNewBlockStoreStateJSON2

func SaveNewBlockStoreStateJSON2(batch db.Batch, totalHeight int64)

func SaveNewCommit2

func SaveNewCommit2(batch db.Batch, height int64, prefix string, commit *types.Commit)

func SaveNewEvidence

func SaveNewEvidence(batch db.Batch, key []byte, ei *evidence.EvidenceInfo)

Evidence

func SaveNewGenesisDoc

func SaveNewGenesisDoc(ldb db.DB, genDoc *types.GenesisDoc)

func SaveNewState

func SaveNewState(ldb db.DB, s *state.State)

func SaveOldState

func SaveOldState(ldb dbm.DB, s *his.State)

Types

This section is empty.

Jump to

Keyboard shortcuts

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