|
|
@ -305,7 +305,6 @@ int main(int argc, char** argv) |
|
|
|
unsigned short remotePort = 30303; |
|
|
|
string dbPath; |
|
|
|
unsigned mining = ~(unsigned)0; |
|
|
|
(void)mining; |
|
|
|
NodeMode mode = NodeMode::Full; |
|
|
|
unsigned peers = 5; |
|
|
|
#if ETH_JSONRPC |
|
|
@ -441,6 +440,8 @@ int main(int argc, char** argv) |
|
|
|
web3.connect(Host::pocHost()); |
|
|
|
if (remoteHost.size()) |
|
|
|
web3.connect(remoteHost, remotePort); |
|
|
|
if (mining) |
|
|
|
c->startMining(); |
|
|
|
|
|
|
|
#if ETH_JSONRPC |
|
|
|
shared_ptr<WebThreeStubServer> jsonrpcServer; |
|
|
|