Documentation ¶
Index ¶
- type CheckState
- func (cs *CheckState) Accounts() accounts.RAccounts
- func (cs *CheckState) App() app.RApp
- func (cs *CheckState) Candidates() candidates.RCandidates
- func (cs *CheckState) Checks() checks.RChecks
- func (cs *CheckState) Coins() coins.RCoins
- func (cs *CheckState) Export(height uint64) types.AppState
- func (cs *CheckState) Export11To12(height uint64) types.AppState
- func (cs *CheckState) FrozenFunds() frozenfunds.RFrozenFunds
- func (cs *CheckState) Halts() halts.RHalts
- func (cs *CheckState) Lock()
- func (cs *CheckState) RLock()
- func (cs *CheckState) RUnlock()
- func (cs *CheckState) Tree() tree.ReadOnlyTree
- func (cs *CheckState) Unlock()
- func (cs *CheckState) Validators() validators.RValidators
- func (cs *CheckState) WaitList() waitlist.RWaitList
- type Interface
- type State
- func (s *State) Check() error
- func (s *State) Commit() ([]byte, error)
- func (s *State) Export(height uint64) types.AppState
- func (s *State) Import(state types.AppState) error
- func (s *State) Lock()
- func (s *State) RLock()
- func (s *State) RUnlock()
- func (s *State) Tree() tree.MTree
- func (s *State) Unlock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckState ¶ added in v1.2.0
type CheckState struct {
// contains filtered or unexported fields
}
func NewCheckState ¶ added in v1.1.0
func NewCheckState(state *State) *CheckState
func NewCheckStateAtHeight ¶ added in v1.1.0
func NewCheckStateAtHeight(height uint64, db db.DB) (*CheckState, error)
func (*CheckState) Accounts ¶ added in v1.2.0
func (cs *CheckState) Accounts() accounts.RAccounts
func (*CheckState) App ¶ added in v1.2.0
func (cs *CheckState) App() app.RApp
func (*CheckState) Candidates ¶ added in v1.2.0
func (cs *CheckState) Candidates() candidates.RCandidates
func (*CheckState) Checks ¶ added in v1.2.0
func (cs *CheckState) Checks() checks.RChecks
func (*CheckState) Coins ¶ added in v1.2.0
func (cs *CheckState) Coins() coins.RCoins
func (*CheckState) Export ¶ added in v1.2.0
func (cs *CheckState) Export(height uint64) types.AppState
func (*CheckState) Export11To12 ¶ added in v1.2.0
func (cs *CheckState) Export11To12(height uint64) types.AppState
func (*CheckState) FrozenFunds ¶ added in v1.2.0
func (cs *CheckState) FrozenFunds() frozenfunds.RFrozenFunds
func (*CheckState) Halts ¶ added in v1.2.0
func (cs *CheckState) Halts() halts.RHalts
func (*CheckState) Lock ¶ added in v1.2.0
func (cs *CheckState) Lock()
func (*CheckState) RLock ¶ added in v1.2.0
func (cs *CheckState) RLock()
func (*CheckState) RUnlock ¶ added in v1.2.0
func (cs *CheckState) RUnlock()
func (*CheckState) Tree ¶ added in v1.2.0
func (cs *CheckState) Tree() tree.ReadOnlyTree
func (*CheckState) Unlock ¶ added in v1.2.0
func (cs *CheckState) Unlock()
func (*CheckState) Validators ¶ added in v1.2.0
func (cs *CheckState) Validators() validators.RValidators
func (*CheckState) WaitList ¶ added in v1.2.0
func (cs *CheckState) WaitList() waitlist.RWaitList
type Interface ¶ added in v1.2.0
type Interface interface {
// contains filtered or unexported methods
}
type State ¶ added in v1.1.0
type State struct { App *app.App Validators *validators.Validators Candidates *candidates.Candidates FrozenFunds *frozenfunds.FrozenFunds Halts *halts.HaltBlocks Accounts *accounts.Accounts Coins *coins.Coins Checks *checks.Checks Checker *checker.Checker Waitlist *waitlist.WaitList // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.