Documentation ¶
Index ¶
- func NewAppConnConsensus(appConn abcicli.Client) *appConnConsensus
- func NewAppConnMempool(appConn abcicli.Client) *appConnMempool
- func NewAppConnQuery(appConn abcicli.Client) *appConnQuery
- func NewMultiAppConn(clientCreator ClientCreator) *multiAppConn
- type AppConnConsensus
- type AppConnMempool
- type AppConnQuery
- type AppConns
- type ClientCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppConnConsensus ¶
func NewAppConnMempool ¶
func NewAppConnQuery ¶
func NewMultiAppConn ¶
func NewMultiAppConn(clientCreator ClientCreator) *multiAppConn
Make all necessary abci connections to the application
Types ¶
type AppConnConsensus ¶
type AppConnConsensus 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 AppConnMempool ¶
type AppConnQuery ¶
type AppConnQuery interface { Error() error EchoSync(string) (abci.ResponseEcho, error) InfoSync(abci.RequestInfo) (abci.ResponseInfo, error) QuerySync(abci.RequestQuery) (abci.ResponseQuery, error) }
type AppConns ¶
type AppConns interface { cmn.Service Mempool() AppConnMempool Consensus() AppConnConsensus Query() AppConnQuery }
Tendermint's interface to the application consists of multiple connections
func NewAppConns ¶
func NewAppConns(clientCreator ClientCreator) AppConns
type ClientCreator ¶
NewABCIClient returns newly connected client
func DefaultClientCreator ¶
func DefaultClientCreator(addr, transport, dbDir string) ClientCreator
func NewLocalClientCreator ¶
func NewLocalClientCreator(app abci.Application) ClientCreator
func NewRemoteClientCreator ¶
func NewRemoteClientCreator(addr, transport string, mustConnect bool) ClientCreator
Click to show internal directories.
Click to hide internal directories.