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

Method copyTransactionOutpoint

src/qt/coincontroldialog.cpp:235–242  ·  view source on GitHub ↗

context menu action: copy transaction id and vout index

Source from the content-addressed store, hash-verified

233
234// context menu action: copy transaction id and vout index
235void CoinControlDialog::copyTransactionOutpoint()
236{
237 const QString address = contextMenuItem->data(COLUMN_ADDRESS, TxHashRole).toString();
238 const QString vout = contextMenuItem->data(COLUMN_ADDRESS, VOutRole).toString();
239 const QString outpoint = QString("%1:%2").arg(address).arg(vout);
240
241 GUIUtil::setClipboard(outpoint);
242}
243
244// context menu action: lock coin
245void CoinControlDialog::lockCoin()

Callers

nothing calls this directly

Calls 2

setClipboardFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected