SomberNight
d2a8028cde
qt receive tab: show plain bitcoin address
2019-12-07 06:06:36 +01:00
SomberNight
20bbe85bce
receive requests: encode lightning invoices as uppercase -> smaller QRs
...
By encoding bolt11 invoices as uppercase text in QR codes,
we can use the alphanumeric mode, which results in non-negligibly smaller QR codes.
2019-12-07 05:58:58 +01:00
SomberNight
d81110014e
qt requests/invoices: use TreeView.sortByColumn instead of model.sort
...
sort the view, not the model
This way, qt will display the icon indicating the sort order on the relevant column header.
2019-12-07 04:28:08 +01:00
SomberNight
e0eb3c18eb
qt ConfirmTxDialog: don't catch BaseException for make_tx
...
not sure what it is supposed to catch...
The examples I could come up with would all be actual bugs;
in which case we should let the exception propagate out to the crash reporter.
2019-12-06 20:41:51 +01:00
SomberNight
61aebd0f2d
(fix) qt coin selection: signatures for coins would persist in memory
...
Scenario: select some UTXOs in the 'Coins' tab. Create a tx and sign it.
Close the tx dialog without broadcasting/etc (cancel tx).
Signatures would remain for selected UTXOs.
Create new tx -> invalid sigs.
2019-12-06 19:45:55 +01:00
ThomasV
7a080352f8
Merge pull request #5809 from SomberNight/201911_invoice_paid_detection
...
wallet: better (outgoing) invoice "paid" detection
2019-11-29 18:24:08 +01:00
SomberNight
8dbbc21aff
wallet: better (outgoing) invoice "paid" detection
...
- no more passing around "invoice" in GUIs, invoice "paid" detection is now handled by wallet logic
- a tx can now pay for multiple invoices
- an invoice can now be paid by multiple txs (through partial payments)
- new data structure in storage: prevouts_by_scripthash
- type: scripthash -> set of (outpoint, value)
- also, storage upgrade to build this for existing wallets
2019-11-29 15:06:16 +01:00
roth
2ce8dd460b
Color-Code Addresses in Kivy UI ( #5774 )
...
* Added static coloring of the TX output dialog.
Coloring was suggested in #5750
2019-11-28 20:40:28 +00:00
SomberNight
4007720b34
qt history list: rm and fix magic number
2019-11-27 20:29:49 +01:00
SomberNight
cee2083134
qt history list: fix UnboundLocalError when searching
...
closes #5801
2019-11-27 04:30:38 +01:00
SomberNight
ddeb176b3d
kivy: fix open_channel (API was changed)
2019-11-23 20:50:30 +01:00
SomberNight
557987d4eb
add/fix some open_channel related type hints
2019-11-23 20:28:46 +01:00
ThomasV
fd8236538a
Open lightning channels with partially signed tx.
...
Fixes #5379 .
2019-11-23 19:49:12 +01:00
ThomasV
9c9ceb702a
fix #5729
2019-11-23 15:12:16 +01:00
ThomasV
b9e5edd704
fix #5728
2019-11-23 14:51:39 +01:00
ThomasV
06589df812
simplify add_transaction
2019-11-23 12:46:43 +01:00
ThomasV
fc85dcead6
follow-up previous commit
2019-11-23 11:37:01 +01:00
ThomasV
6c62fb03ac
fix #5733
2019-11-23 11:02:31 +01:00
ThomasV
61dfcba092
Refactor channel states:
...
- persisted states are saved
- state transitions are checked
- transient states are stored in channel.peer_state
- new channel states: 'PREOPENING', 'FUNDED' and 'REDEEMED'
- upgrade storage to version 21
2019-11-22 20:14:54 +01:00
SomberNight
03cc63205f
trivial: use logger.exception instead of traceback.print_exc
2019-11-21 17:55:00 +01:00
SomberNight
6f246a83b3
qt coin selection: allow selecting an empty set
...
Using this, the user can force "bump fee" not to add new inputs.
closes #5719
2019-11-21 17:46:00 +01:00
SomberNight
11f54aee60
qt utxo list: spend_list is now a set (and renamed)
...
this is a small performance improvement ("if x in spend_list" was linear)
and the "order" of selected coins does not matter anyway
2019-11-21 17:21:54 +01:00
SomberNight
1526bc9ccf
qt: consistently show tooltip when copying to clipboard
2019-11-21 03:01:55 +01:00
Johann Bauer
9fe7917118
Qt: Remove unused color from color scheme
2019-11-20 21:11:41 +01:00
SomberNight
49284f716b
wallet: bump fee now supports coin selection
...
related: #5719
2019-11-20 18:43:05 +01:00
SomberNight
fec9677508
qt open channel: minor dialog fixes
2019-11-20 18:00:45 +01:00
SomberNight
cd9477c0da
ln: qt channel open: fix max channel size
2019-11-20 17:45:28 +01:00
SomberNight
4057140e6a
lightning qr codes: more robust parsing
...
kivy qr code handling did not accept "lightning:" prefix or uppercase
2019-11-20 03:21:59 +01:00
SomberNight
d1c262def0
qt tx dialog: small clean-up in constructors
2019-11-19 22:17:52 +01:00
SomberNight
97056ae44d
qt send tab: subtract 2fa fee when clicking "spend max"
2019-11-19 21:22:49 +01:00
SomberNight
ca6654c102
qt send tab: don't allow paying multiple invoices that spend max '!'
2019-11-19 20:26:50 +01:00
SomberNight
710e9621b5
qt tx dialog: allow blanking feerate
...
Previously it was impossible to rm the last character in feerate_edit.
e.g. if you held down "backspace", we would keep refilling the field as soon
as it became empty.
2019-11-19 20:13:16 +01:00
SomberNight
13b858ab26
qt tx dialog: disable "Finalize" btn if tx is None
...
e.g. NotEnoughFunds due to too high fee
2019-11-19 19:35:57 +01:00
SomberNight
66ddedb97e
qt tx dialog: small fee edit fix
...
scenario: enter extremely high feerate (which we cannot satisfy) then click into fee_edit.
At that moment, fee_edit is empty and both feerate_edit and fee_edit are considered frozen.
As fee_edit has priority, we would construct a tx with default fee.
Now, instead, we won't construct this default fee tx ~as if the click to fee_edit did not happen.
2019-11-19 19:29:10 +01:00
SomberNight
8bd27851a4
qt tx dialog: only allow "save as local" for complete txns
2019-11-19 18:41:44 +01:00
SomberNight
aa3d817ef2
qt: clean-up imports
2019-11-18 20:56:49 +01:00
ThomasV
aa37979100
fix #5761
2019-11-18 10:22:20 +01:00
ThomasV
b9cf095e1a
fix #5761
2019-11-18 05:48:21 +01:00
ThomasV
47e0b4cd02
fix #5765
2019-11-18 05:12:13 +01:00
ThomasV
6b9971a466
fix #5767
2019-11-17 19:29:48 +01:00
ThomasV
0a8f511340
fix #5772
2019-11-17 19:25:11 +01:00
ThomasV
a453189d37
fix #5766
2019-11-17 17:08:09 +01:00
ThomasV
af21a4a8d6
fix #5770
2019-11-17 16:58:35 +01:00
ThomasV
3083237363
Merge pull request #5768 from lukechilds/ln-negative-red
...
Show outgoing Lightning payments with red description
2019-11-17 13:58:16 +01:00
ThomasV
e74f7e7b42
fix #5764
2019-11-17 13:48:19 +01:00
Luke Childs
bcae8ed1ad
Show outgoing Lightning paymenst with red description
2019-11-17 15:28:17 +07:00
SomberNight
6e3875ceab
fix qt seed dialog (follow-up af86c7e3fd
)
2019-11-15 23:50:05 +01:00
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