Documentation ¶
Index ¶
- Constants
- Variables
- type BaseApplication
- func (app *BaseApplication) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock
- func (app *BaseApplication) Commit() abcitypes.ResponseCommit
- func (app *BaseApplication) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock
- func (app *BaseApplication) IncreaseTxSize()
- func (app *BaseApplication) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo
- func (app *BaseApplication) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain
- func (app *BaseApplication) RegisterSpace(name string)
- func (app *BaseApplication) RegisterSpaceIfNotExist(name string)
- type DaemonApp
- type NodeProvider
- type Provider
- type State
Constants ¶
View Source
const (
ValidatorSetChangePrefix string = "val:"
)
Variables ¶
View Source
var (
ProtocolVersion version.Protocol = 0x1
)
Functions ¶
This section is empty.
Types ¶
type BaseApplication ¶
type BaseApplication struct { abcitypes.BaseApplication // validator set ValUpdates []abcitypes.ValidatorUpdate // contains filtered or unexported fields }
func NewBaseApplication ¶
func NewBaseApplication(config *cfg.Config, logger log.Logger) (bapp *BaseApplication)
func (*BaseApplication) BeginBlock ¶
func (app *BaseApplication) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock
func (*BaseApplication) Commit ¶
func (app *BaseApplication) Commit() abcitypes.ResponseCommit
func (*BaseApplication) EndBlock ¶
func (app *BaseApplication) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock
func (*BaseApplication) IncreaseTxSize ¶
func (app *BaseApplication) IncreaseTxSize()
func (*BaseApplication) Info ¶
func (app *BaseApplication) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo
func (*BaseApplication) InitChain ¶
func (app *BaseApplication) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain
func (*BaseApplication) RegisterSpace ¶
func (app *BaseApplication) RegisterSpace(name string)
func (*BaseApplication) RegisterSpaceIfNotExist ¶
func (app *BaseApplication) RegisterSpaceIfNotExist(name string)
type DaemonApp ¶
type DaemonApp struct {
*BaseApplication
}
func NewDaemonApplication ¶
func (*DaemonApp) DeliverTx ¶
func (app *DaemonApp) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx
func (*DaemonApp) Query ¶
func (app *DaemonApp) Query(reqQuery abcitypes.RequestQuery) (resQuery abcitypes.ResponseQuery)
type NodeProvider ¶
type NodeProvider struct { }
Click to show internal directories.
Click to hide internal directories.