mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
doc: improve listbanned help
Add descriptions for the address, ban_created, and banned_until fields.
This commit is contained in:
parent
dd3c8eaa33
commit
c95c61657a
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user