Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + const ValidatorSetChangePrefix + var ProtocolVersion version.Protocol = 0x1 + func InitKVStore(app *PersistentKVStoreApplication) + func MakeValSetChangeTx(pubkey types.PubKey, power int64) []byte + func RandVal(i int) types.ValidatorUpdate + func RandVals(cnt int) []types.ValidatorUpdate + type Application struct + RetainBlocks int64 + func NewApplication() *Application + func (app *Application) CheckTx(req types.RequestCheckTx) types.ResponseCheckTx + func (app *Application) Commit(req types.RequestCommit) types.ResponseCommit + func (app *Application) DeliverTx(req types.RequestDeliverTx) types.ResponseDeliverTx + func (app *Application) Info(req types.RequestInfo) (resInfo types.ResponseInfo) + func (app *Application) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) + type MockExTxInfo struct + GasPrice *big.Int + Nonce uint64 + Sender string + SenderNonce uint64 + type PersistentKVStoreApplication struct + ValUpdates []types.ValidatorUpdate + func NewPersistentKVStoreApplication(dbDir string) *PersistentKVStoreApplication + func (app *PersistentKVStoreApplication) BeginBlock(req types.RequestBeginBlock) types.ResponseBeginBlock + func (app *PersistentKVStoreApplication) CheckTx(req types.RequestCheckTx) types.ResponseCheckTx + func (app *PersistentKVStoreApplication) CleanBrcRpcState() + func (app *PersistentKVStoreApplication) Commit(req types.RequestCommit) types.ResponseCommit + func (app *PersistentKVStoreApplication) DeliverRealTx(tx types.TxEssentials) types.ResponseDeliverTx + func (app *PersistentKVStoreApplication) DeliverTx(req types.RequestDeliverTx) types.ResponseDeliverTx + func (app *PersistentKVStoreApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock + func (app *PersistentKVStoreApplication) Info(req types.RequestInfo) types.ResponseInfo + func (app *PersistentKVStoreApplication) InitChain(req types.RequestInitChain) types.ResponseInitChain + func (app *PersistentKVStoreApplication) ParallelTxs(_ [][]byte, _ bool) []*types.ResponseDeliverTx + func (app *PersistentKVStoreApplication) PreDeliverRealTx([]byte) types.TxEssentials + func (app *PersistentKVStoreApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) + func (app *PersistentKVStoreApplication) SetLogger(l log.Logger) + func (app *PersistentKVStoreApplication) SetOption(req types.RequestSetOption) types.ResponseSetOption + func (app *PersistentKVStoreApplication) Validators() (validators []types.ValidatorUpdate) + type State struct + AppHash []byte + Height int64 + Size int64