Documentation ¶
Index ¶
- Constants
- type Blockchain
- func (app *Blockchain) BeginBlock(req abciTypes.RequestBeginBlock) abciTypes.ResponseBeginBlock
- func (app *Blockchain) CheckTx(rawTx []byte) abciTypes.ResponseCheckTx
- func (app *Blockchain) Commit() abciTypes.ResponseCommit
- func (app *Blockchain) CurrentState() *state.StateDB
- func (app *Blockchain) DeliverTx(rawTx []byte) abciTypes.ResponseDeliverTx
- func (app *Blockchain) EndBlock(req abciTypes.RequestEndBlock) abciTypes.ResponseEndBlock
- func (app *Blockchain) GetStateForHeight(height int) (*state.StateDB, error)
- func (app *Blockchain) Height() int64
- func (app *Blockchain) Info(req abciTypes.RequestInfo) (resInfo abciTypes.ResponseInfo)
- func (app *Blockchain) InitChain(req abciTypes.RequestInitChain) abciTypes.ResponseInitChain
- func (app *Blockchain) LastCommittedHeight() int64
- func (app *Blockchain) Query(reqQuery abciTypes.RequestQuery) abciTypes.ResponseQuery
- func (app *Blockchain) SetOption(req abciTypes.RequestSetOption) abciTypes.ResponseSetOption
- func (app *Blockchain) Stop()
Constants ¶
View Source
const ( ValidatorPresent = 1 ValidatorAbsent = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain struct { abciTypes.BaseApplication // contains filtered or unexported fields }
func NewMinterBlockchain ¶
func NewMinterBlockchain() *Blockchain
func (*Blockchain) BeginBlock ¶
func (app *Blockchain) BeginBlock(req abciTypes.RequestBeginBlock) abciTypes.ResponseBeginBlock
func (*Blockchain) CheckTx ¶
func (app *Blockchain) CheckTx(rawTx []byte) abciTypes.ResponseCheckTx
func (*Blockchain) Commit ¶
func (app *Blockchain) Commit() abciTypes.ResponseCommit
func (*Blockchain) CurrentState ¶
func (app *Blockchain) CurrentState() *state.StateDB
func (*Blockchain) DeliverTx ¶
func (app *Blockchain) DeliverTx(rawTx []byte) abciTypes.ResponseDeliverTx
func (*Blockchain) EndBlock ¶
func (app *Blockchain) EndBlock(req abciTypes.RequestEndBlock) abciTypes.ResponseEndBlock
func (*Blockchain) GetStateForHeight ¶
func (app *Blockchain) GetStateForHeight(height int) (*state.StateDB, error)
func (*Blockchain) Height ¶
func (app *Blockchain) Height() int64
func (*Blockchain) Info ¶
func (app *Blockchain) Info(req abciTypes.RequestInfo) (resInfo abciTypes.ResponseInfo)
func (*Blockchain) InitChain ¶
func (app *Blockchain) InitChain(req abciTypes.RequestInitChain) abciTypes.ResponseInitChain
func (*Blockchain) LastCommittedHeight ¶ added in v0.7.5
func (app *Blockchain) LastCommittedHeight() int64
func (*Blockchain) Query ¶
func (app *Blockchain) Query(reqQuery abciTypes.RequestQuery) abciTypes.ResponseQuery
func (*Blockchain) SetOption ¶
func (app *Blockchain) SetOption(req abciTypes.RequestSetOption) abciTypes.ResponseSetOption
func (*Blockchain) Stop ¶
func (app *Blockchain) Stop()
Click to show internal directories.
Click to hide internal directories.