Commit graph

12953 commits

Author SHA1 Message Date
SomberNight
13dca30428
mac/qt: fix some refresh bugs in swap_dialog and new_channel_dialog
fixes #6269

this is just ugly :/
2020-06-25 22:36:34 +02:00
SomberNight
4216a9164d
qt new_channel_dialog: trivial fix in on_clear() 2020-06-25 22:17:15 +02:00
SomberNight
afbdacbe16
kivy: use on_release instead of on_press in buttons
I think on_release has better UX.
More importantly, on desktop linux with kivy 2.0.0rc2, on_press does not work for me.
(but on Android, with kivy 1.11.1, it does)
2020-06-25 21:55:59 +02:00
SomberNight
212d18d5e6
frozen deps: update coldcard lib
closes #6181
2020-06-25 19:36:43 +02:00
SomberNight
700e62598d
history: allow changing default label of swaps 2020-06-25 19:12:11 +02:00
richard
b1a70be079
Add mempool.space option for mainnet block explorer (#6261)
* Add mempool.space

* Adds mempool.space testnet explorer

Didn't realize they had testnet as well - added
2020-06-25 17:00:20 +00:00
SomberNight
ce726f69aa
lnworker.add_peer: fix #6274 2020-06-25 18:53:14 +02:00
ThomasV
01202ed3eb fix amount_sat in kivy invoice/request dialogs. (follow-up d5f368c584) 2020-06-25 14:39:14 +02:00
SomberNight
10c2183461
handle_error_code_from_failed_htlc: omg brainfart :(
follow-up 85841ba20d
2020-06-24 21:33:44 +02:00
SomberNight
c2111a2616
binaries: use sha256 instead of sha1 for Windows native signing scheme
- our new key now supports both
- note that we don't bother to "dual sign" for both sha1 and sha2, as
  Win7 upwards sha2 is supported (and we already don't support XP, Vista, etc anymore)
2020-06-24 20:23:06 +02:00
SomberNight
d7fe6a2cf3
travis: build binaries if there is a tag (or is master) 2020-06-24 20:00:11 +02:00
SomberNight
f66f69d261
release notes: minor nit 2020-06-24 17:46:37 +02:00
ThomasV
6d6769f1ed
Merge pull request #6259 from SomberNight/20200624_remote_watchtower_must_use_ssl
remote watchtower: enforce that SSL is used, on the client-side
2020-06-24 17:43:14 +02:00
SomberNight
662d0d92bd
remote watchtower: enforce that SSL is used, on the client-side 2020-06-24 16:57:50 +02:00
ThomasV
45c759873c update release notes 2020-06-24 11:50:46 +02:00
SomberNight
a95738f925
requirements: specify min 'attrs' version
related: #6258
2020-06-23 22:49:08 +02:00
SomberNight
040f66a5f0
update RELEASE-NOTES for 4.0.0b0 2020-06-23 21:04:23 +02:00
ThomasV
27f90ad595 update locale submodule 2020-06-23 20:35:28 +02:00
ThomasV
44a216c31d update submodule 2020-06-23 19:25:07 +02:00
SomberNight
15d72705ad
mac build: add camera permission to entitlements.plist
based on 0b5b5fb228
2020-06-23 18:11:50 +02:00
SomberNight
75cdae0e5b
mac build: try to improve .app startup time on MacOS 10.15
Create a pyinstaller "onedir" executable instead of a "onefile" executable.

Note that the name change from "Electrum" to "run_electrum" affects the
name of the internal binary (usually not exposed to users). This is
needed to avoid a collision with the "electrum" folder inside the .app
(just like in the source tree).

based on 03c3eca856

maybe fixes #6225
2020-06-23 18:11:46 +02:00
SomberNight
0b5d9185ff
osx.spec: trivial formatting 2020-06-23 18:11:36 +02:00
ThomasV
a9f6e26d02 update submodule commit 2020-06-23 17:31:56 +02:00
ThomasV
0d156bc3e9
Merge pull request #6256 from SomberNight/202006_invoices_need_msat_precision_2
LN invoices: support msat precision (alt 2nd approach)
2020-06-23 17:30:55 +02:00
SomberNight
1495040f45
lnworker._check_invoice: add sanity check 2020-06-23 15:38:06 +02:00
ThomasV
0b16f8ec3a lnpeer: only process INIT if we are a backup. fixes #6241 2020-06-23 13:12:11 +02:00
ThomasV
436ca11021 swaps dialog: handle make_unsigned_tx exceptions. fixes #6246 2020-06-23 12:02:34 +02:00
SomberNight
d31883a2ea
wallet.export_{request,invoice}: replace 'amount' field with sat/msat
(was failing as 'amount' was Decimal for LN invoices, which cannot be json-serialised)
2020-06-22 23:38:44 +02:00
SomberNight
d5f368c584
LN invoices: support msat precision
fixes #6250
2020-06-22 22:48:13 +02:00
ThomasV
d870778a1b minor: use wallet.has_lightning() 2020-06-22 16:48:14 +02:00
ThomasV
599797c966 swaps: update server URL 2020-06-22 12:15:31 +02:00
ThomasV
4bda882695 Group swap transactions in Qt history (fixes #6237)
- use tree structure of QTreeView
 - grouped items have a 'group_id' field
 - rename 'Normal' swap as 'Forward'
2020-06-22 11:26:49 +02:00
ThomasV
f3c4b8698d
Merge pull request #6248 from hoganri/network-status
Fixes network status "node" vs "nodes" count
2020-06-22 10:39:56 +02:00
SomberNight
85841ba20d
handle_error_code_from_failed_htlc: fix logic bug
the two asserts are supposed to be identical (one was negated)
2020-06-22 04:02:51 +02:00
ghost43
41d9c1988f
Merge pull request #6251 from fanquake/libsecp256k1_no_jni
contrib: update libsecp256k1 configure after upstream bump
2020-06-22 01:52:04 +00:00
SomberNight
89ddc1345d
lnutil.PaymentAttemptLog: fix error formatting
fixes #6249
2020-06-22 03:40:04 +02:00
SomberNight
b6db201570
util: small clean-up for format_satoshis 2020-06-22 02:46:16 +02:00
Richard
973d1875c4 Update network_dialog.py 2020-06-21 16:38:10 -04:00
ThomasV
f91674992f
Merge pull request #6247 from relativisticelectron/readme_fix
Fix Readme to be consistent with commit 485422b072ab6d39ea80efbef8c0f…
2020-06-21 22:21:22 +02:00
relativistic electron
735169bc89 Fix Readme to be consistent with commit 485422b072 2020-06-21 20:51:39 +02:00
SomberNight
2eec7e1600
network: smarter switch_unwanted_fork_interface
Previously this function would not switch to a different chain if the
current chain contained the preferred block. This was not the intended
behaviour: if there is a *stronger* chain that *also* contains the
preferred block, we should jump to that.

Note that with this commit there will now always be a preferred block
(defaults to genesis). Previously, it might seem that often there was none,
but actually in practice if the user used the GUI context menu to switch
servers even once, there was one (usually genesis).

Hence, with the old code, if an attacker mined a single header which
then got reorged, auto_connect clients which were connected to the
attacker's server would never switch servers (jump chains) even
without the user explicitly configuring preference for the stale branch.
2020-06-21 11:31:54 +02:00
SomberNight
9385d2dae3
submarine_swaps: minor clean-up (preimage/locktime) 2020-06-21 08:36:40 +02:00
SomberNight
1ace265992
wallet: simplify get_payment_status 2020-06-21 08:23:07 +02:00
SomberNight
3766420a0b
network: clarify local_height/server_height 2020-06-21 08:20:56 +02:00
SomberNight
06b0669251
lnworker: rm dead code 2020-06-21 05:17:56 +02:00
SomberNight
1321b0e47a
qt channel details: maybe fix #5728 2020-06-21 05:16:27 +02:00
fanquake
3cebbda5b1
contrib: disable building secp256k1 exhaustive tests 2020-06-21 09:08:52 +08:00
fanquake
9f8cb568b9
contrib: disable building secp256k1 benchmarks 2020-06-21 09:08:16 +08:00
fanquake
fec75fba41
contrib: secp256k1 no longer has a --disable-jni option
It was removed in https://github.com/bitcoin-core/secp256k1/pull/682
2020-06-21 09:03:48 +08:00
SomberNight
0f5b58851c
servers: minor refresh to default lists 2020-06-20 03:24:34 +02:00