@@ -128,9 +128,6 @@ static RPCHelpMan getpeerinfo()
128128 {RPCResult::Type::BOOL, " inbound" , " Inbound (true) or Outbound (false)" },
129129 {RPCResult::Type::BOOL, " bip152_hb_to" , " Whether we selected peer as (compact blocks) high-bandwidth peer" },
130130 {RPCResult::Type::BOOL, " bip152_hb_from" , " Whether peer selected us as (compact blocks) high-bandwidth peer" },
131- {RPCResult::Type::STR, " connection_type" , " Type of connection: \n " + Join (CONNECTION_TYPE_DOC, " ,\n " ) + " .\n "
132- " Please note this output is unlikely to be stable in upcoming releases as we iterate to\n "
133- " best capture connection behaviors." },
134131 {RPCResult::Type::NUM, " startingheight" , " The starting height (block) of the peer" },
135132 {RPCResult::Type::NUM, " synced_headers" , " The last header we have in common with this peer" },
136133 {RPCResult::Type::NUM, " synced_blocks" , " The last block we have in common with this peer" },
@@ -156,6 +153,9 @@ static RPCHelpMan getpeerinfo()
156153 " Only known message types can appear as keys in the object and all bytes received\n "
157154 " of unknown message types are listed under '" +NET_MESSAGE_COMMAND_OTHER+" '." }
158155 }},
156+ {RPCResult::Type::STR, " connection_type" , " Type of connection: \n " + Join (CONNECTION_TYPE_DOC, " ,\n " ) + " .\n "
157+ " Please note this output is unlikely to be stable in upcoming releases as we iterate to\n "
158+ " best capture connection behaviors." },
159159 }},
160160 }},
161161 },
0 commit comments