Daniel Kraft
3f8661b069
Unit tests for Blockchain.verify_header.
...
The function Blockchain.verify_header was previously not covered by tests
at all. Even removing all the tests in it would still make the unit tests
pass. This change adds tests for this important (!) function.
2019-07-28 13:23:20 +02:00
Axel Gembe
84ca7ef306
Build: Set a fixed umask before starting Docker
...
Umask seems to leak into Docker containers and causes the build to
not be reproducible accross different umasks.
-----
taken from Electron-Cash/Electron-Cash@984967b408
2019-07-23 21:24:32 +02:00
ThomasV
2a80f6a3ad
Merge pull request #5520 from ldz1/exchange-fix
...
Exchange fix
2019-07-21 13:28:19 +02:00
ldz1
d17489e971
Removed dead exchange.
2019-07-21 13:15:06 +02:00
ldz1
7dda20c492
Removed dead exchange.
2019-07-21 13:13:51 +02:00
SomberNight
249e3d496b
appimage build: rm "build" folder if present as it makes build non-reproducible
...
AFAICT the "build" is created if you "python setup.py install" electrum,
which is now deprecated in any case.
2019-07-19 04:52:26 +02:00
SomberNight
f60f690ca9
change many str(e) to repr(e) as some exceptions were cryptic
...
it's often valuable to see the type of the exception
(especially as for some exceptions str(e) == '')
2019-07-17 20:12:52 +02:00
SomberNight
40e2b1d6e7
exchange_rate: fix #5495
2019-07-14 14:34:02 +02:00
ThomasV
16f56ccbf0
load version module in make_download
2019-07-11 16:54:47 +02:00
ThomasV
665d6540d7
pass host to upload script
2019-07-11 16:34:33 +02:00
SomberNight
e81f4bdcd1
prepare release 3.3.8
2019-07-11 14:51:54 +02:00
SomberNight
61bf5ce59a
windows build: calculate COFF checksum ourselves
...
closes #5504
2019-07-10 23:44:51 +02:00
SomberNight
c67705e116
appimage build: build was failing on some host systems
...
On Ubuntu host, build succeeded; but e.g. on Manjaro host, it failed with:
```
./build.sh: line 233: /opt/electrum/contrib/build-linux/appimage/../../../contrib/build-linux/appimage/.cache/appimage/appimagetool: No such file or directory
```
2019-07-10 20:26:25 +02:00
SomberNight
8a1052330d
wallet: loosen bump_fee sanity check further
...
fixes #5502
2019-07-10 16:35:40 +02:00
ThomasV
261c492c37
Merge pull request #5494 from SomberNight/tx_signing_perf_20190708
...
transaction: segwit input signing was doing quadratic hashing
2019-07-09 17:41:56 +02:00
SomberNight
cc42b4a226
transaction: segwit input signing was doing quadratic hashing
...
performance improvements are negligible for typical transactions though.
some measurements of wall clock time for Transaction.sign (with libsecp256k1):
0.11 sec -> 0.08 sec ( 61 p2wpkh-p2sh inputs, 1 output)
2.48 sec -> 0.75 sec ( 522 p2wpkh-p2sh inputs, 1 output)
13.2 sec -> 1.8 sec (1445 p2wpkh inputs, 1 output)
176.4 sec -> 7.6 sec (5542 p2wpkh inputs, 1 output)
2019-07-09 17:37:02 +02:00
SomberNight
a14016275b
transaction.serialize_preimage: trivial clean-up
2019-07-08 05:58:57 +02:00
SomberNight
b4bf39ee92
qt coins tab: let user filter by prevout_hash/prevout_n
2019-07-08 05:20:26 +02:00
SomberNight
91d8f12f44
servers: follow-up prev
2019-07-06 00:35:03 +02:00
SomberNight
eb92bda597
servers: rm phishing domain
...
(and update a port)
2019-07-06 00:25:55 +02:00
SomberNight
aadde9be17
transaction: fix remove_signatures
...
closes #5491
2019-07-05 21:16:58 +02:00
SomberNight
cc9ad3ae90
wallet: fix restore_wallet_from_text edge case
...
closes #5490
2019-07-05 19:27:44 +02:00
SomberNight
9b82321fc0
verifier: further sanity checks for SPV verification.
...
Thanks to @JeremyRand
2019-07-05 18:39:40 +02:00
SomberNight
5bf854edcb
android build: make buildozer.spec more similar to upstream example
2019-07-05 00:10:55 +02:00
Axel Gembe
fc65cdaa8a
AppImage: Fix webbrowser.open not opening links
...
There was an issue where webbrowser.open would invoke a program like
kde-open5 that loaded the systems libQt5DBus, which was not satisfied
with the AppImage's libdbus. To fix this we fork the process, unset
LD_LIBRARY_PATH and then open the URL.
fixes #5425
-----
taken from Electron-Cash/Electron-Cash@00939aafd1
2019-07-05 00:02:26 +02:00
Axel Gembe
69b673b8a1
AppImage: Bundle more binaries to increase compatibility
...
This slightly increases the AppImage size but allows us to be more
compatible with older distributions.
-----
taken from Electron-Cash/Electron-Cash@96644acd6f
2019-07-04 23:35:52 +02:00
Axel Gembe
dcecf7db4b
Wine Build: Make it less noisy
...
This suppresses the pip script location warnings, like we already
do for AppImage. It also disables the Wine debugging messages by
setting WINEDEBUG=-all.
-----
taken from Electron-Cash/Electron-Cash@d3685b038e
2019-07-04 22:32:51 +02:00
Axel Gembe
0d1a473bb0
AppImage: Disable pip warnings about script install locations
...
It warns about scripts being installed in a location that is not on the
path, but that is inconsequential as they are not used.
-----
taken from Electron-Cash/Electron-Cash@9a29017c5d
2019-07-04 22:31:56 +02:00
SomberNight
c9006032d9
qt network dialog: let user edit server host/port in peace
...
incoming network updates could keep changing the text fields while
user is editing them
2019-07-04 21:46:11 +02:00
SomberNight
1518c7d133
build macOS README: mention how Qt affects min supported macOS version
2019-07-04 20:53:24 +02:00
SomberNight
93d68a4361
exchange_rate: fix #5487
2019-07-04 19:55:03 +02:00
SomberNight
650225e238
crash reporter UX
...
see #5483
2019-07-04 19:13:12 +02:00
SomberNight
28ca561bba
added trigger_crash method for testing crash reporter
...
invoke via console as:
electrum.base_crash_reporter.trigger_crash()
2019-07-04 18:06:21 +02:00
SomberNight
94b721baa4
wallet: fix type error in _bump_fee_through_decreasing_outputs
...
fixes #5483
2019-07-04 17:23:34 +02:00
SomberNight
194bf84418
build readme nits
...
sudo is needed to rm FRESH_CLONE as docker is running as sudo.
the proper fix would be to have docker not run as sudo...
2019-07-03 21:09:11 +02:00
SomberNight
5ed6a68d8c
update make_locale doc references, and small nits
2019-07-03 17:42:40 +02:00
SomberNight
f1516d60ec
mac build: fix locale in binaries
2019-07-03 17:37:02 +02:00
SomberNight
ec56a4612c
make_tgz: build locale from deterministic submodule
2019-07-03 17:36:29 +02:00
ThomasV
7b7397a8c7
chmod push_locale
2019-07-03 16:20:40 +02:00
ThomasV
5db21134aa
separate push and pull locale
2019-07-03 16:19:26 +02:00
ThomasV
aa00fa2a5c
update submodule
2019-07-03 16:01:10 +02:00
SomberNight
034c1e0828
prepare release 3.3.7
2019-07-03 15:47:05 +02:00
SomberNight
e431a07258
fix prev: conditional import / type hint failure
2019-07-03 13:56:11 +02:00
SomberNight
d293b2e038
wallet: follow-up prev
2019-07-03 13:40:42 +02:00
ThomasV
37e7add776
Do not pass storage to address_synchronizer
2019-07-03 10:46:30 +02:00
SomberNight
fb76fcc886
trezor: use only Bridge when available
...
fixes #5420
2019-07-02 21:21:39 +02:00
SomberNight
53893be4c9
crash reporter: in Qt subclass, do network request using WaitingDialog
...
so it does not block the GUI
2019-07-02 19:27:36 +02:00
SomberNight
1d0f67996e
build-wine: build our own pyinstaller bootloader
...
This seems to reduce anti-virus false positives.
based on:
Electron-Cash/Electron-Cash@1ac12e4111
Electron-Cash/Electron-Cash@9726498e95
Electron-Cash/Electron-Cash@40b1139d67
2019-07-01 22:22:25 +02:00
SomberNight
423d44bcaf
build-wine: some clean-up. cache downloads. better status messages
2019-07-01 20:18:30 +02:00
SomberNight
6455f515f0
build-wine: don't use gpg keyservers
...
based on Electron-Cash/Electron-Cash@a582be04d3
2019-07-01 18:01:14 +02:00