Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SavePvState ¶
func SavePvState(pvKey privval.FilePVLastSignState, stateFilePath string)
Types ¶
type OldFilePV ¶
type OldFilePV struct {
Address types.Address `json:"address"`
PubKey crypto.PubKey `json:"pub_key"`
LastHeight int64 `json:"last_height"`
LastRound int `json:"last_round"`
LastStep int8 `json:"last_step"`
LastSignature []byte `json:"last_signature,omitempty"`
LastSignBytes tmbytes.HexBytes `json:"last_signbytes,omitempty"`
PrivKey crypto.PrivKey `json:"priv_key"`
// contains filtered or unexported fields
}
OldFilePV is the old version of the FilePV, pre v0.28.0.
func LoadOldFilePV ¶
LoadOldFilePV loads an OldFilePV from the filePath.
Click to show internal directories.
Click to hide internal directories.