Browse Source

Update HUSH/DRGX checkpoints

wolfssl_win
onryo 2 months ago
parent
commit
138cd7ab62
  1. 21
      src/chainparams.cpp
  2. 2
      util/checkpoints.pl

21
src/chainparams.cpp

@ -1921,7 +1921,7 @@ void *chainparams_commandline() {
(1620000, uint256S("0x000000048c6667a8724512cbd999bc491ec8522b1f3817001c7ba485dec46d10"))
(1621000, uint256S("0x00000005d981cd3473f8815d18965c0e0035993117390e9659fe8d3b9562c8dc"))
(1622000, uint256S("0x0000000371a1663973c7b19a0b4dd8673f1ddb14a0438c89de3908712437f688"))
// Generated at 1709073559 via hush3 util/checkpoints.pl by onryo
// Generated at 1709141140 via hush3 util/checkpoints.pl by onryo
(1623000, uint256S("0x000000038ed359f4cdcfb54a0ba36a8ac89e4f697836920c28dd038d643064d1"))
(1624000, uint256S("0x00000000ca915eb30164ac2aad328ae5d9d4531bf8ef30c7bdf3c18c0abcdae4"))
(1625000, uint256S("0x0000000303957deb36dc6a3b6597984ca9585172a198342eb102a9d3b9455596"))
@ -1988,10 +1988,11 @@ void *chainparams_commandline() {
(1686000, uint256S("0x000000047a42b4eabe3ffab8d95e3cb1a2d923afcbda4e335374e728777fc474"))
(1687000, uint256S("0x00000003eda47c88b7d313cc525f0511934dacc364d045057eefc2148934cfbb"))
(1688000, uint256S("0x000000040d7bda41689357c29aedb77b016f3cd2ce2bc3ba04c4bdd95d455286"))
(1689000, uint256S("0x0000000128027ca8f7b2dccb44d26946b9df6533f05e63da9d475867c4b251fa"))
,(int64_t) 1709047548, // time of last checkpointed block
(int64_t) 2532221, // total txs
(double) 2900 // txs in the last day before block 1689336
(1689000, uint256S("0x0000000128027ca8f7b2dccb44d26946b9df6533f05e63da9d475867c4b251fa"))
(1690000, uint256S("0x00000002dbbef67d168a562e36ba850e15acfad1172d1134df4f1f4288c9d865"))
,(int64_t) 1709123120, // time of last checkpointed block
(int64_t) 2533194, // total txs
(double) 1555 // txs in the last day before block 1690236
};
// END HUSH mainnet checkpoint data
} else if (strcmp(SMART_CHAIN_SYMBOL,"DRAGONX") == 0) {
@ -2988,7 +2989,7 @@ void *chainparams_commandline() {
(987000, uint256S("0x00002723abb80e9ece84055c113e0caa507177ddc88cb6b8011ecba39b490dd8"))
(988000, uint256S("0x00001938e724c8033d1f60ddd27512f6f358847e96c63def28e85bd40616117c"))
(989000, uint256S("0x00003071ff9188d27f744395aefb1d406cccc15f61b7f79bba0ea9d100475a63"))
// Generated at 1709073764 via hush3 util/checkpoints.pl by onryo
// Generated at 1709141373 via hush3 util/checkpoints.pl by onryo
(990000, uint256S("0x00005340e6855081dd3fade7baa8db18b660ffd272373e67c812c5cf69006300"))
(991000, uint256S("0x000027d07656cbdbd3746495e091388f35c9e2a11a2389174490a9433a9e0da4"))
(992000, uint256S("0x00001413d8eb317a69e45bf44aba0af79c724b45272043307480213bd4e7d653"))
@ -3129,9 +3130,11 @@ void *chainparams_commandline() {
(1127000, uint256S("0x000062ad6d9175ffa331b96444ad6b8b9842d564d359b68ac6b325b80f874f86"))
(1128000, uint256S("0x000030af1516b3d81082bbbf43054f723ea8090c31939f8335e2548861f585b0"))
(1129000, uint256S("0x00004691aec7b3d82d064a112e4a480e48ec3d7fa678862df12ae146265f5482"))
,(int64_t) 1709063880, // time of last checkpointed block
(int64_t) 0, // total txs
(double) 2304 // txs in the last day before block 1129274
(1130000, uint256S("0x000082de552f3b0dbd1a805e08db29f9f60fe020ee88944b0266e55cda2f7e78"))
(1131000, uint256S("0x0000061cc63ed366899e9d4d7c748ac75ae3ef9a32ef60e92cf7c0c306ee9711"))
,(int64_t) 1709135822, // time of last checkpointed block
(int64_t) 1158597, // total txs
(double) 2480 // txs in the last day before block 1131156
};
} else {
// all other HSC's with no checkpoints

2
util/checkpoints.pl

@ -7,7 +7,7 @@ use strict;
# Generate checkpoint data for use in src/chainparams.cpp
my $perday = 1152;
my $cli = "./src/hush-cli -ac_name=DRAGONX";
my $cli = "./src/hush-cli";
my $stride = shift || 1000;
if ($stride =~ m/help/) {
print "To generate checkpoint data every 1000 blocks: $0 &> checkpoints.txt\n";

Loading…
Cancel
Save