Skip to content

Commit

Permalink
Merge pull request #1536 from evoskuil/master
Browse files Browse the repository at this point in the history
Bump default milestone to 840,000 (last halving).
  • Loading branch information
evoskuil authored Oct 22, 2024
2 parents 2e2929d + 5da539b commit d134fa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ settings::settings(chain::selection context) NOEXCEPT
{ "000000002dd5588a74784eaa7ab0507a18ad16a236e7b1ce69f00d7ddfb5d0a6", 33333 },
{ "0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d", 11111 }
};
milestone = { "00000000000000000001a0a448d6cf2546b06801389cc030b2b18c6491266815", 804000 };
milestone = { "0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5", 840000 };
minimum_work = base16_hash("000000000000000000000000000000000000000052b2559353df4117b7348b64");
break;
}
Expand Down
2 changes: 1 addition & 1 deletion test/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE(settings__construct__mainnet_context__expected)
BOOST_REQUIRE_EQUAL(configuration.max_money(), 2099999997690000u);
BOOST_REQUIRE_EQUAL(configuration.checkpoints, mainnet_checkpoints);
BOOST_REQUIRE_EQUAL(configuration.minimum_work, to_uintx(base16_hash("000000000000000000000000000000000000000052b2559353df4117b7348b64")));
const chain::checkpoint milestone("00000000000000000001a0a448d6cf2546b06801389cc030b2b18c6491266815", 804000u);
const chain::checkpoint milestone("0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5", 840000u);
BOOST_REQUIRE_EQUAL(configuration.milestone, milestone);
}

Expand Down

0 comments on commit d134fa5

Please sign in to comment.