Documentation ¶
Overview ¶
Package future defines various futures as the delegates to communicate between rpc server and the node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { AccountID string Account *ultpb.Account // contains filtered or unexported fields }
Future for node server to query account.
func (*Account) Error ¶
func (d *Account) Error() error
Error always return the first responded error.
type Ledger ¶
type Ledger struct { LedgerSeq string Ledger *ultpb.Ledger // contains filtered or unexported fields }
Future for node server to query ledger.
func (*Ledger) Error ¶
func (d *Ledger) Error() error
Error always return the first responded error.
type Peer ¶
type Peer struct { Addr string // contains filtered or unexported fields }
Future for node server to add new discovered peer address to peer manager.
type Quorum ¶
type Quorum struct { QuorumHash string Quorum *ultpb.Quorum // contains filtered or unexported fields }
Future for node server to query quorum.
func (*Quorum) Error ¶
func (d *Quorum) Error() error
Error always return the first responded error.
type Statement ¶
Future for node server to add consensus statement to consensus engine.
func (*Statement) Error ¶
func (d *Statement) Error() error
Error always return the first responded error.
type Tx ¶
Future for node server to add received tx to consensus engine.
type TxSet ¶
Future for node server to query txset.
type TxStatus ¶
type TxStatus struct { TxKey string TxStatus *rpcpb.TxStatus // contains filtered or unexported fields }
Future for node server to query tx status.
func (*TxStatus) Error ¶
func (d *TxStatus) Error() error
Error always return the first responded error.