Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerAPI ¶
type BrokerAPI interface { HandleTransaction(tx *pb.Transaction) error GetTransaction(types.Hash) (*pb.Transaction, error) GetTransactionMeta(types.Hash) (*pb.TransactionMeta, error) GetReceipt(types.Hash) (*pb.Receipt, error) GetBlock(mode string, key string) (*pb.Block, error) GetBlocks(start uint64, end uint64) ([]*pb.Block, error) // AddPier AddPier(pid string) (chan *pb.InterchainTxWrapper, error) // RemovePier RemovePier(pid string) GetBlockHeader(begin, end uint64, ch chan<- *pb.BlockHeader) error GetInterchainTxWrapper(pid string, begin, end uint64, ch chan<- *pb.InterchainTxWrapper) error // OrderReady OrderReady() bool }
type CoreAPI ¶
type CoreAPI interface { Broker() BrokerAPI Network() NetworkAPI Chain() ChainAPI Feed() FeedAPI Account() AccountAPI }
type FeedAPI ¶
type FeedAPI interface {
SubscribeNewBlockEvent(chan<- events.NewBlockEvent) event.Subscription
}
type NetworkAPI ¶
Click to show internal directories.
Click to hide internal directories.