From c95c61657afd058b46549fb3d65633d7c736f5fc Mon Sep 17 00:00:00 2001 From: Jarol Rodriguez Date: Tue, 6 Apr 2021 18:18:52 -0400 Subject: [PATCH] doc: improve listbanned help Add descriptions for the address, ban_created, and banned_until fields. --- src/rpc/net.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 41e5ea1c6c1..27ff6bcdafc 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{