aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.h
diff options
context:
space:
mode:
authorw0xlt <94266259+w0xlt@users.noreply.github.com>2021-12-14 20:10:21 -0300
committerw0xlt <94266259+w0xlt@users.noreply.github.com>2021-12-15 18:41:40 -0300
commitabbb7eccef3fc1c36f34756458d2792f6661e29f (patch)
tree11d952213f1d1d8e63e472ed68d358a598be7fa4 /src/wallet/db.h
parent4807f73f48f4ff1084fcf7aee94e5b14592bfda8 (diff)
downloadbitcoin-abbb7eccef3fc1c36f34756458d2792f6661e29f.tar.xz
refactor: Move restorewallet() RPC logic to the wallet section
It also simplifies restorewallet() and loadwallet() RPC error handling.
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r--src/wallet/db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index 7a0d3d2e07..3336099eb9 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -220,6 +220,7 @@ enum class DatabaseStatus {
FAILED_LOAD,
FAILED_VERIFY,
FAILED_ENCRYPT,
+ FAILED_INVALID_BACKUP_FILE,
};
/** Recursively list database paths in directory. */