Versions in this module Expand all Collapse all v0 v0.34.24 Sep 22, 2023 Changes in this version + const ValidatorSetChangePrefix + var ProtocolVersion uint64 = 0x1 + func InitKVStore(app *PersistentKVStoreApplication) + func MakeValSetChangeTx(pubkey pc.PublicKey, 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() 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 PersistentKVStoreApplication struct + ValUpdates []types.ValidatorUpdate + func NewPersistentKVStoreApplication(dbDir string) *PersistentKVStoreApplication + func (app *PersistentKVStoreApplication) ApplySnapshotChunk(req types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk + func (app *PersistentKVStoreApplication) BeginBlock(req types.RequestBeginBlock) types.ResponseBeginBlock + func (app *PersistentKVStoreApplication) CheckTx(req types.RequestCheckTx) types.ResponseCheckTx + func (app *PersistentKVStoreApplication) Commit() types.ResponseCommit + 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) ListSnapshots(req types.RequestListSnapshots) types.ResponseListSnapshots + func (app *PersistentKVStoreApplication) LoadSnapshotChunk(req types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk + func (app *PersistentKVStoreApplication) OfferSnapshot(req types.RequestOfferSnapshot) types.ResponseOfferSnapshot + 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