batch headers by 100s

This commit is contained in:
Taka Goto
2019-01-08 16:53:26 -06:00
parent 670741616e
commit aa99c861a8
10 changed files with 227 additions and 13 deletions
+5 -1
View File
@@ -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)
}