![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "wallet/walletdb.h"#include "fs.h"#include "key_io.h"#include "protocol.h"#include "reverse_iterate.h"#include "sapling/key_io_sapling.h"#include "serialize.h"#include "sync.h"#include "util/system.h"#include "utiltime.h"#include "wallet/wallet.h"#include "wallet/walletutil.h"#include <atomic>#include <boost/thread.hpp>Go to the source code of this file.
Classes | |
| class | CWalletScanState |
Namespaces | |
| DBKeys | |
Typedefs | |
| typedef std::multimap< std::time_t, fs::path > | folder_set_t |
Functions | |
| bool | ReadKeyValue (CWallet *pwallet, CDataStream &ssKey, CDataStream &ssValue, CWalletScanState &wss, std::string &strType, std::string &strErr) |
| void | MaybeCompactWalletDB () |
| Compacts BDB state so that wallet.dat is self-contained (if there are changes) More... | |
| bool | AutoBackupWallet (CWallet &wallet, std::string &strBackupWarning, std::string &strBackupError) |
| Called during init: Automatic backups. More... | |
Variables | |
| const std::string | DBKeys::BESTBLOCK_NOMERKLE {"bestblock_nomerkle"} |
| const std::string | DBKeys::BESTBLOCK {"bestblock"} |
| const std::string | DBKeys::CRYPTED_KEY {"ckey"} |
| const std::string | DBKeys::CSCRIPT {"cscript"} |
| const std::string | DBKeys::DEFAULTKEY {"defaultkey"} |
| const std::string | DBKeys::DESTDATA {"destdata"} |
| const std::string | DBKeys::HDCHAIN {"hdchain"} |
| const std::string | DBKeys::KEYMETA {"keymeta"} |
| const std::string | DBKeys::KEY {"key"} |
| const std::string | DBKeys::MASTER_KEY {"mkey"} |
| const std::string | DBKeys::MINVERSION {"minversion"} |
| const std::string | DBKeys::NAME {"name"} |
| const std::string | DBKeys::ORDERPOSNEXT {"orderposnext"} |
| const std::string | DBKeys::POOL {"pool"} |
| const std::string | DBKeys::PURPOSE {"purpose"} |
| const std::string | DBKeys::TX {"tx"} |
| const std::string | DBKeys::VERSION {"version"} |
| const std::string | DBKeys::WATCHS {"watchs"} |
| const std::string | DBKeys::SAP_KEYMETA {"sapzkeymeta"} |
| const std::string | DBKeys::SAP_KEY {"sapzkey"} |
| const std::string | DBKeys::SAP_KEY_CRIPTED {"csapzkey"} |
| const std::string | DBKeys::SAP_ADDR {"sapzaddr"} |
| const std::string | DBKeys::SAP_COMMON_OVK {"commonovk"} |
| const std::string | DBKeys::SAP_HDCHAIN {"hdchain_sap"} |
| const std::string | DBKeys::SAP_WITNESS_CACHE_SIZE {"witnesscachesize"} |
| const std::string | DBKeys::AUTOCOMBINE {"autocombinesettings"} |
| const std::string | DBKeys::AUTOCOMBINE_V2 {"autocombinesettingsV2"} |
| const std::string | DBKeys::STAKE_SPLIT_THRESHOLD {"stakeSplitThreshold"} |
| const std::string | DBKeys::USE_CUSTOM_FEE {"fUseCustomFee"} |
| const std::string | DBKeys::CUSTOM_FEE_VALUE {"nCustomFee"} |
| typedef std::multimap<std::time_t, fs::path> folder_set_t |
Definition at line 841 of file walletdb.cpp.
| 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.
| bool ReadKeyValue | ( | CWallet * | pwallet, |
| CDataStream & | ssKey, | ||
| CDataStream & | ssValue, | ||
| CWalletScanState & | wss, | ||
| std::string & | strType, | ||
| std::string & | strErr | ||
| ) |
Definition at line 353 of file walletdb.cpp.