Commit Graph

646 Commits

Author SHA1 Message Date
ThomasV c2c291dd3a fix #5757 2019-11-14 10:30:06 +01:00
ThomasV 78813dcb7d Pass make_tx function to ConfirmTxDialog
- allow 'spend max' when opening a channel (fixes #5698)
 - display amount minus fee when 'max' buttons are pressed
 - estimate fee of channel funding using a template with dummy address
2019-11-14 10:20:19 +01:00
SomberNight 970bd4e95f qt coin control: introduce second status bar 2019-11-13 19:09:07 +01:00
SomberNight 800c05b32f qt addresses tab: fix "Spend from" 2019-11-13 05:46:45 +01:00
SomberNight 0c0a6b2145 TxDialog: fix hooks. only show psbt widgets when applicable.
users of 'transaction_dialog' were assuming that dialog.tx is already set
2019-11-12 23:05:01 +01:00
SomberNight 05c496edd1 PreviewTxDialog: small UI changes 2019-11-12 23:04:57 +01:00
SomberNight 9627f32e08 qt utxo list fixes 2019-11-12 23:04:54 +01:00
SomberNight 74790c16f9 PreviewTxDialog: fix RBF checkbox 2019-11-12 23:04:50 +01:00
SomberNight e7efc3657b fix Qt tx dialog randomly disappearing (due to gc) 2019-11-12 23:04:47 +01:00
SomberNight 1e77562bcb qt/confirm_tx_dialog: fix qt warning
QLayout::addChildLayout: layout "" already has a parent
2019-11-12 23:04:42 +01:00
ThomasV 8c3af39a9b add option to pay multiple invoices 2019-11-12 18:37:35 +01:00
ThomasV dd6cb2caf7 GUI: Separate output selection and transaction finalization.
- Output selection belongs in the Send tab.
 - Tx finalization is performed in a confirmation dialog
   (ConfirmTxDialog or PreviewTxDialog)
 - the fee slider is shown in the confirmation dialog
 - coin control works by selecting items in the coins tab
 - user can save invoices and pay them later
 - ConfirmTxDialog is used when opening channels and sweeping keys
2019-11-12 14:42:06 +01:00
SomberNight 2fec17760d qt address list: check internal address corruption when copying address
regressing following c721e880d0

note that place_text_on_clipboard is overridden in AddressList
2019-11-11 15:51:23 +01:00
ThomasV 5773097b08 rename 'copy column' to 'copy' 2019-11-10 07:55:37 +01:00
SomberNight 365aa189f2 qt FileDialogs for transactions: better file extension filter 2019-11-08 15:22:11 +01:00
SomberNight 9ff7d2c5a7 transactions (qt): fix opening raw bytes files
(both when trying to "load tx from file", and "load tx from text" > "browse file")
2019-11-08 15:10:54 +01:00
SomberNight 27df235c26 transactions: reading QR codes: clean-up and accept all encodings 2019-11-07 06:33:15 +01:00
SomberNight aa518c0ea5 psbt: allow insecure signing of legacy UTXOs without full previous tx
When "importing" a psbt, we accept witness utxos even for legacy inputs
(warning shown to user in gui).
When "exporting" a psbt, we follow the spec; except when exporting as a QR code,
in which case we include witness utxos for all inputs.
This makes QR codes for psbts with legacy inputs feasible, just like they
were before, with our custom tx serialization format (with the same risk,
of burning coins as miner fees).
2019-11-07 02:40:10 +01:00
SomberNight 74a46689d8 kivy tx dialog: was missing tx.add_input_from_wallet() call
resulted in e.g. incorrect "tx unrelated to wallet" detection for beyond-gap-limit stuff
2019-11-07 02:26:58 +01:00
SomberNight c8c1ea9c86 qt tx dialog: add export options for coinjoins and for coldcard 2019-11-04 22:25:06 +01:00
SomberNight d872be7f6b psbt: don't put xpubs and full paths into tx by def; only while signing 2019-11-04 22:25:02 +01:00
SomberNight 7eb7eb8674 add support for manual coinjoins 2019-11-04 22:24:55 +01:00
SomberNight bafe8a2fff integrate PSBT support natively. WIP 2019-11-04 22:24:36 +01:00
ghost43 6d12ebabbb qt tx dialog: show dropdown for "export", instead of separate buttons (#5739) 2019-11-04 16:24:55 +00:00
SomberNight 3e98123b17 qt settings dialog: small fixes 2019-11-02 06:13:11 +01:00
SomberNight 3bfcfb49c3 fix qt invoices list: handle lightning disabled
closes #5738
2019-11-02 03:44:22 +01:00
ThomasV 427f7f8eeb fix #5731 2019-10-29 08:06:53 +01:00
SomberNight a20317fe2a fix #5726 2019-10-28 21:17:20 +01:00
ThomasV 7b5869c7bc kivy:
- simplify menu
 - add lightning network dialog
2019-10-25 16:46:52 +02:00
ThomasV 2dd368e76e minor fix: show_transaction params 2019-10-24 18:45:51 +02:00
ThomasV 5c1340b7bd pass both invoice and description to show_transaction 2019-10-24 17:27:14 +02:00
ThomasV 76c22f3e06 follow-up a0ec2690cf 2019-10-24 16:27:54 +02:00
ThomasV 24221584e2 fix clear_requests button 2019-10-24 09:32:40 +02:00
ThomasV a0ec2690cf Call wallet.set_paid after onchain broadcast. Check if invoices are expired in util.get_request_status 2019-10-23 17:33:46 +02:00
ThomasV e35bddcc09 kivy: fix can_pay in invoice_dialog 2019-10-23 08:33:16 +02:00
ThomasV aac0fe9ae6 kivy: show status with color. show inflight attempts. 2019-10-22 15:41:45 +02:00
ThomasV cd86bec894 kivy: add 'delete channel' button 2019-10-22 12:27:55 +02:00
ThomasV 576fbbd074 kivy: minor fixes 2019-10-22 11:59:16 +02:00
ThomasV 6992e33ecb folllow-up c721e880d0 2019-10-16 16:04:17 +02:00
ThomasV c721e880d0 Qt: generic add_copy_menu method for MyTreeView lists 2019-10-16 15:50:18 +02:00
ThomasV 0a6ac7c61a fix #5702 2019-10-16 12:01:52 +02:00
ThomasV d1f4804962 misc Qt fixes
- improve layout of send tab
 - use tabs to show receive widgets
 - add menu item to copy address from request
 - show copied content in copy dialog
2019-10-16 11:46:23 +02:00
ThomasV d35791ff65 fix #5704 2019-10-16 11:35:50 +02:00
ThomasV 8c22be87b0 fix #5701 2019-10-16 11:13:44 +02:00
fiatjaf b476681af7 fix typo: wallet.requests -> wallet.receive_requests (#5706) 2019-10-15 13:22:05 +00:00
ThomasV 3af7920b63 fix typo 2019-10-14 12:02:04 +02:00
ThomasV 1b0521cabd kivy: toggle lightning dialog 2019-10-14 11:59:04 +02:00
ThomasV a13cea6f8a add remove_lightning command 2019-10-14 11:18:57 +02:00
ThomasV 90ce9f195b Allow user to enable lightning in the GUI. Make it a per-wallet setting. 2019-10-13 20:34:38 +02:00
ThomasV a201ed44df Qt: add lightning button to status bar 2019-10-12 19:27:14 +02:00