@@ -448,11 +448,11 @@ static UniValue getnetworkinfo(const JSONRPCRequest& request)
448
448
" Returns an object containing various state info regarding P2P networking.\n " ,
449
449
{},
450
450
RPCResult{
451
- " {\n "
451
+ " { (json object) \n "
452
452
" \" version\" : xxxxx, (numeric) the server version\n "
453
- " \" subversion\" : \" /Satoshi:x.x.x/ \" , (string) the server subversion string\n "
453
+ " \" subversion\" : \" str \" , (string) the server subversion string\n "
454
454
" \" protocolversion\" : xxxxx, (numeric) the protocol version\n "
455
- " \" localservices\" : \" xxxxxxxxxxxxxxxx \" , (string) the services we offer to the network\n "
455
+ " \" localservices\" : \" hex \" , (string) the services we offer to the network\n "
456
456
" \" localservicesnames\" : [ (array) the services we offer to the network, in human-readable form\n "
457
457
" \" SERVICE_NAME\" , (string) the service name\n "
458
458
" ...\n "
@@ -462,26 +462,26 @@ static UniValue getnetworkinfo(const JSONRPCRequest& request)
462
462
" \" connections\" : xxxxx, (numeric) the number of connections\n "
463
463
" \" networkactive\" : true|false, (bool) whether p2p networking is enabled\n "
464
464
" \" networks\" : [ (array) information per network\n "
465
- " {\n "
466
- " \" name\" : \" xxx \" , (string) network (ipv4, ipv6 or onion)\n "
465
+ " { (json object) \n "
466
+ " \" name\" : \" str \" , (string) network (ipv4, ipv6 or onion)\n "
467
467
" \" limited\" : true|false, (boolean) is the network limited using -onlynet?\n "
468
468
" \" reachable\" : true|false, (boolean) is the network reachable?\n "
469
- " \" proxy\" : \" host:port \" (string) the proxy that is used for this network, or empty if none\n "
470
- " \" proxy_randomize_credentials\" : true|false, (string ) Whether randomized credentials are used\n "
471
- " }\n "
472
- " , ...\n "
469
+ " \" proxy\" : \" str \" (string) ( \" host:port \" ) the proxy that is used for this network, or empty if none\n "
470
+ " \" proxy_randomize_credentials\" : true|false, (bool ) Whether randomized credentials are used\n "
471
+ " }, \n "
472
+ " ...\n "
473
473
" ],\n "
474
474
" \" relayfee\" : x.xxxxxxxx, (numeric) minimum relay fee for transactions in " + CURRENCY_UNIT + " /kB\n "
475
475
" \" incrementalfee\" : x.xxxxxxxx, (numeric) minimum fee increment for mempool limiting or BIP 125 replacement in " + CURRENCY_UNIT + " /kB\n "
476
476
" \" localaddresses\" : [ (array) list of local addresses\n "
477
- " {\n "
478
- " \" address\" : \" xxxx\" , (string) network address\n "
477
+ " { (json object) \n "
478
+ " \" address\" : \" xxxx\" , (string) network address\n "
479
479
" \" port\" : xxx, (numeric) network port\n "
480
480
" \" score\" : xxx (numeric) relative score\n "
481
- " }\n "
482
- " , ...\n "
483
- " ]\n "
484
- " \" warnings\" : \" ... \" (string) any network and blockchain warnings\n "
481
+ " }, \n "
482
+ " ...\n "
483
+ " ], \n "
484
+ " \" warnings\" : \" str \" , (string) any network and blockchain warnings\n "
485
485
" }\n "
486
486
},
487
487
RPCExamples{
0 commit comments