MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / WalletModel

Method WalletModel

src/qt/walletmodel.cpp:43–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using wallet::DEFAULT_DISABLE_WALLET;
42
43WalletModel::WalletModel(std::unique_ptr<interfaces::Wallet> wallet, ClientModel& client_model, const PlatformStyle *platformStyle, QObject *parent) :
44 QObject(parent),
45 m_wallet(std::move(wallet)),
46 m_client_model(&client_model),
47 m_node(client_model.node()),
48 optionsModel(client_model.getOptionsModel()),
49 timer(new QTimer(this))
50{
51 addressTableModel = new AddressTableModel(this);
52 transactionTableModel = new TransactionTableModel(platformStyle, this);
53 recentRequestsTableModel = new RecentRequestsTableModel(this);
54
55 subscribeToCoreSignals();
56}
57
58WalletModel::~WalletModel()
59{

Callers

nothing calls this directly

Calls 1

getOptionsModelMethod · 0.45

Tested by

no test coverage detected