ThomasV
60d6080fe5
lightning: separate testing from main code
2019-08-20 09:03:09 +02:00
SomberNight
98f46dbaf5
implement script_num_to_hex. fix encoding of argument for CSV in make_commitment
2019-08-20 09:03:09 +02:00
Janus
9617447a0f
lnbase: add lnbase_test
2019-08-20 09:03:09 +02:00
Janus
094b939a24
lightning: qt channel dialog, fix for shutdown when lightning disabled
2019-08-20 09:03:09 +02:00
Janus
0abfcd2b6a
lightning: add --simnet and --lightning switches
2019-08-20 09:03:09 +02:00
Janus
0f6566d11e
lightning: less junk on console, quicker shutdown
2019-08-20 09:03:09 +02:00
Janus
d84eab0418
lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests
2019-08-20 09:03:09 +02:00
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
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
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
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
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
zebra-lucky
e953eebdb9
gui/kivy: fix installwizard back button behaviour
2019-07-28 04:04:20 +03: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
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
SomberNight
e81f4bdcd1
prepare release 3.3.8
2019-07-11 14:51:54 +02:00
SomberNight
8a1052330d
wallet: loosen bump_fee sanity check further
...
fixes #5502
2019-07-10 16:35:40 +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
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