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

Method getTxHex

src/qt/transactiontablemodel.cpp:208–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 QString getTxHex(interfaces::Wallet& wallet, TransactionRecord *rec)
209 {
210 auto tx = wallet.getTx(rec->hash);
211 if (tx) {
212 std::string strHex = EncodeHexTx(*tx);
213 return QString::fromStdString(strHex);
214 }
215 return QString();
216 }
217};
218
219TransactionTableModel::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