mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
Simple file renaming to make automated testing easier (#1230)
* Simple file renaming to make automated testing easier * Fixing comment
This commit is contained in:
parent
f3ce1ce423
commit
d6587ba250
@ -63,7 +63,7 @@ type EthAPI interface {
|
||||
Syncing(ctx context.Context) (interface{}, error)
|
||||
// GasPrice(_ context.Context) (*hexutil.Big, error)
|
||||
|
||||
// Sending related (proposed file: ./eth_sending.go)
|
||||
// Sending related (proposed file: ./eth_call.go)
|
||||
Call(ctx context.Context, args ethapi.CallArgs, blockNrOrHash rpc.BlockNumberOrHash, overrides *map[common.Address]ethapi.Account) (hexutil.Bytes, error)
|
||||
EstimateGas(ctx context.Context, args ethapi.CallArgs) (hexutil.Uint64, error)
|
||||
SendRawTransaction(ctx context.Context, encodedTx hexutil.Bytes) (common.Hash, error)
|
||||
|
8
cmd/rpcdaemon/commands/eth_block.go
Normal file
8
cmd/rpcdaemon/commands/eth_block.go
Normal file
@ -0,0 +1,8 @@
|
||||
package commands
|
||||
|
||||
/* future home of block related eth_ routines */
|
||||
|
||||
// GetBlockByNumber(ctx context.Context, number rpc.BlockNumber, fullTx bool) (map[string]interface{}, error)
|
||||
// GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (map[string]interface{}, error)
|
||||
// GetBlockTransactionCountByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*hexutil.Uint, error)
|
||||
// GetBlockTransactionCountByHash(ctx context.Context, blockHash common.Hash) (*hexutil.Uint, error)
|
10
cmd/rpcdaemon/commands/eth_filters.go
Normal file
10
cmd/rpcdaemon/commands/eth_filters.go
Normal file
@ -0,0 +1,10 @@
|
||||
package commands
|
||||
|
||||
/* future home of filter related eth_ routines */
|
||||
|
||||
// newPendingTransactionFilter(ctx context.Context) (string, error)
|
||||
// newBlockFilter(ctx context.Context) (string, error)
|
||||
// newFilter(ctx context.Context) (string, error)
|
||||
// uninstallFilter(ctx context.Context) (string, error)
|
||||
// getFilterChanges(ctx context.Context) (string, error)
|
||||
// GetLogs(ctx context.Context, crit filters.FilterCriteria) ([]*types.Log, error)
|
3
cmd/rpcdaemon/commands/eth_system.go
Normal file
3
cmd/rpcdaemon/commands/eth_system.go
Normal file
@ -0,0 +1,3 @@
|
||||
package commands
|
||||
|
||||
/* future home of system related eth_ routines */
|
8
cmd/rpcdaemon/commands/eth_txs.go
Normal file
8
cmd/rpcdaemon/commands/eth_txs.go
Normal file
@ -0,0 +1,8 @@
|
||||
package commands
|
||||
|
||||
/* future home of tx related eth_ routines */
|
||||
|
||||
// GetTransactionByHash(ctx context.Context, hash common.Hash) (*RPCTransaction, error)
|
||||
// GetTransactionByBlockHashAndIndex(ctx context.Context, blockHash common.Hash, txIndex hexutil.Uint64) (*RPCTransaction, error)
|
||||
// GetTransactionByBlockNumberAndIndex(ctx context.Context, blockNr rpc.BlockNumber, txIndex hexutil.Uint) (*RPCTransaction, error)
|
||||
// GetTransactionReceipt(ctx context.Context, hash common.Hash) (map[string]interface{}, error)
|
Loading…
Reference in New Issue
Block a user