Versions in this module Expand all Collapse all v0 v0.0.1 May 24, 2022 Changes in this version + var DatabaseVersion uint64 = 0x1 + var ProtocolVersion uint64 = 0x1 + func BlockHash(lastBlockHeight int64, lastBlockHash []byte, transactionHashes [][]byte) (ret []byte) + func TODO(whatever interface{}) + type Application struct + func NewApplication(dbDir string) *Application + func (app *Application) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock + func (app *Application) CheckTx(req abcitypes.RequestCheckTx) abcitypes.ResponseCheckTx + func (app *Application) Commit() abcitypes.ResponseCommit + func (app *Application) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx + func (app *Application) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock + func (app *Application) GetCommonState() *CommonState + func (app *Application) Info(req abcitypes.RequestInfo) (resInfo abcitypes.ResponseInfo) + func (app *Application) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain + func (app *Application) Query(reqQuery abcitypes.RequestQuery) abcitypes.ResponseQuery + type CommonState struct + AccountNonce map[string]uint64 + Blocktransactions map[int64]*types.BlockTransactions + DatabaseHashItems map[int64]types.DatabaseHashItem + Rawtransactions map[string]*types.RawTransaction + TransactionCount int64 + TrustedPublicKeys map[string]ed25519.PubKey + func NewCommonState() *CommonState + func (self *CommonState) Clone() *CommonState + type PersistentState struct + CommonState CommonState + LastBlockHash []byte + LastBlockHeight int64 + func NewPersistentState() *PersistentState + type TemporaryState struct + CommonState CommonState + RawTransactions []*types.RawTransaction + func NewTemporaryStateFromPersistentState(state *PersistentState) *TemporaryState