PIVX Core  5.6.99
P2P Digital Currency
stakemodifier.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2013 The PPCoin developers
2 // Copyright (c) 2013-2014 The NovaCoin Developers
3 // Copyright (c) 2014-2018 The BlackCoin Developers
4 // Copyright (c) 2015-2020 The PIVX Core developers
5 // Distributed under the MIT/X11 software license, see the accompanying
6 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
7 
8 #ifndef PIVX_LEGACY_STAKEMODIFIER_H
9 #define PIVX_LEGACY_STAKEMODIFIER_H
10 
11 #include "chain.h"
12 #include "stakeinput.h"
13 
14 // Old Modifier - Only for IBD
15 bool GetOldStakeModifier(CStakeInput* stake, uint64_t& nStakeModifier);
16 bool ComputeNextStakeModifier(const CBlockIndex* pindexPrev, uint64_t& nStakeModifier, bool& fGeneratedStakeModifier);
17 
18 #endif // PIVX_LEGACY_STAKEMODIFIER_H
The block chain is a tree shaped structure starting with the genesis block at the root,...
Definition: chain.h:139
bool GetOldStakeModifier(CStakeInput *stake, uint64_t &nStakeModifier)
bool ComputeNextStakeModifier(const CBlockIndex *pindexPrev, uint64_t &nStakeModifier, bool &fGeneratedStakeModifier)