mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
update block value
This commit is contained in:
parent
f2e05edff4
commit
1554292ee8
@ -1072,8 +1072,10 @@ unsigned int TargetGetLength(unsigned int nBits)
|
||||
bool TargetGetMint(unsigned int nBits, uint64& nMint)
|
||||
{
|
||||
nMint = 0;
|
||||
static uint64 nMintLimit = 50 * COIN;
|
||||
static uint64 nMintLimit = 999llu * COIN;
|
||||
CBigNum bnMint = nMintLimit;
|
||||
if (TargetGetLength(nBits) < nTargetMinLength)
|
||||
return error("TargetGetMint() : length below minimum required, nBits=%08x", nBits);
|
||||
bnMint = (bnMint << nFractionalBits) / nBits;
|
||||
bnMint = (bnMint << nFractionalBits) / nBits;
|
||||
bnMint = (bnMint / CENT) * CENT; // mint value rounded to cent
|
||||
|
Loading…
Reference in New Issue
Block a user