git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make sure we always have a node to do IBD from
[novacoin.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
fa8f993
..
9a521fe
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-3985,6
+3985,12
@@
bool SendMessages(CNode* pto, bool fSendTrickle)
pto->PushMessage("ping");
}
+ // Start block sync
+ if (pto->fStartSync) {
+ pto->fStartSync = false;
+ pto->PushGetBlocks(pindexBest, uint256(0));
+ }
+
// Resend wallet transactions that haven't gotten in a block yet
ResendWalletTransactions();