diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-07-06 16:33:34 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-10-20 23:08:57 +0200 |
commit | ae8bfd12daa802d20791e69d3477e799d2b99f45 (patch) | |
tree | 848867135da5954b7155ebe98c09db66d09d5737 /src/wallet.h | |
parent | 450cbb0944cd20a06ce806e6679a1f4c83c50db2 (diff) |
Batch block connection during IBD
During the initial block download (or -loadblock), delay connection
of new blocks a bit, and perform them in a single action. This reduces
the load on the database engine, as subsequent blocks often update an
earlier block's transaction already.
Diffstat (limited to 'src/wallet.h')
-rw-r--r-- | src/wallet.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wallet.h b/src/wallet.h index e0aa077972..8c98f34a5a 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -659,11 +659,7 @@ public: int GetRequestCount() const; void AddSupportingTransactions(); - - bool AcceptWalletTransaction(CCoinsDB& coinsdb, bool fCheckInputs=true); - bool AcceptWalletTransaction(); - - void RelayWalletTransaction(CCoinsDB& coinsdb); + bool AcceptWalletTransaction(bool fCheckInputs=true); void RelayWalletTransaction(); }; |