@@ -67,14 +67,15 @@ static RPCArg GetRpcArg(const std::string& strParamName)
67
67
" If not specified, payoutAddress is the one that is going to be used.\n "
68
68
" The private key belonging to this address must be known in your wallet." }
69
69
},
70
- {" ipAndPort" ,
71
- {" ipAndPort" , RPCArg::Type::STR, RPCArg::Optional::NO,
72
- " IP and port in the form \" IP:PORT\" . Must be unique on the network.\n "
70
+ // ip or hostname, and port
71
+ {" hostnameAndPort" ,
72
+ {" hostnameAndPort" , RPCArg::Type::STR, RPCArg::Optional::NO,
73
+ " Host in the form \" HOSTNAME:PORT\" . Must be unique on the network.\n "
73
74
" Can be set to an empty string, which will require a ProUpServTx afterwards." }
74
75
},
75
- {" ipAndPort_update " ,
76
- {" ipAndPort " , RPCArg::Type::STR, RPCArg::Optional::NO,
77
- " IP and port in the form \" IP :PORT\" . Must be unique on the network." }
76
+ {" hostnameAndPort_update " ,
77
+ {" hostnameAndPort " , RPCArg::Type::STR, RPCArg::Optional::NO,
78
+ " Host in the form \" HOSTNAME :PORT\" . Must be unique on the network." }
78
79
},
79
80
{" operatorKey" ,
80
81
{" operatorKey" , RPCArg::Type::STR, RPCArg::Optional::NO,
@@ -367,7 +368,7 @@ static void protx_register_fund_help(const JSONRPCRequest& request, bool legacy)
367
368
+ HELP_REQUIRING_PASSPHRASE,
368
369
{
369
370
GetRpcArg (" collateralAddress" ),
370
- GetRpcArg (" ipAndPort " ),
371
+ GetRpcArg (" hostnameAndPort " ),
371
372
GetRpcArg (" ownerAddress" ),
372
373
legacy ? GetRpcArg (" operatorPubKey_register_legacy" ) : GetRpcArg (" operatorPubKey_register" ),
373
374
GetRpcArg (" votingAddress_register" ),
@@ -402,7 +403,7 @@ static void protx_register_help(const JSONRPCRequest& request, bool legacy)
402
403
{
403
404
GetRpcArg (" collateralHash" ),
404
405
GetRpcArg (" collateralIndex" ),
405
- GetRpcArg (" ipAndPort " ),
406
+ GetRpcArg (" hostnameAndPort " ),
406
407
GetRpcArg (" ownerAddress" ),
407
408
legacy ? GetRpcArg (" operatorPubKey_register_legacy" ) : GetRpcArg (" operatorPubKey_register" ),
408
409
GetRpcArg (" votingAddress_register" ),
@@ -436,7 +437,7 @@ static void protx_register_prepare_help(const JSONRPCRequest& request, bool lega
436
437
{
437
438
GetRpcArg (" collateralHash" ),
438
439
GetRpcArg (" collateralIndex" ),
439
- GetRpcArg (" ipAndPort " ),
440
+ GetRpcArg (" hostnameAndPort " ),
440
441
GetRpcArg (" ownerAddress" ),
441
442
legacy ? GetRpcArg (" operatorPubKey_register_legacy" ) : GetRpcArg (" operatorPubKey_register" ),
442
443
GetRpcArg (" votingAddress_register" ),
@@ -489,7 +490,7 @@ static void protx_register_fund_evo_help(const JSONRPCRequest& request)
489
490
HELP_REQUIRING_PASSPHRASE,
490
491
{
491
492
GetRpcArg (" collateralAddress" ),
492
- GetRpcArg (" ipAndPort " ),
493
+ GetRpcArg (" hostnameAndPort " ),
493
494
GetRpcArg (" ownerAddress" ),
494
495
GetRpcArg (" operatorPubKey_register" ),
495
496
GetRpcArg (" votingAddress_register" ),
@@ -523,7 +524,7 @@ static void protx_register_evo_help(const JSONRPCRequest& request)
523
524
{
524
525
GetRpcArg (" collateralHash" ),
525
526
GetRpcArg (" collateralIndex" ),
526
- GetRpcArg (" ipAndPort " ),
527
+ GetRpcArg (" hostnameAndPort " ),
527
528
GetRpcArg (" ownerAddress" ),
528
529
GetRpcArg (" operatorPubKey_register" ),
529
530
GetRpcArg (" votingAddress_register" ),
@@ -556,7 +557,7 @@ static void protx_register_prepare_evo_help(const JSONRPCRequest& request)
556
557
{
557
558
GetRpcArg (" collateralHash" ),
558
559
GetRpcArg (" collateralIndex" ),
559
- GetRpcArg (" ipAndPort " ),
560
+ GetRpcArg (" hostnameAndPort " ),
560
561
GetRpcArg (" ownerAddress" ),
561
562
GetRpcArg (" operatorPubKey_register" ),
562
563
GetRpcArg (" votingAddress_register" ),
@@ -856,7 +857,7 @@ static void protx_update_service_help(const JSONRPCRequest& request)
856
857
+ HELP_REQUIRING_PASSPHRASE,
857
858
{
858
859
GetRpcArg (" proTxHash" ),
859
- GetRpcArg (" ipAndPort_update " ),
860
+ GetRpcArg (" hostnameAndPort_update " ),
860
861
GetRpcArg (" operatorKey" ),
861
862
GetRpcArg (" operatorPayoutAddress" ),
862
863
GetRpcArg (" feeSourceAddress" ),
@@ -880,7 +881,7 @@ static void protx_update_service_evo_help(const JSONRPCRequest& request)
880
881
HELP_REQUIRING_PASSPHRASE,
881
882
{
882
883
GetRpcArg (" proTxHash" ),
883
- GetRpcArg (" ipAndPort_update " ),
884
+ GetRpcArg (" hostnameAndPort_update " ),
884
885
GetRpcArg (" operatorKey" ),
885
886
GetRpcArg (" platformNodeID" ),
886
887
GetRpcArg (" platformP2PPort" ),
0 commit comments