Documentation
¶
Index ¶
- func AdminNodeInfo(reqId int) (p2p.NodeInfo, error)
- func BlockNumber(reqId int) (uint64, error)
- func GetAndCompareLogs(reqId int, fromBlock uint64, toBlock uint64, expected rpctest.Log) error
- func GetBalance(reqId int, address libcommon.Address, blockNum models.BlockNumber) (uint64, error)
- func GetBlockByNumber(reqId int, blockNum uint64, withTxs bool) (rpctest.EthBlockByNumber, error)
- func GetBlockByNumberDetails(reqId int, blockNum string, withTxs bool) (map[string]interface{}, error)
- func GetTransactionCount(reqId int, address libcommon.Address, blockNum models.BlockNumber) (rpctest.EthGetTransactionCount, error)
- func PingErigonRpc(reqId int) error
- func SendTransaction(reqId int, signedTx *types.Transaction) (*libcommon.Hash, error)
- func TxpoolContent(reqId int) (int, int, int, error)
- type RequestGenerator
- func (req *RequestGenerator) BlockNumber() string
- func (req *RequestGenerator) Erigon(method models.RPCMethod, body string, response interface{}) rpctest.CallResult
- func (req *RequestGenerator) GetAdminNodeInfo() string
- func (req *RequestGenerator) GetBalance(address libcommon.Address, blockNum models.BlockNumber) string
- func (req *RequestGenerator) GetBlockByNumber(blockNum uint64, withTxs bool) string
- func (req *RequestGenerator) GetBlockByNumberI(blockNum string, withTxs bool) string
- func (req *RequestGenerator) GetBlockDetails(blockNum string) string
- func (req *RequestGenerator) GetLogs(fromBlock, toBlock uint64, address libcommon.Address) string
- func (req *RequestGenerator) GetTransactionCount(address libcommon.Address, blockNum models.BlockNumber) string
- func (req *RequestGenerator) PingErigonRpc() rpctest.CallResult
- func (req *RequestGenerator) SendRawTransaction(signedTx []byte) string
- func (req *RequestGenerator) TxpoolContent() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockNumber ¶
func GetAndCompareLogs ¶
func GetBalance ¶
func GetBlockByNumber ¶
func GetBlockByNumberDetails ¶
func GetTransactionCount ¶
func GetTransactionCount(reqId int, address libcommon.Address, blockNum models.BlockNumber) (rpctest.EthGetTransactionCount, error)
func PingErigonRpc ¶
func SendTransaction ¶
Types ¶
type RequestGenerator ¶
type RequestGenerator struct {
// contains filtered or unexported fields
}
func (*RequestGenerator) BlockNumber ¶
func (req *RequestGenerator) BlockNumber() string
func (*RequestGenerator) Erigon ¶
func (req *RequestGenerator) Erigon(method models.RPCMethod, body string, response interface{}) rpctest.CallResult
func (*RequestGenerator) GetAdminNodeInfo ¶
func (req *RequestGenerator) GetAdminNodeInfo() string
func (*RequestGenerator) GetBalance ¶
func (req *RequestGenerator) GetBalance(address libcommon.Address, blockNum models.BlockNumber) string
func (*RequestGenerator) GetBlockByNumber ¶
func (req *RequestGenerator) GetBlockByNumber(blockNum uint64, withTxs bool) string
func (*RequestGenerator) GetBlockByNumberI ¶
func (req *RequestGenerator) GetBlockByNumberI(blockNum string, withTxs bool) string
func (*RequestGenerator) GetBlockDetails ¶
func (req *RequestGenerator) GetBlockDetails(blockNum string) string
func (*RequestGenerator) GetLogs ¶
func (req *RequestGenerator) GetLogs(fromBlock, toBlock uint64, address libcommon.Address) string
func (*RequestGenerator) GetTransactionCount ¶
func (req *RequestGenerator) GetTransactionCount(address libcommon.Address, blockNum models.BlockNumber) string
func (*RequestGenerator) PingErigonRpc ¶
func (req *RequestGenerator) PingErigonRpc() rpctest.CallResult
func (*RequestGenerator) SendRawTransaction ¶
func (req *RequestGenerator) SendRawTransaction(signedTx []byte) string
func (*RequestGenerator) TxpoolContent ¶
func (req *RequestGenerator) TxpoolContent() string
Click to show internal directories.
Click to hide internal directories.