// version 2 starts from block 1009827, which is on or around the 20th of March, 2016. Fork time finalised on 2015-09-20. No fork voting occurs for the v2 fork.
{2,1009827,0,1442763710},
// version 3 starts from block 1141317, which is on or around the 24th of September, 2016. Fork time finalised on 2016-03-21.
{3,1141317,0,1458558528},
// version 4 starts from block 1220516, which is on or around the 5th of January, 2017. Fork time finalised on 2016-09-18.
{4,1220516,0,1483574400},
// version 5 starts from block 1288616, which is on or around the 15th of April, 2017. Fork time finalised on 2017-03-14.
{5,1288616,0,1489520158},
// version 6 starts from block 1400000, which is on or around the 16th of September, 2017. Fork time finalised on 2017-08-18.
{6,1400000,0,1503046577},
// version 7 starts from block 1546000, which is on or around the 6th of April, 2018. Fork time finalised on 2018-03-17.
{7,1546000,0,1521303150},
// version 8 starts from block 1685555, which is on or around the 18th of October, 2018. Fork time finalised on 2018-09-02.
{8,1685555,0,1535889547},
// version 9 starts from block 1686275, which is on or around the 19th of October, 2018. Fork time finalised on 2018-09-02.
{9,1686275,0,1535889548},
// version 10 starts from block 1788000, which is on or around the 9th of March, 2019. Fork time finalised on 2019-02-10.
{10,1788000,0,1549792439},
// version 11 starts from block 1788720, which is on or around the 10th of March, 2019. Fork time finalised on 2019-02-15.
{11,1788720,0,1550225678},
// version 12 starts from block 1978433, which is on or around the 30th of November, 2019. Fork time finalised on 2019-10-18.
// version 2 starts from block 624634, which is on or around the 23rd of November, 2015. Fork time finalised on 2015-11-20. No fork voting occurs for the v2 fork.
{2,624634,0,1445355000},
// versions 3-5 were passed in rapid succession from September 18th, 2016
{3,800500,0,1472415034},
{4,801219,0,1472415035},
{5,802660,0,1472415036+86400*180},// add 5 months on testnet to shut the update warning up since there's a large gap to v6
"--wallet Wallet address to mine to. Subaddresses and integrated addresses are not supported!\n"
"--host IP address of your Monero node, default is 127.0.0.1\n"
"--rpc-port monerod RPC API port number, default is 18081\n"
"--zmq-port monerod ZMQ pub port number, default is 18083 (same port as in monerod's \"--zmq-pub\" command line parameter)\n"
"--host IP address of your Wownero node, default is 127.0.0.1\n"
"--rpc-port wownerod RPC API port number, default is 34570\n"
"--zmq-port wownerod ZMQ pub port number, default is 44571 (same port as in wownerod's \"--zmq-pub\" command line parameter)\n"
"--stratum Comma-separated list of IP:port for stratum server to listen on\n"
"--p2p Comma-separated list of IP:port for p2p server to listen on\n"
"--addpeers Comma-separated list of IP:port of other p2pool nodes to connect to\n"
@ -41,19 +41,19 @@ void p2pool_usage()
"--stratum-api An alias for --local-api\n"
"--no-cache Disable p2pool.cache\n"
"--no-color Disable colors in console output\n"
"--no-randomx Disable internal RandomX hasher: p2pool will use RPC calls to monerod to check PoW hashes\n"
"--no-randomx Disable internal RandomX hasher: p2pool will use RPC calls to wownerod to check PoW hashes\n"
"--out-peers N Maximum number of outgoing connections for p2p server (any value between 10 and 450)\n"
"--in-peers N Maximum number of incoming connections for p2p server (any value between 10 and 450)\n"
"--start-mining N Start built-in miner using N threads (any value between 1 and 64)\n"
"--mini Connect to p2pool-mini sidechain. Note that it will also change default p2p port from %d to %d\n"
"--no-autodiff Disable automatic difficulty adjustment for miners connected to stratum\n"
"--rpc-login Specify username[:password] required for Monero RPC server\n"
"--rpc-login Specify username[:password] required for Wownerod RPC server\n"
"--socks5 Specify IP:port of a SOCKS5 proxy to use for outgoing connections\n"
"--no-dns disable DNS queries, use only IP addresses to connect to peers (seed node DNS will be unavailable too)\n"
"--p2p-external-port port number that your router uses for mapping to your local p2p port. Use it if you are behind a NAT and still want to accept incoming connections\n"
LOGWARN(3,"peer "<<static_cast<char*>(m_addrString)<<" is ahead on mainchain (height "<<peer_height<<", your height "<<our_height<<"). Is your monerod stuck or lagging?");
LOGWARN(3,"peer "<<static_cast<char*>(m_addrString)<<" is ahead on mainchain (height "<<peer_height<<", your height "<<our_height<<"). Is your wownerod stuck or lagging?");
LOGERR(1,"monerod RPC v"<<version_hi<<'.'<<version_lo<<" is incompatible, update to RPC >= v"<<required_version_hi<<'.'<<required_version_lo<<" (Monero v0.18.0.0 or newer)");
LOGERR(1,"wownerod RPC v"<<version_hi<<'.'<<version_lo<<" is incompatible, update to RPC >= v"<<required_version_hi<<'.'<<required_version_lo<<" (Wownero v0.11.0.0 or newer)");