PoS: get rid of nStakeMinConfirmations, IsConfirmedInNPrevBlocks(), ReadFromDisk()

This commit is contained in:
lateminer
2019-03-19 23:54:30 +03:00
parent 87e1ea76c9
commit 61362bef05
8 changed files with 66 additions and 116 deletions

View File

@@ -118,7 +118,6 @@ public:
consensus.nLastPOWBlock = 10000;
consensus.nStakeTimestampMask = 0xf; // 15
consensus.nCoinbaseMaturity = 500;
consensus.nStakeMinConfirmations = 500;
consensus.nStakeMinAge = 8 * 60 * 60; // 8 hours
// The best chain should have at least this much work.
@@ -209,7 +208,6 @@ public:
consensus.nLastPOWBlock = 0x7fffffff;
consensus.nStakeTimestampMask = 0xf;
consensus.nCoinbaseMaturity = 10;
consensus.nStakeMinConfirmations = 10;
consensus.nStakeMinAge = 8 * 60 * 60;
pchMessageStart[0] = 0xcd;
@@ -307,7 +305,6 @@ public:
consensus.nLastPOWBlock = 1000;
consensus.nStakeTimestampMask = 0xf;
consensus.nCoinbaseMaturity = 10;
consensus.nStakeMinConfirmations = 10;
consensus.nStakeMinAge = 1 * 60 * 60;
pchMessageStart[0] = 0x70;