@@ -270,13 +270,31 @@ class SigNetParams : public CChainParams {
270
270
vSeeds.emplace_back (" 178.128.221.177" );
271
271
vSeeds.emplace_back (" 2a01:7c8:d005:390::5" );
272
272
vSeeds.emplace_back (" ntv3mtqw5wt63red.onion:38333" );
273
+
274
+ consensus.nMinimumChainWork = uint256S (" 0x0000000000000000000000000000000000000000000000000000000d145533ce" );
275
+ consensus.defaultAssumeValid = uint256S (" 0x00000128807d9175c494e24d805fc7854f7d79aa965cbb128342ad8b70cecfa5" ); // 5348
276
+ m_assumed_blockchain_size = 1 ;
277
+ m_assumed_chain_state_size = 0 ;
278
+ chainTxData = ChainTxData{
279
+ // Data from RPC: getchaintxstats 4096 00000128807d9175c494e24d805fc7854f7d79aa965cbb128342ad8b70cecfa5
280
+ /* nTime */ 1601382000 ,
281
+ /* nTxCount */ 5435 ,
282
+ /* dTxRate */ 0.001898346323372538 ,
283
+ };
273
284
} else {
274
285
const auto signet_challenge = args.GetArgs (" -signetchallenge" );
275
286
if (signet_challenge.size () != 1 ) {
276
287
throw std::runtime_error (strprintf (" %s: -signetchallenge cannot be multiple values." , __func__));
277
288
}
278
289
bin = ParseHex (signet_challenge[0 ]);
279
290
291
+ m_assumed_blockchain_size = 0 ;
292
+ m_assumed_chain_state_size = 0 ;
293
+ chainTxData = ChainTxData{
294
+ 0 ,
295
+ 0 ,
296
+ 0 ,
297
+ };
280
298
LogPrintf (" Signet with challenge %s\n " , signet_challenge[0 ]);
281
299
}
282
300
@@ -313,8 +331,6 @@ class SigNetParams : public CChainParams {
313
331
314
332
nDefaultPort = 38333 ;
315
333
nPruneAfterHeight = 1000 ;
316
- m_assumed_blockchain_size = 0 ;
317
- m_assumed_chain_state_size = 0 ;
318
334
319
335
genesis = CreateGenesisBlock (1598918400 , 52613770 , 0x1e0377ae , 1 , 50 * COIN);
320
336
consensus.hashGenesisBlock = genesis.GetHash ();
@@ -335,12 +351,6 @@ class SigNetParams : public CChainParams {
335
351
fRequireStandard = true ;
336
352
m_is_test_chain = true ;
337
353
m_is_mockable_chain = false ;
338
-
339
- chainTxData = ChainTxData{
340
- 0 ,
341
- 0 ,
342
- 0
343
- };
344
354
}
345
355
};
346
356
0 commit comments