Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveSnapshotState ¶
func SaveSnapshotState(monDB *db.Database, snapshotState *SnapshotState) error
Types ¶
type SnapshotState ¶
type SnapshotState struct { Account accounts.Account RawBClaims []byte RawSigGroup []byte BlockHeader *objs.BlockHeader LastSnapshotHeight int DesperationDelay int DesperationFactor int RandomSeedHash []byte }
func GetSnapshotState ¶
func GetSnapshotState(monDB *db.Database) (*SnapshotState, error)
func (*SnapshotState) LoadState ¶
func (state *SnapshotState) LoadState(txn *badger.Txn) error
func (*SnapshotState) PersistState ¶
func (state *SnapshotState) PersistState(txn *badger.Txn) error
Click to show internal directories.
Click to hide internal directories.