@@ -85,7 +85,7 @@ static RPCHelpMan ping()
85
85
return RPCHelpMan{
86
86
" ping" ,
87
87
" Requests that a ping be sent to all other nodes, to measure ping time.\n "
88
- " Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds .\n "
88
+ " Results are provided in getpeerinfo.\n "
89
89
" Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.\n " ,
90
90
{},
91
91
RPCResult{RPCResult::Type::NONE, " " , " " },
@@ -150,9 +150,9 @@ static RPCHelpMan getpeerinfo()
150
150
{RPCResult::Type::NUM, " bytesrecv" , " The total bytes received" },
151
151
{RPCResult::Type::NUM_TIME, " conntime" , " The " + UNIX_EPOCH_TIME + " of the connection" },
152
152
{RPCResult::Type::NUM, " timeoffset" , " The time offset in seconds" },
153
- {RPCResult::Type::NUM, " pingtime" , /* optional=*/ true , " The last ping time in milliseconds (ms) , if any" },
154
- {RPCResult::Type::NUM, " minping" , /* optional=*/ true , " The minimum observed ping time in milliseconds (ms) , if any" },
155
- {RPCResult::Type::NUM, " pingwait" , /* optional=*/ true , " The duration in milliseconds (ms) of an outstanding ping (if non-zero)" },
153
+ {RPCResult::Type::NUM, " pingtime" , /* optional=*/ true , " The last ping time in seconds , if any" },
154
+ {RPCResult::Type::NUM, " minping" , /* optional=*/ true , " The minimum observed ping time in seconds , if any" },
155
+ {RPCResult::Type::NUM, " pingwait" , /* optional=*/ true , " The duration in seconds of an outstanding ping (if non-zero)" },
156
156
{RPCResult::Type::NUM, " version" , " The peer version, such as 70001" },
157
157
{RPCResult::Type::STR, " subver" , " The string version" },
158
158
{RPCResult::Type::BOOL, " inbound" , " Inbound (true) or Outbound (false)" },
0 commit comments