Documentation ¶
Index ¶
- type TendermintRoutes
- func (tmRoutes *TendermintRoutes) BlockchainInfo(minHeight, maxHeight int) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) BroadcastTxResult(tx txs.Tx) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) CallCodeResult(fromAddress, code, data []byte) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) CallResult(fromAddress, toAddress, data []byte) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) ChainIdResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) DumpConsensusState() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) DumpStorageResult(address []byte) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) GenPrivAccountResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) GenesisResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) GetAccountResult(address []byte) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) GetBlock(height int) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) GetNameResult(name string) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) GetRoutes() map[string]*rpc.RPCFunc
- func (tmRoutes *TendermintRoutes) GetStorageResult(address, key []byte) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) ListAccountsResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) ListNamesResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) ListUnconfirmedTxs() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) ListValidators() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) NetInfoResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) SignTxResult(tx txs.Tx, privAccounts []*acm.PrivAccount) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) StatusResult() (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) Subscribe(wsCtx rpctypes.WSRPCContext, event string) (ctypes.ErisDBResult, error)
- func (tmRoutes *TendermintRoutes) Unsubscribe(wsCtx rpctypes.WSRPCContext, subscriptionId string) (ctypes.ErisDBResult, 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.ErisDBResult, error)
func (*TendermintRoutes) BroadcastTxResult ¶
func (tmRoutes *TendermintRoutes) BroadcastTxResult(tx txs.Tx) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) CallCodeResult ¶
func (tmRoutes *TendermintRoutes) CallCodeResult(fromAddress, code, data []byte) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) CallResult ¶
func (tmRoutes *TendermintRoutes) CallResult(fromAddress, toAddress, data []byte) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) ChainIdResult ¶
func (tmRoutes *TendermintRoutes) ChainIdResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) DumpConsensusState ¶
func (tmRoutes *TendermintRoutes) DumpConsensusState() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) DumpStorageResult ¶
func (tmRoutes *TendermintRoutes) DumpStorageResult(address []byte) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) GenPrivAccountResult ¶
func (tmRoutes *TendermintRoutes) GenPrivAccountResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) GenesisResult ¶
func (tmRoutes *TendermintRoutes) GenesisResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) GetAccountResult ¶
func (tmRoutes *TendermintRoutes) GetAccountResult(address []byte) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) GetBlock ¶
func (tmRoutes *TendermintRoutes) GetBlock(height int) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) GetNameResult ¶
func (tmRoutes *TendermintRoutes) GetNameResult(name string) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) GetRoutes ¶
func (tmRoutes *TendermintRoutes) GetRoutes() map[string]*rpc.RPCFunc
func (*TendermintRoutes) GetStorageResult ¶
func (tmRoutes *TendermintRoutes) GetStorageResult(address, key []byte) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) ListAccountsResult ¶
func (tmRoutes *TendermintRoutes) ListAccountsResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) ListNamesResult ¶
func (tmRoutes *TendermintRoutes) ListNamesResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) ListUnconfirmedTxs ¶
func (tmRoutes *TendermintRoutes) ListUnconfirmedTxs() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) ListValidators ¶
func (tmRoutes *TendermintRoutes) ListValidators() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) NetInfoResult ¶
func (tmRoutes *TendermintRoutes) NetInfoResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) SignTxResult ¶
func (tmRoutes *TendermintRoutes) SignTxResult(tx txs.Tx, privAccounts []*acm.PrivAccount) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) StatusResult ¶
func (tmRoutes *TendermintRoutes) StatusResult() (ctypes.ErisDBResult, error)
func (*TendermintRoutes) Subscribe ¶
func (tmRoutes *TendermintRoutes) Subscribe(wsCtx rpctypes.WSRPCContext, event string) (ctypes.ErisDBResult, error)
func (*TendermintRoutes) Unsubscribe ¶
func (tmRoutes *TendermintRoutes) Unsubscribe(wsCtx rpctypes.WSRPCContext, subscriptionId string) (ctypes.ErisDBResult, 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.