ThomasV
8e08ca7cb1
simplify network callbacks in lnworker
5 years ago
ThomasV
b469df5283
check channel funding_tx amount and script in save_short_channel_id
5 years ago
SomberNight
c2b0039935
bitcoin.py: remove some remnants of TYPE_ADDRESS, TYPE_SCRIPT
5 years ago
SomberNight
03cc63205f
trivial: use logger.exception instead of traceback.print_exc
5 years ago
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
5 years ago
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
5 years ago
SomberNight
216d9e3c4d
lnpeer: (fix) force_close_channel was not awaited in some cases
5 years ago
ghost43
d5b27e5be1
Merge pull request #5787 from xaya/http-request-auth
Return 401 from RPC server for missing auth
5 years ago
Daniel Kraft
423c4b0695
Return 401 from RPC server for missing auth.
When no (supported) authentication is passed to the JSON-RPC server,
return a 401 HTTP error code instead of 403. This indicates to the
client that authentication is required, and also requests that to be
sent using the "basic" method. The previously-returned code 403 is now
only returned if authentication is passed but not valid.
There are some JSON-RPC clients out there that only send authentication
after a 401 code requested it. Those fail to connect to the Electrum
RPC interface even if the correct password is configured. Those same
clients can e.g. connect to Bitcoin Core successfully, which already
implements logic matching this change.
See also https://stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses .
5 years ago
SomberNight
6b195437ed
wallet: "future" txns num conf is now negative
flipped the sign so that TxMinedInfo.conf can be consistently used in inequalities
5 years ago
SomberNight
1526bc9ccf
qt: consistently show tooltip when copying to clipboard
5 years ago
Johann Bauer
9fe7917118
Qt: Remove unused color from color scheme
5 years ago
SomberNight
06de2660cf
kivy: support invoices with "max" amount
closes #5781
5 years ago
SomberNight
49284f716b
wallet: bump fee now supports coin selection
related: #5719
5 years ago
SomberNight
fec9677508
qt open channel: minor dialog fixes
5 years ago
SomberNight
cd9477c0da
ln: qt channel open: fix max channel size
5 years ago
SomberNight
ae04434206
ln: update list of fallback nodes
with some popular nodes from 1ml.com
5 years ago
SomberNight
4057140e6a
lightning qr codes: more robust parsing
kivy qr code handling did not accept "lightning:" prefix or uppercase
5 years ago
SomberNight
d1c262def0
qt tx dialog: small clean-up in constructors
5 years ago
SomberNight
97056ae44d
qt send tab: subtract 2fa fee when clicking "spend max"
5 years ago
SomberNight
ca6654c102
qt send tab: don't allow paying multiple invoices that spend max '!'
5 years ago
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.
5 years ago
SomberNight
13b858ab26
qt tx dialog: disable "Finalize" btn if tx is None
e.g. NotEnoughFunds due to too high fee
5 years ago
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.
5 years ago
SomberNight
8bd27851a4
qt tx dialog: only allow "save as local" for complete txns
5 years ago
SomberNight
aa3d817ef2
qt: clean-up imports
5 years ago
SomberNight
b8e4ce9ba1
hardware wallets: handle when label is None
follow-up 56c3de0e1e
5 years ago
ThomasV
aa37979100
fix #5761
5 years ago
ThomasV
b9cf095e1a
fix #5761
5 years ago
ThomasV
ade47e331a
Merge branch 'master' of github.com:spesmilo/electrum
5 years ago
ThomasV
47e0b4cd02
fix #5765
5 years ago
ghost43
f2ca651dc4
Merge pull request #5775 from JeremyRand/resolver-wallet
Fix missing wallet argument to _resolver
5 years ago
JeremyRand
643bc9d802
Fix missing wallet argument to _resolver
5 years ago
ThomasV
6b9971a466
fix #5767
5 years ago
ThomasV
0a8f511340
fix #5772
5 years ago
ThomasV
a453189d37
fix #5766
5 years ago
ThomasV
af21a4a8d6
fix #5770
5 years ago
ThomasV
3083237363
Merge pull request #5768 from lukechilds/ln-negative-red
Show outgoing Lightning payments with red description
5 years ago
ThomasV
e74f7e7b42
fix #5764
5 years ago
Luke Childs
bcae8ed1ad
Show outgoing Lightning paymenst with red description
5 years ago
SomberNight
cbd146ad15
hardware wallets: detect if label changed and update it in wallet file
5 years ago
SomberNight
56c3de0e1e
hardware wallets: better handle label collision when selecting device
related: #5759
5 years ago
SomberNight
6e3875ceab
fix qt seed dialog (follow-up af86c7e3fd
)
5 years ago
SomberNight
600b26eed6
hardware wallets: pull udev rules into our repository
README.md heavily based on 060c7fc618/hwilib/udev/README.md
5 years ago
SomberNight
6ebbaa60ef
old_mnemonic: speed up mn_decode
mn_decode is used by mnemonic.make_seed which now takes around 25% less time
5 years ago
ghost43
bc4f22503f
Merge pull request #5758 from mbarkhau/master
Mnemonic performance improvements
5 years ago
Manuel Barkhau
af86c7e3fd
fix: cache wordlists
5 years ago
Manuel Barkhau
b3f913340c
make Mnemonic.mnemonic_decode faster
list.index(word) is O(n)
dict[word] is O(log(n))
This makes a difference for Mnemonic.make_seed which
calls self.mnemonic_decode repeatedly.
5 years ago
ThomasV
c2c291dd3a
fix #5757
5 years ago
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
5 years ago