![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "amount.h"#include "wallet/db.h"#include "wallet/hdchain.h"#include "key.h"#include "keystore.h"#include "script/keyorigin.h"#include <list>#include <stdint.h>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | CKeyMetadata |
| class | WalletBatch |
| Access to the wallet database. More... | |
Typedefs | |
| using | WalletDatabase = BerkeleyDatabase |
| Backend-agnostic database type. More... | |
Enumerations | |
| enum | DBErrors { DB_LOAD_OK , DB_CORRUPT , DB_NONCRITICAL_ERROR , DB_TOO_NEW , DB_LOAD_FAIL , DB_NEED_REWRITE } |
| Error statuses for the wallet database. More... | |
Functions | |
| bool | AutoBackupWallet (CWallet &wallet, std::string &strBackupWarning, std::string &strBackupError) |
| Called during init: Automatic backups. More... | |
| void | MaybeCompactWalletDB () |
| Compacts BDB state so that wallet.dat is self-contained (if there are changes) More... | |
| using WalletDatabase = BerkeleyDatabase |
Backend-agnostic database type.
Definition at line 47 of file walletdb.h.
| enum DBErrors |
Error statuses for the wallet database.
| Enumerator | |
|---|---|
| DB_LOAD_OK | |
| DB_CORRUPT | |
| DB_NONCRITICAL_ERROR | |
| DB_TOO_NEW | |
| DB_LOAD_FAIL | |
| DB_NEED_REWRITE | |
Definition at line 50 of file walletdb.h.
| bool AutoBackupWallet | ( | CWallet & | wallet, |
| std::string & | strBackupWarning, | ||
| std::string & | strBackupError | ||
| ) |
Called during init: Automatic backups.
Definition at line 880 of file walletdb.cpp.
| void MaybeCompactWalletDB | ( | ) |
Compacts BDB state so that wallet.dat is self-contained (if there are changes)
Definition at line 812 of file walletdb.cpp.