Documentation ¶
Overview ¶
Package appconn manages the connection of Tendermint to the application layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsensus ¶
func NewMempool ¶
func NewMulti ¶
func NewMulti(clientCreator ClientCreator) *multi
Make all necessary abci connections to the application
Types ¶
type AppConns ¶
Tendermint's interface to the application consists of multiple connections
func NewAppConns ¶
func NewAppConns(clientCreator ClientCreator) AppConns
type ClientCreator ¶
NewABCIClient returns newly connected client
type Consensus ¶
type Consensus interface { SetResponseCallback(abcicli.Callback) Error() error InitChainSync(abci.RequestInitChain) (abci.ResponseInitChain, error) BeginBlockSync(abci.RequestBeginBlock) (abci.ResponseBeginBlock, error) DeliverTxAsync(abci.RequestDeliverTx) *abcicli.ReqRes EndBlockSync(abci.RequestEndBlock) (abci.ResponseEndBlock, error) CommitSync() (abci.ResponseCommit, error) }
type Query ¶
type Query interface { Error() error EchoSync(string) (abci.ResponseEcho, error) InfoSync(abci.RequestInfo) (abci.ResponseInfo, error) QuerySync(abci.RequestQuery) (abci.ResponseQuery, error) }
Click to show internal directories.
Click to hide internal directories.