Skip to content

Commit a3789c7

Browse files
committed
Improve getpeerinfo pingtime, minping, and pingwait help docs
1 parent df660dd commit a3789c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rpc/net.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ static RPCHelpMan getpeerinfo()
123123
{RPCResult::Type::NUM, "bytesrecv", "The total bytes received"},
124124
{RPCResult::Type::NUM_TIME, "conntime", "The " + UNIX_EPOCH_TIME + " of the connection"},
125125
{RPCResult::Type::NUM, "timeoffset", "The time offset in seconds"},
126-
{RPCResult::Type::NUM, "pingtime", /*optional=*/true, "ping time (if available)"},
127-
{RPCResult::Type::NUM, "minping", /*optional=*/true, "minimum observed ping time (if any at all)"},
128-
{RPCResult::Type::NUM, "pingwait", /*optional=*/true, "ping wait (if non-zero)"},
126+
{RPCResult::Type::NUM, "pingtime", /*optional=*/true, "The last ping time in milliseconds (ms), if any"},
127+
{RPCResult::Type::NUM, "minping", /*optional=*/true, "The minimum observed ping time in milliseconds (ms), if any"},
128+
{RPCResult::Type::NUM, "pingwait", /*optional=*/true, "The duration in milliseconds (ms) of an outstanding ping (if non-zero)"},
129129
{RPCResult::Type::NUM, "version", "The peer version, such as 70001"},
130130
{RPCResult::Type::STR, "subver", "The string version"},
131131
{RPCResult::Type::BOOL, "inbound", "Inbound (true) or Outbound (false)"},

0 commit comments

Comments
 (0)