P2PServer: add connection limits
#87 Added `--out-peers` and `--in-peers` command line options.
This commit is contained in:
@@ -40,6 +40,8 @@ static void usage()
|
||||
"--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"
|
||||
"--out-peers Maximum number of outgoing connections for p2p server (any value between 10 and 1000)\n"
|
||||
"--in-peers Maximum number of incoming connections for p2p server (any value between 10 and 1000)\n"
|
||||
"--help Show this help message\n\n"
|
||||
"Example command line:\n\n"
|
||||
"%s --host 127.0.0.1 --rpc-port 18081 --zmq-port 18083 --wallet YOUR_WALLET_ADDRESS --stratum 0.0.0.0:%d --p2p 0.0.0.0:%d\n\n",
|
||||
|
||||
Reference in New Issue
Block a user