core

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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