diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-04-03 18:57:33 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-05-18 12:59:17 -0400 |
commit | ccb26cf347a6fcc861768bbfbbd652e683ffd5bb (patch) | |
tree | ba68494d972c3a4441bd2268f8a3cf798a2f08e0 /src/wallet/wallet.h | |
parent | d6576e349e8a18289b0b1caa409c4de509250c3b (diff) | |
download | bitcoin-ccb26cf347a6fcc861768bbfbbd652e683ffd5bb.tar.xz |
Batch writes for importmulti
When writing all of the imported data to the wallet, use a common
WalletBatch object so that batch writes are done and the writes
finish more quickly.
AddKeypoolPubkey is no longer needed so it is also removed
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 487fc31e0d..f826f9a137 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -994,7 +994,6 @@ public: bool NewKeyPool(); size_t KeypoolCountExternalKeys() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool TopUpKeyPool(unsigned int kpSize = 0); - void AddKeypoolPubkey(const CPubKey& pubkey, const bool internal); void AddKeypoolPubkeyWithDB(const CPubKey& pubkey, const bool internal, WalletBatch& batch); /** |