diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-24 01:30:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-24 01:30:11 +0800 |
commit | f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4 (patch) | |
tree | ee4f85745fc5f863464453edbd47d90d107efd16 /xeth | |
parent | c8e9ca048327d7074cfd58137ebf89e065763b71 (diff) | |
parent | 90c710fd2687a0c9f3b3e4f5f3b9b69febc506e8 (diff) | |
download | dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.tar dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.tar.gz dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.tar.bz2 dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.tar.lz dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.tar.xz dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.tar.zst dexon-f2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 02a691ffb..98f5f5b36 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -12,6 +12,7 @@ import ( "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" + "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/event" @@ -19,7 +20,6 @@ import ( "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/miner" "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/whisper" ) @@ -50,6 +50,8 @@ type Backend interface { StartMining() error StopMining() Version() string + ProtocolVersion() int + NetworkId() int } // Frontend should be implemented by users of XEth. Its methods are |