Documentation ¶
Index ¶
- type TendermintRoutes
- func (tmRoutes *TendermintRoutes) BlockchainInfo(minHeight, maxHeight int) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) BroadcastTxResult(tx txs.Tx) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) CallCodeResult(fromAddress, code, data []byte) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) CallResult(fromAddress, toAddress, data []byte) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) ChainIdResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) DumpConsensusState() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) DumpStorageResult(address []byte) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) GenPrivAccountResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) GenesisResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) GetAccountResult(address []byte) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) GetBlock(height int) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) GetNameResult(name string) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) GetRoutes() map[string]*rpc.RPCFunc
- func (tmRoutes *TendermintRoutes) GetStorageResult(address, key []byte) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) ListAccountsResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) ListNamesResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) ListUnconfirmedTxs() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) ListValidators() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) NetInfoResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) SignTxResult(tx txs.Tx, privAccounts []*acm.PrivAccount) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) StatusResult() (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) Subscribe(wsCtx rpctypes.WSRPCContext, eventId string) (ctypes.BurrowResult, error)
- func (tmRoutes *TendermintRoutes) Unsubscribe(wsCtx rpctypes.WSRPCContext, subscriptionId string) (ctypes.BurrowResult, error)
- type TendermintWebsocketServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TendermintRoutes ¶
type TendermintRoutes struct {
// contains filtered or unexported fields
}
TODO: eliminate redundancy between here and reading code from core/
func (*TendermintRoutes) BlockchainInfo ¶
func (tmRoutes *TendermintRoutes) BlockchainInfo(minHeight, maxHeight int) (ctypes.BurrowResult, error)
func (*TendermintRoutes) BroadcastTxResult ¶
func (tmRoutes *TendermintRoutes) BroadcastTxResult(tx txs.Tx) (ctypes.BurrowResult, error)
func (*TendermintRoutes) CallCodeResult ¶
func (tmRoutes *TendermintRoutes) CallCodeResult(fromAddress, code, data []byte) (ctypes.BurrowResult, error)
func (*TendermintRoutes) CallResult ¶
func (tmRoutes *TendermintRoutes) CallResult(fromAddress, toAddress, data []byte) (ctypes.BurrowResult, error)
func (*TendermintRoutes) ChainIdResult ¶
func (tmRoutes *TendermintRoutes) ChainIdResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) DumpConsensusState ¶
func (tmRoutes *TendermintRoutes) DumpConsensusState() (ctypes.BurrowResult, error)
func (*TendermintRoutes) DumpStorageResult ¶
func (tmRoutes *TendermintRoutes) DumpStorageResult(address []byte) (ctypes.BurrowResult, error)
func (*TendermintRoutes) GenPrivAccountResult ¶
func (tmRoutes *TendermintRoutes) GenPrivAccountResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) GenesisResult ¶
func (tmRoutes *TendermintRoutes) GenesisResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) GetAccountResult ¶
func (tmRoutes *TendermintRoutes) GetAccountResult(address []byte) (ctypes.BurrowResult, error)
func (*TendermintRoutes) GetBlock ¶
func (tmRoutes *TendermintRoutes) GetBlock(height int) (ctypes.BurrowResult, error)
func (*TendermintRoutes) GetNameResult ¶
func (tmRoutes *TendermintRoutes) GetNameResult(name string) (ctypes.BurrowResult, error)
func (*TendermintRoutes) GetRoutes ¶
func (tmRoutes *TendermintRoutes) GetRoutes() map[string]*rpc.RPCFunc
func (*TendermintRoutes) GetStorageResult ¶
func (tmRoutes *TendermintRoutes) GetStorageResult(address, key []byte) (ctypes.BurrowResult, error)
func (*TendermintRoutes) ListAccountsResult ¶
func (tmRoutes *TendermintRoutes) ListAccountsResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) ListNamesResult ¶
func (tmRoutes *TendermintRoutes) ListNamesResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) ListUnconfirmedTxs ¶
func (tmRoutes *TendermintRoutes) ListUnconfirmedTxs() (ctypes.BurrowResult, error)
func (*TendermintRoutes) ListValidators ¶
func (tmRoutes *TendermintRoutes) ListValidators() (ctypes.BurrowResult, error)
func (*TendermintRoutes) NetInfoResult ¶
func (tmRoutes *TendermintRoutes) NetInfoResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) SignTxResult ¶
func (tmRoutes *TendermintRoutes) SignTxResult(tx txs.Tx, privAccounts []*acm.PrivAccount) (ctypes.BurrowResult, error)
func (*TendermintRoutes) StatusResult ¶
func (tmRoutes *TendermintRoutes) StatusResult() (ctypes.BurrowResult, error)
func (*TendermintRoutes) Subscribe ¶
func (tmRoutes *TendermintRoutes) Subscribe(wsCtx rpctypes.WSRPCContext, eventId string) (ctypes.BurrowResult, error)
func (*TendermintRoutes) Unsubscribe ¶
func (tmRoutes *TendermintRoutes) Unsubscribe(wsCtx rpctypes.WSRPCContext, subscriptionId string) (ctypes.BurrowResult, error)
type TendermintWebsocketServer ¶
type TendermintWebsocketServer struct {
// contains filtered or unexported fields
}
func NewTendermintWebsocketServer ¶
func NewTendermintWebsocketServer(config *server.ServerConfig, tendermintPipe definitions.TendermintPipe, evsw events.EventSwitch) ( *TendermintWebsocketServer, error)
func (*TendermintWebsocketServer) Shutdown ¶
func (tmServer *TendermintWebsocketServer) Shutdown()
Click to show internal directories.
Click to hide internal directories.