|
|
@ -484,7 +484,7 @@ UniValue setban(const UniValue& params, bool fHelp) |
|
|
|
"\nExamples:\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("setban", "\"192.168.0.6\" \"add\" 86400") |
|
|
|
+ HelpExampleCli("setban", "\"192.168.0.6\" \"add\" 86400") |
|
|
|
+ HelpExampleCli("setban", "\"192.168.0.0/24\" \"add\"") |
|
|
|
+ HelpExampleCli("setban", "\"192.168.0.0/24\" \"add\"") |
|
|
|
+ HelpExampleRpc("setban", "\"192.168.0.6\", \"add\" 86400") |
|
|
|
+ HelpExampleRpc("setban", "\"192.168.0.6\", \"add\", 86400") |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
CSubNet subNet; |
|
|
|
CSubNet subNet; |
|
|
|