abci

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(blockchain bcm.MutableBlockchain,
	checker execution.BatchExecutor,
	committer execution.BatchCommitter,
	logger *logging.Logger) *App

func (*App) BeginBlock

func (app *App) BeginBlock(block abci_types.RequestBeginBlock) (respBeginBlock abci_types.ResponseBeginBlock)

func (*App) CheckTx

func (app *App) CheckTx(txBytes []byte) abci_types.ResponseCheckTx

func (*App) Commit

func (app *App) Commit() abci_types.ResponseCommit

func (*App) DeliverTx

func (app *App) DeliverTx(txBytes []byte) abci_types.ResponseDeliverTx

func (*App) EndBlock

func (app *App) EndBlock(reqEndBlock abci_types.RequestEndBlock) (respEndBlock abci_types.ResponseEndBlock)

func (*App) Info

func (*App) InitChain

func (app *App) InitChain(chain abci_types.RequestInitChain) (respInitChain abci_types.ResponseInitChain)

func (*App) Query

func (app *App) Query(reqQuery abci_types.RequestQuery) (respQuery abci_types.ResponseQuery)

func (*App) SetMempoolLocker

func (app *App) SetMempoolLocker(mempoolLocker sync.Locker)

Provide the Mempool lock. When provided we will attempt to acquire this lock in a goroutine during the Commit. We will keep the checker cache locked until we are able to acquire the mempool lock which signals the end of the commit and possible recheck on Tendermint's side.

func (*App) SetOption

func (app *App) SetOption(option abci_types.RequestSetOption) (respSetOption abci_types.ResponseSetOption)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL