Documentation
¶
Index ¶
- type State
- func (s *State) Check() error
- func (s *State) Commit() ([]byte, error)
- func (s *State) Events() eventsdb.IEventsDB
- func (s *State) Export(height uint64) types.AppState
- func (s *State) FinalizeBtcCheckpoint(height uint64) error
- func (s *State) FinalizeMntCheckpoint(height uint64, encodedTx []byte) error
- func (s *State) Import(state types.AppState) error
- func (s *State) Lock()
- func (s *State) MultisigAddress() types.Address
- func (s *State) NewBtcCheckpoint(h uint64) bool
- func (s *State) NewMntCheckpoint(h uint64) bool
- func (s *State) RLock()
- func (s *State) RUnlock()
- func (s *State) Unlock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
App *app.App
Validators *validators.Validators
Candidates *candidates.Candidates
FrozenFunds *frozenfunds.FrozenFunds
Accounts *accounts.Accounts
Coins *coins.Coins
Checks *checks.Checks
Checker *checker.Checker
ProcessedDeposits *processeddeposits.ProcessedDeposits
SignatorySet *signatorysets.SignatorySet
PendingWithdrawals *withdrawals.Withdrawals
Utxos *utxos.Utxos
FinalizedCheckpoints *finalizedcheckpoints.FinalizedCheckpoints
ActiveCheckpoint *activecheckpoint.ActiveCheckpoint
Headers *headers.Headers
// contains filtered or unexported fields
}
func NewCheckState ¶
func (*State) FinalizeBtcCheckpoint ¶
func (*State) FinalizeMntCheckpoint ¶
func (*State) MultisigAddress ¶
func (*State) NewBtcCheckpoint ¶
func (*State) NewMntCheckpoint ¶
Click to show internal directories.
Click to hide internal directories.