Commit graph

2004 commits

Author SHA1 Message Date
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
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
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
5ed6a68d8c
update make_locale doc references, and small nits 2019-07-03 17:42:40 +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
7c5247081b
change electrum.png to square (by padding)
ran "appimagelint" and apparently icon file needs to be a square
(could have just created another copy, but I guess a square icon
might make sense in other cases too)
2019-07-01 15:00:21 +02:00
SomberNight
4c63eca896
wallet.bump_fee: loosen sanity check a tiny bit 2019-06-29 16:22:37 +02:00
SomberNight
4f51308eab
coinchooser: clarify docs for make_tx 2019-06-29 16:21:07 +02:00
SomberNight
72d06038a7
synchronizer: fix race in _on_address_status
Triggering needs two consecutive scripthash status changes
in very quick succession. Client gets notification from server,
but then response to "blockchain.scripthash.get_history" will already contain
the changed-again history that has a different status.

20190627T101547.902638Z |     INFO | synchronizer.[default_wallet] | receiving history mwXtx49BCGAiy4tU1r7MBX5VVLWSdtasCL 1
20190627T101547.903262Z |     INFO | synchronizer.[default_wallet] | error: status mismatch: mwXtx49BCGAiy4tU1r7MBX5VVLWSdtasCL
2019-06-29 06:03:14 +02:00
SomberNight
37809bed74
qt high dpi: fix some text fields
There are probably other DPI related issues though.

closes #5471
closes #4597
closes #1927
2019-06-29 05:27:28 +02:00
SomberNight
e7304ce23e
TorDetector: minor clean-up 2019-06-29 04:03:29 +02:00
nachunjae
8a4e307b78 Update block explorer URL for btc.com (#5438)
* update block explorer URL for btc.com
2019-06-29 03:54:53 +02:00
SomberNight
f405c3fbdd
ledger: (trivial) rm some remnants of hw1 setup 2019-06-29 02:28:00 +02:00
SomberNight
935ab9a12f
interface: check if future already done in handle_disconnect
future could get cancelled in network.py in which case set_result raised
2019-06-28 21:13:33 +02:00
SomberNight
c6a54f05f5
wallet: some performance optimisations for get_receiving_addresses
jsondb takes a copy of the whole self.receiving_addresses
good for avoiding race conditions but horrible for performance...
this significantly speeds up at least
- synchronize_sequence, and
- is_beyond_limit (used by Qt AddressList)
2019-06-28 20:20:24 +02:00
SomberNight
a2bffb9137
network: harden against eclipse attacks 2019-06-27 19:10:25 +02:00