forked from cerc-io/ipld-eth-server
batch headers by 100s
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
package core
|
||||
|
||||
import "context"
|
||||
import (
|
||||
"context"
|
||||
"github.com/ethereum/go-ethereum/rpc"
|
||||
)
|
||||
|
||||
type RpcClient interface {
|
||||
CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
|
||||
BatchCall(batch []rpc.BatchElem) error
|
||||
IpcPath() string
|
||||
SupportedModules() (map[string]string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user