-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: merge bitcoin#20130, #19077, #20156, #20216, #20308, #20324, #20202, #20275, #21634, #21540, #21962, #25378, #23112 (sqlite) #5072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This pull request has conflicts, please rebase. |
|
@UdjinM6 can you look at the single test failure here and try to provide support? |
|
UdjinM6@4171852 should fix |
caf192e to
e5cf20b
Compare
|
This pull request has conflicts, please rebase. |
922805e to
a22e6ed
Compare
0b8e6e4 to
5a621fd
Compare
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
19077 should be marked partial probably + see a question below
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-utACK for merging via merge commit
Diff looks correct
|
Not sure I like the latest push... how about smth like diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 4d9a7dc89e..d0d2f6a50d 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -40,9 +40,6 @@
#include <wallet/coincontrol.h>
#include <wallet/coinselection.h>
#include <wallet/fees.h>
-#ifdef USE_SQLITE
-#include <wallet/sqlite.h>
-#endif
#include <walletinitinterface.h>
#include <warnings.h>
@@ -4636,12 +4633,10 @@ bool CWallet::AutoBackupWallet(const fs::path& wallet_path, bilingual_str& error
strWalletName = "wallet.dat";
}
-#ifdef USE_SQLITE
- if (IsSQLiteFile(SQLiteDataFile(wallet_path))) {
- WalletLogPrintf("Automatic wallet backups are not supported with SQLite!\n");
+ if (!IsBDBFile(BDBDataFile(wallet_path))) {
+ WalletLogPrintf("Can't backup a non-BDB file!\n");
return false;
}
-#endif
if (nWalletBackups <= 0) {
WalletLogPrintf("Automatic wallet backups are disabled!\n");? |
50c5831 to
c4e83ff
Compare
|
Changes made in latest push |
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
utACK
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK for merging via merge commit
…nd use it for new descriptor wallets
c4e83ff to
ca962a6
Compare
## Issue being fixed or feature implemented fixing a few trivial issues we missed while reviewing #5072 ## What was done? see code ## How Has This Been Tested? tests are ✅ locally ## Breaking Changes n/a ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation **For repository code-owners and collaborators only** - [x] I have assigned this pull request to a milestone
Issue being fixed or feature implemented
What was done?
How Has This Been Tested?
Breaking Changes
Checklist:
For repository code-owners and collaborators only