Documentation ¶
Index ¶
- Variables
- func DeleteBlockMeta(newVer bool, ldb dbm.DB, ndb db.DB, height int64)
- func DeleteCommit(newVer bool, ldb dbm.DB, ndb db.DB, height int64)
- func DeleteNewBlockParts(ldb db.DB, block *types.Block, state *state.State)
- func DeleteOldBlockParts(ldb dbm.DB, block *his.Block, state *his.State)
- func LoadNewABCIResponse(ldb db.DB, height int64) *state.ABCIResponses
- func LoadNewBlock(ldb db.DB, height int64) *types.Block
- func LoadNewBlockCommit(ldb db.DB, height int64, prefix string) *types.Commit
- func LoadNewBlockHeight(ldb db.DB) int64
- func LoadNewBlockMeta(ldb db.DB, height int64) *types.BlockMeta
- func LoadNewBlockPart(ldb db.DB, height int64, index int) *types.Part
- func LoadNewBlockStoreStateJSON(ldb db.DB) blockchain.BlockStoreStateJSON
- func LoadNewConsensusParamsInfo(ldb db.DB, height int64) *state.ConsensusParamsInfo
- func LoadNewGenesisDoc(db db.DB) *types.GenesisDoc
- func LoadNewState(ldb db.DB) *state.State
- func LoadNewValidatorsInfo(ldb db.DB, height int64) *state.ValidatorsInfo
- func SaveNewBlockMeta2(batch db.Batch, height int64, blockMeta *types.BlockMeta)
- func SaveNewBlockPart2(batch db.Batch, height int64, index int, part *types.Part)
- func SaveNewBlockParts2(batch db.Batch, height int64, block *types.Block, state *state.State)
- func SaveNewBlockStoreStateJSON(ldb db.DB, totalHeight int64)
- func SaveNewBlockStoreStateJSON2(batch db.Batch, totalHeight int64)
- func SaveNewCommit2(batch db.Batch, height int64, prefix string, commit *types.Commit)
- func SaveNewEvidence(batch db.Batch, key []byte, ei *evidence.EvidenceInfo)
- func SaveNewGenesisDoc(ldb db.DB, genDoc *types.GenesisDoc)
- func SaveNewState(ldb db.DB, s *state.State)
- func SaveOldState(ldb dbm.DB, s *his.State)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BlockStoreKey = "blockStore" StateKey = "stateKey" GenesisDoc = "genesisDoc" ABCIResponsesKey = "abciResponsesKey" ConsensusParamsKey = "consensusParamsKey" ValidatorsKey = "validatorsKey" )
Functions ¶
func DeleteNewBlockParts ¶
func LoadNewABCIResponse ¶
func LoadNewABCIResponse(ldb db.DB, height int64) *state.ABCIResponses
ABCIResponse
func LoadNewBlockCommit ¶
block commit
func LoadNewBlockMeta ¶
block header
func LoadNewBlockPart ¶
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 LoadNewValidatorsInfo ¶
func LoadNewValidatorsInfo(ldb db.DB, height int64) *state.ValidatorsInfo
func SaveNewBlockMeta2 ¶
func SaveNewBlockPart2 ¶
func SaveNewBlockParts2 ¶
func SaveNewCommit2 ¶
func SaveNewEvidence ¶
func SaveNewEvidence(batch db.Batch, key []byte, ei *evidence.EvidenceInfo)
Evidence
func SaveNewGenesisDoc ¶
func SaveNewGenesisDoc(ldb db.DB, genDoc *types.GenesisDoc)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.