Documentation
¶
Index ¶
- func ExecTx(state *State, pgz *types.Plugins, tx types.Tx, isCheckTx bool, ...) abci.Result
- type State
- func (s *State) CacheSync()
- func (s *State) CacheWrap() *State
- func (s *State) Commit() abci.Result
- func (s *State) Get(key []byte) (value []byte)
- func (s *State) GetAccount(addr []byte) *types.Account
- func (s *State) GetChainID() string
- func (s *State) Set(key []byte, value []byte)
- func (s *State) SetAccount(addr []byte, acc *types.Account)
- func (s *State) SetChainID(chainID string)
- func (s *State) SetLogger(l log.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
CONTRACT: State should be quick to copy. See CacheWrap().
func (*State) GetChainID ¶
func (*State) SetChainID ¶
Click to show internal directories.
Click to hide internal directories.