@@ -85,7 +85,7 @@ static RPCHelpMan ping()
8585 return RPCHelpMan{
8686 " ping" ,
8787 " 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 "
8989 " Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.\n " ,
9090 {},
9191 RPCResult{RPCResult::Type::NONE, " " , " " },
@@ -150,9 +150,9 @@ static RPCHelpMan getpeerinfo()
150150 {RPCResult::Type::NUM, " bytesrecv" , " The total bytes received" },
151151 {RPCResult::Type::NUM_TIME, " conntime" , " The " + UNIX_EPOCH_TIME + " of the connection" },
152152 {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)" },
156156 {RPCResult::Type::NUM, " version" , " The peer version, such as 70001" },
157157 {RPCResult::Type::STR, " subver" , " The string version" },
158158 {RPCResult::Type::BOOL, " inbound" , " Inbound (true) or Outbound (false)" },
0 commit comments