MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / NotifyAddressBookChanged

Function NotifyAddressBookChanged

src/qt/walletmodel.cpp:387–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387static void NotifyAddressBookChanged(WalletModel *walletmodel,
388 const CTxDestination &address, const std::string &label, bool isMine,
389 const std::string &purpose, ChangeType status)
390{
391 QString strAddress = QString::fromStdString(EncodeDestination(address));
392 QString strLabel = QString::fromStdString(label);
393 QString strPurpose = QString::fromStdString(purpose);
394
395 qDebug() << "NotifyAddressBookChanged: " + strAddress + " " + strLabel + " isMine=" + QString::number(isMine) + " purpose=" + strPurpose + " status=" + QString::number(status);
396 QMetaObject::invokeMethod(walletmodel, "updateAddressBook", Qt::QueuedConnection,
397 Q_ARG(QString, strAddress),
398 Q_ARG(QString, strLabel),
399 Q_ARG(bool, isMine),
400 Q_ARG(QString, strPurpose),
401 Q_ARG(int, status));
402}
403
404static void NotifyTransactionChanged(WalletModel *walletmodel, const uint256 &hash, ChangeType status)
405{

Callers 2

SetAddressBookMethod · 0.85
DelAddressBookMethod · 0.85

Calls 1

EncodeDestinationFunction · 0.85

Tested by

no test coverage detected