X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkernel.cpp;h=bd1cdf302ce68f7f9fc396f8ce42b2bac6744a65;hb=8d43f1482a14263a76c039c227c4383580dcc1db;hp=5a8d3d672068c91e284113e644c4d28aee90a977;hpb=d8f8063eda45b8dec864b28bb98839a2dd3a8170;p=novacoin.git diff --git a/src/kernel.cpp b/src/kernel.cpp index 5a8d3d6..bd1cdf3 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -23,6 +23,9 @@ static std::map mapStakeModifierCheckpoints = ( 37092, 0xd230afccu ) ( 44200, 0x05370164u ) ( 65000, 0xc8e7be6au ) + ( 68600, 0x73a8cc4cu ) + ( 92161, 0xe21a911au ) + ( 98661, 0xd20c44d4u ) ; // Hard checkpoints of stake modifiers to ensure they are deterministic (testNet) @@ -366,13 +369,6 @@ bool CheckProofOfStake(const CTransaction& tx, unsigned int nBits, uint256& hash return true; } -// Check whether the coinstake timestamp meets protocol -bool CheckCoinStakeTimestamp(int64 nTimeBlock, int64 nTimeTx) -{ - // v0.3 protocol - return (nTimeBlock == nTimeTx); -} - // Get stake modifier checksum unsigned int GetStakeModifierChecksum(const CBlockIndex* pindex) {