aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-11-17 11:17:09 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-11-19 11:08:29 +0100
commitb4f3e9c09eab533179be8efe478a0f21c3f83e6c (patch)
tree6b89bb89cd487db59149e372a4ed477e928ec0a9 /src/qt/transactiontablemodel.h
parenteac53ec992018a14db6f8a65a7ce333a4c8284cc (diff)
ui: Add "Copy raw transaction data" to transaction list context menu
Add a way to quickly copy transaction hex. Primarily useful when manually submitting transactions, e.g. `-walletbroadcast=0` is set.
Diffstat (limited to 'src/qt/transactiontablemodel.h')
-rw-r--r--src/qt/transactiontablemodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h
index 2089f703a6..601f893d47 100644
--- a/src/qt/transactiontablemodel.h
+++ b/src/qt/transactiontablemodel.h
@@ -60,6 +60,8 @@ public:
TxIDRole,
/** Transaction hash */
TxHashRole,
+ /** Transaction data, hex-encoded */
+ TxHexRole,
/** Is transaction confirmed? */
ConfirmedRole,
/** Formatted amount, without brackets when unconfirmed */