Documentation ¶
Index ¶
- Variables
- func CopyFile(dstName, srcName string) (written int64, err error)
- func FileNameNoExt(fpath string) string
- func LoadAbciResps(ldb dbm.DB) *state.ABCIResponses
- func LoadNewBlock(ldb dbm.DB, height int) *types.Block
- func LoadNewBlockCommit(ldb dbm.DB, height int, prefix string) *types.Commit
- func LoadNewBlockMeta(ldb dbm.DB, height int) *types.BlockMeta
- func LoadNewBlockPart(ldb dbm.DB, height int, index int) *types.Part
- func LoadNewState(ldb dbm.DB) *state.State
- func LoadOldBlock(ldb dbm.DB, height int) *old.Block
- func LoadOldBlockCommit(ldb dbm.DB, height int, prefix string) *old.Commit
- func LoadOldBlockMeta(ldb dbm.DB, height int) *old.BlockMeta
- func LoadOldBlockPart(ldb dbm.DB, height int, index int) *old.Part
- func LoadOldBlockStoreStateJSON(ldb dbm.DB) old.BlockStoreStateJSON
- func LoadOldState(ldb dbm.DB) *old.State
- func SaveNewBlockMeta(ldb dbm.DB, height int, blockMeta *types.BlockMeta)
- func SaveNewBlockMeta2(batch dbm.Batch, height int, blockMeta *types.BlockMeta)
- func SaveNewBlockPart(ldb dbm.DB, height int, index int, part *types.Part)
- func SaveNewBlockPart2(batch dbm.Batch, height int, index int, part *types.Part)
- func SaveNewBlockParts(ldb dbm.DB, height int, block *types.Block)
- func SaveNewBlockParts2(batch dbm.Batch, height int, block *types.Block)
- func SaveNewBlockStoreStateJSON(ldb dbm.DB, totalHeight int)
- func SaveNewBlockStoreStateJSON2(batch dbm.Batch, totalHeight int)
- func SaveNewCommit(ldb dbm.DB, height int, prefix string, commit *types.Commit)
- func SaveNewCommit2(batch dbm.Batch, height int, prefix string, commit *types.Commit)
- func SaveNewState(ldb dbm.DB, s *state.State)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BlockStoreKey = "blockStore" StateKey = "stateKey" AbciResponsesKey = "abciResponsesKey" )
Functions ¶
func FileNameNoExt ¶
func LoadNewBlockCommit ¶
commit
func LoadOldBlockCommit ¶
func LoadOldBlockStoreStateJSON ¶
func LoadOldBlockStoreStateJSON(ldb dbm.DB) old.BlockStoreStateJSON
blockstore json
func SaveNewBlockMeta2 ¶
func SaveNewBlockPart2 ¶
func SaveNewCommit ¶
func SaveNewCommit2 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.