Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { // General YOUChain API SuggestPrice(ctx context.Context) (*big.Int, error) BlockByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*types.Block, error) HeaderByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*types.Header, error) //txpool GetTransaction(txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64, error) GetPoolTransactions() (types.Transactions, error) GetPoolTransaction(txHash common.Hash) *types.Transaction }
Backend interface provides the common API services (that are provided by both full and light clients) with access to necessary functions.
Directories ¶
Path | Synopsis |
---|---|
Package debug interfaces Go runtime debugging facilities.
|
Package debug interfaces Go runtime debugging facilities. |
Package jsre provides execution environment for JavaScript.
|
Package jsre provides execution environment for JavaScript. |
deps
Package deps contains the console JavaScript dependencies Go embedded.
|
Package deps contains the console JavaScript dependencies Go embedded. |
package web3ext contains geth specific web3.js extensions.
|
package web3ext contains geth specific web3.js extensions. |
Click to show internal directories.
Click to hide internal directories.