Skip to content

Commit fa5a967

Browse files
Merge pull request #5219 from PastaPastaPasta/v19.x-bp-rc.2
backport: backport minor changes into v19.x and version bump
2 parents e7c3abe + 593034b commit fa5a967

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ AC_PREREQ([2.69])
22
define(_CLIENT_VERSION_MAJOR, 19)
33
define(_CLIENT_VERSION_MINOR, 0)
44
define(_CLIENT_VERSION_BUILD, 0)
5-
define(_CLIENT_VERSION_RC, 1)
5+
define(_CLIENT_VERSION_RC, 2)
66
define(_CLIENT_VERSION_IS_RELEASE, false)
77
define(_COPYRIGHT_YEAR, 2023)
88
define(_COPYRIGHT_HOLDERS,[The %s developers])

src/chainparams.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ class CMainParams : public CChainParams {
248248

249249
// Deployment of Deployment of Basic BLS, AssetLocks, EHF
250250
consensus.vDeployments[Consensus::DEPLOYMENT_V19].bit = 8;
251-
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nStartTime = 19999999999; // TODO: To be determined later
252-
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nTimeout = 999999999999ULL;
251+
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nStartTime = 1680220800; // Fri, Mar 31, 2023 0:00:00
252+
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nTimeout = 1711843200; // Sun, Mar 31, 2024 00:00:00
253253
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nWindowSize = 4032;
254254
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nThresholdStart = 3226; // 80% of 4032
255255
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nThresholdMin = 2420; // 60% of 4032
@@ -486,7 +486,7 @@ class CTestNetParams : public CChainParams {
486486

487487
// Deployment of Deployment of Basic BLS, AssetLocks, EHF
488488
consensus.vDeployments[Consensus::DEPLOYMENT_V19].bit = 8;
489-
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nStartTime = 19999999999; // TODO: To be determined later
489+
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nStartTime = 1677024000; // Wed, Feb 22, 2023 0:00:00
490490
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nTimeout = 999999999999ULL;
491491
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nWindowSize = 100;
492492
consensus.vDeployments[Consensus::DEPLOYMENT_V19].nThresholdStart = 80; // 80% of 100

src/rpc/evo.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,13 @@ static UniValue protx_register_common_wrapper(const JSONRPCRequest& request,
665665
}
666666
ptx.platformNodeID.SetHex(request.params[paramIdx + 6].get_str());
667667

668-
int32_t requestedPlatformP2PPort = ParseInt32V(request.params[paramIdx + 7].get_str(), "platformP2PPort");
668+
int32_t requestedPlatformP2PPort = ParseInt32V(request.params[paramIdx + 7], "platformP2PPort");
669669
if (!ValidatePlatformPort(requestedPlatformP2PPort)) {
670670
throw JSONRPCError(RPC_INVALID_PARAMETER, "platformP2PPort must be a valid port [1-65535]");
671671
}
672672
ptx.platformP2PPort = static_cast<uint16_t>(requestedPlatformP2PPort);
673673

674-
int32_t requestedPlatformHTTPPort = ParseInt32V(request.params[paramIdx + 8].get_str(), "platformHTTPPort");
674+
int32_t requestedPlatformHTTPPort = ParseInt32V(request.params[paramIdx + 8], "platformHTTPPort");
675675
if (!ValidatePlatformPort(requestedPlatformHTTPPort)) {
676676
throw JSONRPCError(RPC_INVALID_PARAMETER, "platformHTTPPort must be a valid port [1-65535]");
677677
}
@@ -899,13 +899,13 @@ static UniValue protx_update_service_common_wrapper(const JSONRPCRequest& reques
899899
}
900900
ptx.platformNodeID.SetHex(request.params[paramIdx].get_str());
901901

902-
int32_t requestedPlatformP2PPort = ParseInt32V(request.params[paramIdx + 1].get_str(), "platformP2PPort");
902+
int32_t requestedPlatformP2PPort = ParseInt32V(request.params[paramIdx + 1], "platformP2PPort");
903903
if (!ValidatePlatformPort(requestedPlatformP2PPort)) {
904904
throw JSONRPCError(RPC_INVALID_PARAMETER, "platformP2PPort must be a valid port [1-65535]");
905905
}
906906
ptx.platformP2PPort = static_cast<uint16_t>(requestedPlatformP2PPort);
907907

908-
int32_t requestedPlatformHTTPPort = ParseInt32V(request.params[paramIdx + 2].get_str(), "platformHTTPPort");
908+
int32_t requestedPlatformHTTPPort = ParseInt32V(request.params[paramIdx + 2], "platformHTTPPort");
909909
if (!ValidatePlatformPort(requestedPlatformHTTPPort)) {
910910
throw JSONRPCError(RPC_INVALID_PARAMETER, "platformHTTPPort must be a valid port [1-65535]");
911911
}
@@ -1478,6 +1478,7 @@ static UniValue protx_diff(const JSONRPCRequest& request)
14781478
" update_service - Create and send ProUpServTx to network\n"
14791479
" update_service_hpmn - Create and send ProUpServTx to network for a HPMN\n"
14801480
" update_registrar - Create and send ProUpRegTx to network\n"
1481+
" update_registrar_legacy - Create ProUpRegTx by parsing BLS using the legacy scheme, then send it to network\n"
14811482
" revoke - Create and send ProUpRevTx to network\n"
14821483
#endif
14831484
" diff - Calculate a diff and a proof between two masternode lists\n",

0 commit comments

Comments
 (0)