Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletmodel.h
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2019 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 <chainparams.h> | ||||
#include <interfaces/wallet.h> | #include <interfaces/wallet.h> | ||||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | public: | ||||
bool privateKeysDisabled() const; | bool privateKeysDisabled() const; | ||||
interfaces::Node &node() const { return m_node; } | interfaces::Node &node() const { return m_node; } | ||||
interfaces::Wallet &wallet() const { return *m_wallet; } | interfaces::Wallet &wallet() const { return *m_wallet; } | ||||
const CChainParams &getChainParams() const; | const CChainParams &getChainParams() const; | ||||
QString getWalletName() const; | QString getWalletName() const; | ||||
QString getDisplayName() const; | |||||
bool isMultiwallet(); | bool isMultiwallet(); | ||||
AddressTableModel *getAddressTableModel() const { | AddressTableModel *getAddressTableModel() const { | ||||
return addressTableModel; | return addressTableModel; | ||||
} | } | ||||
private: | private: | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |