diff options
author | Jarol Rodriguez <jarolrod@tutanota.com> | 2021-04-06 18:18:52 -0400 |
---|---|---|
committer | Jarol Rodriguez <jarolrod@tutanota.com> | 2021-04-06 18:22:20 -0400 |
commit | c95c61657afd058b46549fb3d65633d7c736f5fc (patch) | |
tree | 2b8a23227d6a23f59fb0b229f89c99266fb7b649 /src | |
parent | dd3c8eaa3399b28dc78a883ff78cbe7cc5c31b5b (diff) |
doc: improve listbanned help
Add descriptions for the address, ban_created, and banned_until fields.
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/net.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 41e5ea1c6c..27ff6bcdaf 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -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{ |