aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/packages.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-30 03:41:10 +0800
committerobscuren <geffobscura@gmail.com>2015-01-30 03:41:10 +0800
commitbd992e7baf5da01e97fe4e0c85184716daafa7e5 (patch)
treed159e9d44c6a9b90497d01ba8663865d3f7c8b98 /rpc/packages.go
parent0031f388ac1f6f4a23c5c75e5eeb4a007f0b2f31 (diff)
parent447bad9dbd9ef033332b1166f7ac95aab5b82e43 (diff)
downloaddexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.tar
dexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.tar.gz
dexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.tar.bz2
dexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.tar.lz
dexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.tar.xz
dexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.tar.zst
dexon-bd992e7baf5da01e97fe4e0c85184716daafa7e5.zip
Merge branch 'qt5.4' of github.com-obscure:ethereum/go-ethereum into qt5.4
Conflicts: rpc/message.go
Diffstat (limited to 'rpc/packages.go')
-rw-r--r--rpc/packages.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/rpc/packages.go b/rpc/packages.go
index 2de1f06cd..6136adf49 100644
--- a/rpc/packages.go
+++ b/rpc/packages.go
@@ -40,24 +40,6 @@ import (
"github.com/ethereum/go-ethereum/xeth"
)
-func toHex(b []byte) string {
- return "0x" + ethutil.Bytes2Hex(b)
-}
-func fromHex(s string) []byte {
- if len(s) > 1 {
- if s[0:2] == "0x" {
- s = s[2:]
- }
- return ethutil.Hex2Bytes(s)
- }
- return nil
-}
-
-type RpcServer interface {
- Start()
- Stop()
-}
-
type EthereumApi struct {
xeth *xeth.XEth
filterManager *filter.FilterManager