Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletmodel.h
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_QT_WALLETMODEL_H | #ifndef BITCOIN_QT_WALLETMODEL_H | ||||
#define BITCOIN_QT_WALLETMODEL_H | #define BITCOIN_QT_WALLETMODEL_H | ||||
#include "chainparams.h" | |||||
#include "paymentrequestplus.h" | #include "paymentrequestplus.h" | ||||
#include "walletmodeltransaction.h" | #include "walletmodeltransaction.h" | ||||
#include "support/allocators/secure.h" | #include "support/allocators/secure.h" | ||||
#include <map> | #include <map> | ||||
#include <vector> | #include <vector> | ||||
▲ Show 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | public: | ||||
bool transactionCanBeAbandoned(uint256 hash) const; | bool transactionCanBeAbandoned(uint256 hash) const; | ||||
bool abandonTransaction(uint256 hash) const; | bool abandonTransaction(uint256 hash) const; | ||||
static bool isWalletEnabled(); | static bool isWalletEnabled(); | ||||
bool hdEnabled() const; | bool hdEnabled() const; | ||||
int getDefaultConfirmTarget() const; | int getDefaultConfirmTarget() const; | ||||
const CChainParams &getChainParams() const; | |||||
private: | private: | ||||
CWallet *wallet; | CWallet *wallet; | ||||
bool fHaveWatchOnly; | bool fHaveWatchOnly; | ||||
bool fForceCheckBalanceChanged; | bool fForceCheckBalanceChanged; | ||||
// Wallet has an options model for wallet-specific options (transaction fee, | // Wallet has an options model for wallet-specific options (transaction fee, | ||||
// for example) | // for example) | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |