diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-03 02:00:58 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-03 02:00:58 +0800 |
commit | 4f20e8f649a19168718a7f0fe7619e3bdb626aa8 (patch) | |
tree | 418210e21d26fcb7c9af0eb4c63b30a8c0af7d88 /ethereum.go | |
parent | 69d83b1da55a2149a402e7fa66721fd98f580801 (diff) | |
download | go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.tar go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.tar.gz go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.tar.bz2 go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.tar.lz go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.tar.xz go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.tar.zst go-tangerine-4f20e8f649a19168718a7f0fe7619e3bdb626aa8.zip |
Implemented first few methods via public api
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ethereum.go b/ethereum.go index 4181f9cd8..6cb1a916f 100644 --- a/ethereum.go +++ b/ethereum.go @@ -4,7 +4,6 @@ import ( "container/list" "github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethdb" - "github.com/ethereum/eth-go/etherpc" "github.com/ethereum/eth-go/ethutil" "github.com/ethereum/eth-go/ethwire" "io/ioutil" @@ -64,7 +63,7 @@ type Ethereum struct { reactor *ethutil.ReactorEngine - RpcServer *etherpc.JsonRpcServer + // TODO: This no worky: RpcServer *etherpc.JsonRpcServer } func New(caps Caps, usePnp bool) (*Ethereum, error) { @@ -341,7 +340,7 @@ func (s *Ethereum) Stop() { s.txPool.Stop() s.stateManager.Stop() - s.RpcServer.Stop() + // TODO: THIS NO WORKY: s.RpcServer.Stop() close(s.shutdownChan) } |