Documentation
¶
Index ¶
- func CvtConsensusParams(old *his.ConsensusParams) types.ConsensusParams
- func CvtConsensusParamsInfo(old *his.ConsensusParamsInfo) *state.ConsensusParamsInfo
- func CvtNewEvidence(old his.Evidence) types.Evidence
- func CvtNewPrivKey(old gco.PrivKey) crypto.PrivKey
- func CvtNewPubKey(old gco.PubKey) crypto.PubKey
- func CvtNewSignature(old gco.Signature) []byte
- func CvtNewVote(old *his.Vote) *types.Vote
- func CvtValidatorsInfo(old *his.ValidatorsInfo) *state.ValidatorsInfo
- func DeleteABCIResponse(newVer bool, ldb dbm.DB, ndb db.DB, height int64)
- func DeleteConsensusParam(newVer bool, ldb dbm.DB, ndb db.DB, height int64)
- func DeleteValidator(newVer bool, ldb dbm.DB, ndb db.DB, height int64)
- func GetReader(ldb dbm.DB, key []byte) io.Reader
- func InitState(ldb dbm.DB) *state.State
- func LoadOldABCIResponse(db dbm.DB, height int64) *his.ABCIResponses
- func LoadOldBlock(ldb dbm.DB, height int64) *oldtype.Block
- func LoadOldBlockCommit(ldb dbm.DB, height int64, prefix string) *otp.Commit
- func LoadOldBlockMeta(ldb dbm.DB, height int64) *oldtype.BlockMeta
- func LoadOldBlockPart(ldb dbm.DB, height int64, index int) *oldtype.Part
- func LoadOldBlockStoreStateJSON(ldb dbm.DB) oldtype.BlockStoreStateJSON
- func LoadOldConsensusParamsInfo(db dbm.DB, height int64) *his.ConsensusParamsInfo
- func LoadOldGenesisDoc(db dbm.DB) *otp.GenesisDoc
- func LoadOldState(ldb dbm.DB) *oldtype.State
- func LoadOldTotalHeight(ldb dbm.DB) int64
- func LoadOldValidatorsInfo(db dbm.DB, height int64) *his.ValidatorsInfo
- func NewBlockFromOld(ldb dbm.DB, height int64, lastBlockID *types.BlockID) *types.Block
- func NewCommit(oCommit *otp.Commit, block *types.Block) *types.Commit
- func NewData(o *his.Data) types.Data
- func NewHeader(o *his.Header, lastBlockId *types.BlockID) types.Header
- func NewSeenCommit(ldb dbm.DB, block *types.Block) *types.Commit
- func NewValidatorSet(oldValSet *his.ValidatorSet) *types.ValidatorSet
- func SaveNewABCIResponse(ldb dbm.DB, ndb db.DB, height int64)
- func SaveNewConsensusParams(ldb dbm.DB, ndb db.DB, height int64)
- func SaveNewValidators(ldb dbm.DB, ndb db.DB, height int64)
- func SaveOldBlockStoreStateJson(db dbm.DB, bsj his.BlockStoreStateJSON)
- func UpgradeGenesisJSON(oFile, nFile string) string
- func UpgradePrivValidatorJson(oFile, nFile string) (string, *privval.FilePV)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CvtConsensusParams ¶
func CvtConsensusParams(old *his.ConsensusParams) types.ConsensusParams
func CvtConsensusParamsInfo ¶
func CvtConsensusParamsInfo(old *his.ConsensusParamsInfo) *state.ConsensusParamsInfo
func CvtNewSignature ¶
func CvtValidatorsInfo ¶
func CvtValidatorsInfo(old *his.ValidatorsInfo) *state.ValidatorsInfo
func DeleteConsensusParam ¶
func LoadOldABCIResponse ¶
func LoadOldABCIResponse(db dbm.DB, height int64) *his.ABCIResponses
func LoadOldBlockCommit ¶
func LoadOldBlockStoreStateJSON ¶
func LoadOldBlockStoreStateJSON(ldb dbm.DB) oldtype.BlockStoreStateJSON
func LoadOldConsensusParamsInfo ¶
func LoadOldConsensusParamsInfo(db dbm.DB, height int64) *his.ConsensusParamsInfo
func LoadOldGenesisDoc ¶
func LoadOldGenesisDoc(db dbm.DB) *otp.GenesisDoc
func LoadOldTotalHeight ¶
func LoadOldValidatorsInfo ¶
func LoadOldValidatorsInfo(db dbm.DB, height int64) *his.ValidatorsInfo
func NewBlockFromOld ¶
func NewValidatorSet ¶
func NewValidatorSet(oldValSet *his.ValidatorSet) *types.ValidatorSet
func SaveOldBlockStoreStateJson ¶
func SaveOldBlockStoreStateJson(db dbm.DB, bsj his.BlockStoreStateJSON)
func UpgradeGenesisJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.