1
0
Commit Graph

11614 Commits

Author SHA1 Message Date
Janus
98f6f67c6b lightning: misc patches, launch asyncio loop on separate thread 2019-08-20 09:03:09 +02:00
Janus
ad5aac1383 lightning: march 2018 rebase, without integration 2019-08-20 09:03:09 +02:00
ThomasV
9c454726f4 rename WizardChoiceDialog (ambiguous) 2019-08-20 09:02:33 +02:00
SomberNight
bffc2a1d4b wizard: try harder to have temporarily stored pw erased from memory 2019-08-14 17:27:38 +02:00
SomberNight
25a1ed048f qt preferences: cast some config values to bool
to gracefully handle unexpected values

fixes #5562
2019-08-14 17:15:03 +02:00
ThomasV
b42009acb7 signtransaction: pass pubkey to tx.sign (fix #5522) 2019-08-14 12:49:35 +02:00
ThomasV
1d637ef988 fix #5558 2019-08-14 12:00:36 +02:00
ThomasV
aa7aeb9014 disable go_back button in wizard password dialog (fix #5509) 2019-08-14 10:14:28 +02:00
SomberNight
e62d652f14 (trivial) time.clock is deprecated, replace with time.process_time 2019-08-14 02:18:08 +02:00
SomberNight
bf7beba60c kivy wizard: script type dialog now uses toggle buttons 2019-08-13 20:12:27 +02:00
SomberNight
bcbd52d752 kivy wizard: dedicated button for seed options
previously user had to touch the text field itself
2019-08-13 19:19:50 +02:00
ThomasV
a7b61fcab9 kivy: support bip39 seeds 2019-08-13 17:14:54 +02:00
SomberNight
95ae42b998 kivy wizard: undo Window.bind callbacks
related: #5534
2019-08-13 17:12:42 +02:00
Christian Clauss
e34afd62ce Travis CI: Use flake8 to find Python syntax errors and undefined names (#5467) 2019-08-11 22:35:23 +00:00
ThomasV
9eebb306f2 Merge pull request #5550 from zebra-lucky/fix_qt_gui_qrcodewidget_pen
qt gui: fix qrcodewidget pen for retina display
2019-08-10 10:08:47 +02:00
zebra-lucky
93724ba33a qt gui: fix qrcodewidget pen for retina display 2019-08-10 03:18:15 +03:00
SomberNight
1c75d939d9 commands: change API of "make_seed" and "create" commands
instead of "segwit" boolean, take a "seed_type" optional arg
default seed_type to "segwit"
previously these commands created legacy seeds by defalt
2019-08-09 22:02:01 +02:00
SomberNight
0ec9f79402 rerun freeze_packages 2019-08-09 21:28:35 +02:00
SomberNight
018b962e61 requirements: allow using newer pycryptodomex
upper bound was previously added in cb4784c8ed
issue linked there was fixed in pyinstaller 3.5,
which we now use since ab95eff5aa
2019-08-09 21:27:13 +02:00
SomberNight
fc5248550c appimage build: change base to ubuntu 16.04
ubuntu 14.04 is EOL
2019-08-09 20:56:20 +02:00
SomberNight
dfad0f43c0 ledger nano: fix monospace font on Windows, and text readability 2019-08-09 20:18:38 +02:00
SomberNight
be4cf321e0 ledger: remove mobile pairing 2FA support for Ledger Nano
service no longer provided by Ledger; app not in Google Play Store any more

based on Electron-Cash/Electron-Cash#1298
2019-08-09 19:54:09 +02:00
SomberNight
ab95eff5aa build: update pyinstaller to 3.5 2019-08-09 19:13:12 +02:00
SomberNight
c8e2653690 wine build: pin build dependencies
"pip install pyinstaller" was "silently" grabbing unpinned dependencies
2019-08-09 19:05:32 +02:00
SomberNight
d4e16001bb update block header checkpoints 2019-08-09 18:59:21 +02:00
SomberNight
8c91deb621 storage: better error msg on unsupported seed version 2019-08-09 18:11:50 +02:00
SomberNight
9547fb7b06 qt console: accept kwargs for commands.py methods
e.g. make_seed(nbits=264, segwit=True)

also allow setting "password" as a kwarg
2019-08-06 05:20:53 +02:00
ThomasV
3a35ab2574 Merge pull request #5534 from zebra-lucky/kivy_installwizard_back_button
gui/kivy: fix installwizard back button behaviour
2019-08-02 12:06:06 +02:00
ThomasV
d9a67c6e5d Merge pull request #5542 from gballet/fix-electrum-env-for-freebsd
Fix electrum-env on FreeBSD
2019-08-02 08:38:08 +02:00
SomberNight
8390da9b7b bitcoin.py: dedupe pubkeyhash_to_p2pkh_script 2019-07-31 01:18:51 +02:00
SomberNight
a10dc04b28 wallet: fix offline hw wallet signing when not specifying --offline
closes #5532
2019-07-29 13:27:37 +02:00
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
Guillaume Ballet
fc220c17ec Make sure bash can be found on *BSD 2019-07-28 07:08:56 +00:00
zebra-lucky
e953eebdb9 gui/kivy: fix installwizard back button behaviour 2019-07-28 04:04:20 +03: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 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