mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05: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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue