mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-27 07:14:48 +00:00
Added notes for mining.cpp for GetNodeCount.
This commit is contained in:
parent
0a3cd4eccd
commit
f9a7c7d3cb
@ -443,6 +443,11 @@ UniValue getblocktemplate(const JSONRPCRequest& request)
|
||||
|
||||
/*
|
||||
// JWU disable for now!!!
|
||||
// JWU To make this work:
|
||||
// 1. On connecting clint, use option: -connect=192.168.x.x
|
||||
// 2. Make sure both have correct next work required in pow.cpp.
|
||||
// 3. Use -maxtipage=24*60*60*n, where n is the number of days the tip has not
|
||||
// been updated. Otherwise IsInitialBlockDownload will be true.
|
||||
if (g_connman->GetNodeCount(CConnman::CONNECTIONS_ALL) == 0)
|
||||
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Litecoin is not connected!");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user