Roman Zeyde
a0c891d73f
transaction_dialog: allow plugins manipulate transaction sharing buttons
2015-06-29 17:00:31 +03:00
Neil Booth
a23247634c
Remove some unused vars.
2015-06-29 10:44:27 +09:00
ThomasV
9dfe8ff847
tx window: keep a single close message, and raise window after signing
2015-06-28 10:37:08 +02:00
Neil Booth
c35485c1c2
Split tx dialog buttons
...
The "actions" (sign, broadcast, send to cosigner, verify GA instant)
go on the RHS next to the "Cancel" button.
Copy, QR code and save go on the left.
2015-06-27 11:48:27 +09:00
Neil Booth
547886d6f1
Input tx index looks better left-aligned after all
2015-06-27 11:01:42 +09:00
Neil Booth
6c25f637b9
Wrapper func to create and show a TxDialog
...
Add prompt_if_unsaved as explicit argument.
Tested with cosigner pool plugin.
2015-06-27 10:56:01 +09:00
Neil Booth
3d48a2d842
More tx dialog improvements
...
- Show Close if no action to perform, otherwise Cancel
- Add some strings for translation
- Make input hash/index constant width; previously a
3-digit index bumped the address a whole tabstop over
compared to the 1-digit indices
2015-06-26 20:15:51 +09:00
ThomasV
0a8e8ec906
Merge pull request #1316 from kyuupichan/tx_dialog3
...
Distinguish receiving and change addrs in TxDialog
2015-06-26 10:48:52 +02:00
Neil Booth
7e36555ed8
Save the description to the wallet on broadcasting
...
Resolves a long-standing bug with view-before-broadcast
2015-06-26 15:40:41 +09:00
Neil Booth
820f435a9a
Distinguish receiving and change addrs in TxDialog
...
Show change in yellow, receiving in lightgreen (as now).
Numbers are more readable with whitespace.
2015-06-26 11:55:20 +09:00
Neil Booth
56488daf04
Have show-before-broadcast defer password request
...
Show-before-send currently asks for the password
and creates a signed tx before showing anything.
This is a little unnerving as you can't see what
you're being asked to sign.
This patch does a few things:
- Adds a description label to the TX dialog
- You see the tx before being asked for password;
that is only requested on pressing Sign
- in show-before-broadcast mode, the Send button
text is instead "Show...". Hook up this button
text change to the prefs dialog too.
- Remove many redundant imports. In particular
PyQ4 is checked in main_window.py so no need
in tx_dialog too.
Note I had to remove disabling of the Sign button,
because if the user presses "cancel" nothing will
re-enable it.
2015-06-25 15:58:40 +09:00
ThomasV
7e0a80b697
Merge pull request #1275 from kyuupichan/tx_dialog_send_tx
...
Have transaction_dialog use send_tx()
2015-06-24 11:15:30 +02:00
ThomasV
21f505a62c
fix #1290
2015-06-12 05:06:23 +02:00
Neil Booth
4b092628df
Have transaction_dialog use send_tx()
...
This is working towards showing transactions before asking for passwords.
I think it also means the transaction dialog now interacts properly with
plugins, whereas it didn't before.
send_tx now takes a callback instead of a label, and does not decide
on whether to broadast itself; that is left to its caller.
broadcast_transaction() takes care of adding the description of the
successfully broadcast transaction to the wallet. Previously labels
could be added to the wallet even if the broadcast was cancelled by
the user or unsuccessful, which doesn't seem right.
Lengthen the dialog messages a little, as some window managers lose the
"Please Wait" title bar owing to window decorations if the message
is too short.
2015-06-08 07:38:08 +09:00
ThomasV
5a4a9f5369
make txdialog a nonmodal widget
2015-06-07 16:51:27 +02:00
ThomasV
3e4cb396b3
don't disable broadcast button if we are online but not connected
2015-06-03 14:23:11 +02:00
Neil Booth
79de458101
Preparation for moving the set of verified and unverified txs to the wallet.
...
The verifier will retain responsibility for verification, but will no longer
hold the transaction sets itself.
Change requires_fee to take a wallet.
Add new function add_unverified_tx()
Move get_confirmations() to the wallet from the verifier.
2015-05-07 09:21:08 +09:00
ThomasV
6527eae32b
handle adds is None in tx dialog
2015-05-02 16:17:50 +02:00
Roman Zeyde
b5c31cd031
transaction_dialog: hide broadcast button when offline
2015-04-23 09:30:25 +03:00
ThomasV
2f729c2505
add copy button to tx dialog
2015-04-20 14:44:59 +02:00
ThomasV
a3ed4ce2a7
new class to show buttons in LineEdit. fixes #1050
2015-04-20 11:49:27 +02:00
ThomasV
3d1fa1e27f
find_pay_to_pubkey_address
2015-03-30 14:10:46 +02:00
ThomasV
66f7a6d28e
show own addresses in green
2015-03-30 14:10:46 +02:00
ThomasV
e3de121be9
store deserialized tx in/out in wallet file for fast computation
2015-03-30 14:10:46 +02:00
ThomasV
c0e60ec93d
ask user before closing transaction window with unsaved transaction
2015-03-25 10:46:15 +01:00
ThomasV
66de592343
fix tx dialog buttons using new widgets
2015-03-14 19:08:56 +01:00
ThomasV
46c290e30d
use base43 in order to send transactions by QR code
2015-02-26 13:59:29 +01:00
ThomasV
8a495f4071
base64 encode transactions in qr codes
2015-02-26 12:37:45 +01:00
ThomasV
27382c210e
fix messages for i18n
2015-02-02 19:17:08 +01:00
ThomasV
ffbabc63e9
use monospace font in tx window. fixes #897
2014-10-23 16:45:51 +02:00
Tafelpoot
d9c5250a6f
removed trailing whitespace and fixed indentation in history widget
2014-10-21 19:05:51 +02:00
dabura667
14d3b3589d
Show OP_RETURN in tx dialogue
2014-09-07 03:21:44 +09:00
ThomasV
1bb00ff5af
store output type explicitly in tuple
2014-07-08 19:38:16 +02:00
ThomasV
6feebb7da3
tx dialog hooks
2014-06-24 14:48:15 +02:00
ThomasV
2c7bf3ca1a
detect if wallet can sign tx before showing sign button
2014-06-24 13:22:10 +02:00
ThomasV
b32d0c77a3
fix bug with the order of signatures in tx input
2014-06-23 09:42:07 +02:00
ThomasV
37148b72d4
show number of tx signatures in gui
2014-06-22 12:07:41 +02:00
ThomasV
0636ef8b32
compact serialized format for unsigned and partially signed transactions.
2014-06-21 21:06:09 +02:00
ThomasV
be75c9e012
add hook for transaction_dialog
2014-06-20 11:55:34 +02:00
ThomasV
46e431cd62
cleanup dead code
2014-06-19 09:42:19 +02:00
ThomasV
c9fd14e343
transaction show_qr
2014-06-17 16:24:01 +02:00
ThomasV
6d0488c2de
move qr code operations to transaction window and transaction menu
2014-06-12 22:24:10 +02:00
ThomasV
d9db7771f9
tx window: let prent do the broadcast
2014-06-05 17:55:27 +02:00
ThomasV
84954b0778
update calls to is_complete() method. fixes #693
2014-05-21 11:36:37 +02:00
ThomasV
86917c2ff3
handle coinbase transactions explicitly
2014-04-19 10:32:23 +02:00
ThomasV
8b7c3a201c
format inputs so that they fit on one line
2014-04-17 18:08:08 +02:00
ThomasV
1b2f75bb84
do not display tx amounts in an offline wallet
2014-03-15 10:01:25 +01:00
Michael Wozniak
f5fb6ed194
display locktime for transaction
...
display locktime for transactions if it is greater than 0. Majority of
transactions will not display any value because default is 0.
2014-03-05 16:38:34 -05:00
ThomasV
4a97aa1d1e
show txids in the list of transaction inputs
2014-03-02 18:11:56 +01:00
ThomasV
72559fef0e
fix tx dialog
2014-01-08 10:36:01 +01:00
ThomasV
7ead6d18f2
fix tx signing with watching only wallets
2013-11-12 11:14:16 +01:00
Bryan Stitt
6cd4ed486a
fix more bare excepts
2013-11-10 12:30:57 -08:00
Michael Kramlich
5be950322c
FIX: fixed syntax error in gui/qt/transaction_dialog.py (*glares at somebody*)
2013-11-05 16:24:58 -07:00
rdymac
280dd93aa0
Split colon - separate
...
Separate colon symbol for duplicated text strings
2013-11-05 22:13:16 +01:00
ThomasV
877644f732
set default button in tx detail window
2013-09-24 17:00:20 +02:00
ThomasV
4524c107cf
add account menus and details window
2013-09-24 16:55:25 +02:00
ThomasV
2c0814f0d3
simplify gui names
2013-09-24 10:06:03 +02:00