test
This commit is contained in:
20
src/main.cpp
20
src/main.cpp
@@ -1428,18 +1428,20 @@ extern uint64_t ASSETCHAINS_SUPPLY;
|
||||
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
|
||||
{
|
||||
CAmount nSubsidy = 3 * COIN;
|
||||
if ( nHeight == 1 )
|
||||
if ( ASSETCHAINS_SYMBOL[0] == 0 )
|
||||
{
|
||||
if ( ASSETCHAINS_SYMBOL[0] == 0 )
|
||||
if ( nHeight == 1 )
|
||||
return(100000000 * COIN); // ICO allocation
|
||||
else
|
||||
{
|
||||
return(ASSETCHAINS_SUPPLY * COIN + (ASSETCHAINS_MAGIC & 0xffffff));
|
||||
}
|
||||
else if ( komodo_moneysupply(nHeight) < MAX_MONEY )
|
||||
return(3 * COIN);
|
||||
else return(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( nHeight == 1 )
|
||||
return(ASSETCHAINS_SUPPLY * COIN + (ASSETCHAINS_MAGIC & 0xffffff));
|
||||
else return(10000);
|
||||
}
|
||||
else if ( komodo_moneysupply(nHeight) < MAX_MONEY )
|
||||
return(3 * COIN);
|
||||
else return(0);
|
||||
/*
|
||||
// Mining slow start
|
||||
// The subsidy is ramped up linearly, skipping the middle payout of
|
||||
|
||||
Reference in New Issue
Block a user