Implemented first few methods via public api
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user