incremental update of coinbase cache
This commit is contained in:
parent
9a4914e6c1
commit
2e6eb9f2b6
@ -3262,7 +3262,9 @@ bool ProcessNewBlock(CValidationState &state, CNode* pfrom, CBlock* pblock, CDis
|
|||||||
|
|
||||||
if(!fLiteMode){
|
if(!fLiteMode){
|
||||||
if (masternodeSync.IsSynced()){
|
if (masternodeSync.IsSynced()){
|
||||||
if(fMasterNode || activeMasternode.status == ACTIVE_MASTERNODE_STARTED) coinbasePayee.BuildIndex(true);
|
CScript payee;
|
||||||
|
CTxIn vin;
|
||||||
|
coinbasePayee.ProcessBlockCoinbaseTX(pblock->vtx[0], pblock->nTime);
|
||||||
darkSendPool.NewBlock();
|
darkSendPool.NewBlock();
|
||||||
masternodePayments.ProcessBlock(GetHeight()+10);
|
masternodePayments.ProcessBlock(GetHeight()+10);
|
||||||
budget.NewBlock();
|
budget.NewBlock();
|
||||||
|
Loading…
Reference in New Issue
Block a user