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
SomberNight
970bd4e95f
qt coin control: introduce second status bar
5 years ago
SomberNight
800c05b32f
qt addresses tab: fix "Spend from"
5 years ago
SomberNight
0c0a6b2145
TxDialog: fix hooks. only show psbt widgets when applicable.
users of 'transaction_dialog' were assuming that dialog.tx is already set
5 years ago
SomberNight
05c496edd1
PreviewTxDialog: small UI changes
5 years ago
SomberNight
9627f32e08
qt utxo list fixes
5 years ago
SomberNight
74790c16f9
PreviewTxDialog: fix RBF checkbox
5 years ago
SomberNight
e7efc3657b
fix Qt tx dialog randomly disappearing (due to gc)
5 years ago
SomberNight
1e77562bcb
qt/confirm_tx_dialog: fix qt warning
QLayout::addChildLayout: layout "" already has a parent
5 years ago