Skip to content

Commit

Permalink
chainparams: add mainnet assumeutxo param at height 800_000
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Sep 21, 2023
1 parent d5f83a7 commit 24deb20
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/kernel/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,12 @@ class CMainParams : public CChainParams {
};

m_assumeutxo_data = {
// TODO to be specified in a future patch.
{
.height = 800'000,
.hash_serialized = AssumeutxoHash{uint256S("0x7d69b87512db3d13b9758ea32b93ce468d18cf7456fb5d250c9e1bed9339e4d2")},
.nChainTx = 868965226,
.blockhash = uint256S("0x00000000000000000002a7c4c1e48d76c5a37902165a270156b7a8d72728a054")
}
};

chainTxData = ChainTxData{
Expand Down

2 comments on commit 24deb20

@pablomartin4btc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Sjors, after #28685 got merged, please update hash_serialized to 0x3e22f8ceab4ef25240bc7ae186d7dbc955ca13159759bacb0e3c878c7a62d730, if I'm not mistaken.

@pablomartin4btc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My previous statement was wrong, the correct hash_serialezed is '0x6e63799cac0ab45f94789f97692caf691ee66625e920cbf2525fceb24509adda' as now it matches with commit 0800be2 on #28553

Please sign in to comment.