doc: improve listbanned help

Add descriptions for the address, ban_created, and banned_until fields.
This commit is contained in:
Jarol Rodriguez committed 2021-04-06 18:22:20 -04:00
1 parent dd3c8eaa33
commit c95c61657a
1 file changed
+3 -3
+3 -3
View File
@@ -749,9 +749,9 @@ static RPCHelpMan listbanned()
{
{RPCResult::Type::OBJ, "", "",
{
{RPCResult::Type::STR, "address", ""},
{RPCResult::Type::NUM_TIME, "ban_created", ""},
{RPCResult::Type::NUM_TIME, "banned_until", ""},
{RPCResult::Type::STR, "address", "The IP/Subnet of the banned node"},
{RPCResult::Type::NUM_TIME, "ban_created", "The " + UNIX_EPOCH_TIME + " the ban was created"},
{RPCResult::Type::NUM_TIME, "banned_until", "The " + UNIX_EPOCH_TIME + " the ban expires"},
}},
}},
RPCExamples{