Versions in this module Expand all Collapse all v0 v0.31.5 Apr 16, 2019 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 KVStoreApplication struct + func NewKVStoreApplication() *KVStoreApplication + func (app *KVStoreApplication) CheckTx(tx []byte) types.ResponseCheckTx + func (app *KVStoreApplication) Commit() types.ResponseCommit + func (app *KVStoreApplication) DeliverTx(tx []byte) types.ResponseDeliverTx + func (app *KVStoreApplication) Info(req types.RequestInfo) (resInfo types.ResponseInfo) + func (app *KVStoreApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) + type PersistentKVStoreApplication struct + ValUpdates []types.ValidatorUpdate + func NewPersistentKVStoreApplication(dbDir string) *PersistentKVStoreApplication + func (app *PersistentKVStoreApplication) BeginBlock(req types.RequestBeginBlock) types.ResponseBeginBlock + func (app *PersistentKVStoreApplication) CheckTx(tx []byte) types.ResponseCheckTx + func (app *PersistentKVStoreApplication) Commit() types.ResponseCommit + func (app *PersistentKVStoreApplication) DeliverTx(tx []byte) 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) Query(reqQuery types.RequestQuery) 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