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

Method getTxHex

src/qt/transactiontablemodel.cpp:243–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 }
242
243 QString getTxHex(interfaces::Wallet& wallet, TransactionRecord *rec)
244 {
245 auto tx = wallet.getTx(rec->hash);
246 if (tx) {
247 std::string strHex = EncodeHexTx(*tx);
248 return QString::fromStdString(strHex);
249 }
250 return QString();
251 }
252};
253
254TransactionTableModel::TransactionTableModel(const PlatformStyle *_platformStyle, WalletModel *parent):

Callers 1

dataMethod · 0.80

Calls 2

EncodeHexTxFunction · 0.85
getTxMethod · 0.80

Tested by

no test coverage detected