diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-25 23:06:19 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-25 23:06:19 +0800 |
commit | e64625aa8215985c85f97f914a98db081e07714f (patch) | |
tree | d452551dccb6728ab96d849cd485b7220268c388 /rpc/codec/codec.go | |
parent | 6b2a03faa2473d38093adbeee62935af2fe2da59 (diff) | |
parent | 662285074e55a3915f7236a04fec355c3f416eb8 (diff) | |
download | go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.tar go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.tar.gz go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.tar.bz2 go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.tar.lz go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.tar.xz go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.tar.zst go-tangerine-e64625aa8215985c85f97f914a98db081e07714f.zip |
Merge pull request #1332 from bas-vk/ipcbatch
IPC interface improvements
Diffstat (limited to 'rpc/codec/codec.go')
-rw-r--r-- | rpc/codec/codec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/codec/codec.go b/rpc/codec/codec.go index 5e8f38438..3177f77e4 100644 --- a/rpc/codec/codec.go +++ b/rpc/codec/codec.go @@ -12,7 +12,7 @@ type Codec int // (de)serialization support for rpc interface type ApiCoder interface { // Parse message to request from underlying stream - ReadRequest() (*shared.Request, error) + ReadRequest() ([]*shared.Request, bool, error) // Parse response message from underlying stream ReadResponse() (interface{}, error) // Encode response to encoded form in underlying stream |