MCPcopy Create free account
hub / github.com/ElementsProject/elements / getAddressData

Method getAddressData

src/qt/addresstablemodel.cpp:430–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430bool AddressTableModel::getAddressData(const QString &address,
431 std::string* name,
432 std::string* purpose) const {
433 CTxDestination destination = DecodeDestination(address.toStdString());
434 return walletModel->wallet().getAddress(destination, name, /* is_mine= */ nullptr, purpose);
435}
436
437int AddressTableModel::lookupAddress(const QString &address) const
438{

Callers

nothing calls this directly

Calls 3

DecodeDestinationFunction · 0.85
getAddressMethod · 0.45
walletMethod · 0.45

Tested by

no test coverage detected