X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.cpp;h=334125fbe98f68d2e56c7409afe36c1fc94aceb6;hb=44f601723c3a1c68de6e613a897e9f8418eb874a;hp=7790c583ee85ccc37d4150731a2c021bc6a3eeca;hpb=a9b672e77d90ac92e47dd67bb81aa6368259f439;p=novacoin.git diff --git a/src/main.cpp b/src/main.cpp index 7790c58..334125f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,7 +59,6 @@ int64 nHPSTimerStart; // Settings int64 nTransactionFee = MIN_TX_FEE; -int64 nBalanceReserve = 0; @@ -2092,6 +2091,11 @@ bool ProcessBlock(CNode* pfrom, CBlock* pblock) } printf("ProcessBlock: ACCEPTED\n"); + + // ppcoin: if responsible for sync-checkpoint send it + if (pfrom && !CSyncCheckpoint::strMasterPrivKey.empty()) + Checkpoints::SendSyncCheckpoint(hashBestChain); + return true; }