Commit graph

1316 commits

Author SHA1 Message Date
SomberNight
1110f13c62
network: allow longer timeouts in _run_new_interface
On Windows box with weird networking setup (VPN, no IPv6, many DNS nameservers
but only some working well), the previous timeouts were too low: they were
reached due to DNS resolution.

related: #4421
2019-04-18 23:05:35 +02:00
ThomasV
9b4e490e3c leave max_button pressed (fix #5251) 2019-04-17 14:18:36 +02:00
SomberNight
c49d5f672c
network: fix proxy case
follow-up "healty spread of servers" d8f3ab0917
2019-04-15 10:49:09 +02:00
SomberNight
2dca91d048
interface: better exception handling for _try_saving_ssl_cert_for_first_time 2019-04-12 22:49:34 +02:00
SomberNight
d8f3ab0917
network: do not connect to multiple servers on same /16
maintain a healthy spread of (IP addresses of) connected servers
2019-04-12 22:32:36 +02:00
SomberNight
7ddc28b0dc
network: cap number of server peers accepted from main server 2019-04-12 22:24:36 +02:00
SomberNight
ecefa47b40
verifier: trivial clean-up 2019-04-12 20:29:05 +02:00
SomberNight
4f2aa53a76
interface: in server.version, send "electrum/3.3.4" as client name
closes #5246
2019-04-12 19:11:25 +02:00
SomberNight
0c1ea909df
kivy: "server lagging" -> show number of blocks 2019-04-12 17:13:10 +02:00
Abdussamad Abdurrazzaq
ffe676bc28 Strip whitespace from amounts when copying. Fix bug in request list where address was copied instead of column specific data (#5228) 2019-04-05 15:59:14 +02:00
SomberNight
441da52b51
fix more DeprecationWarnings 2019-03-27 19:27:45 +01:00
SomberNight
4374b809fa
fix-up prev 2019-03-27 19:01:38 +01:00
Francis Pouliot
a9c13d6641
exchange_rate: add Bylls BTC/CAD rates 2019-03-27 19:00:40 +01:00
SomberNight
bdb6d65cf7
fix some DeprecationWarnings 2019-03-27 18:41:42 +01:00
SomberNight
89871a835e
default servers: rm electrum3.hachre.de
see #5224
2019-03-27 16:43:07 +01:00
SomberNight
1b3f428e88
keystore: speedup for Old_KeyStore
from Electron-Cash/Electron-Cash@01177d7deb
2019-03-27 16:30:21 +01:00
SomberNight
bca6ad5241
verifier: fix logic bug. after reorg, some verifs were not undone
after a reorg, in a many fork/orphan chains scenario,
we would sometimes not undo SPV for enough blocks

functions in blockchain.py somewhat based on kyuupichan/bitcoinX@5126bd15ef
2019-03-26 21:01:43 +01:00
SomberNight
9a71120090
blockchain: fix bug when swapping chain with parent
chain might become the parent of some of its former siblings
2019-03-26 20:55:27 +01:00
SomberNight
199199421d
follow-up prev 2019-03-26 20:42:24 +01:00
ThomasV
46f1fca7c3 remove currency from amount fields in exported history 2019-03-26 18:35:46 +01:00
SomberNight
d07fce0826
windows DNS resolution: handle domain with only AAAA records
this is getting too complicated :/
2019-03-26 16:52:11 +01:00
SomberNight
beacf88420
qt invoice list: fix #5222 2019-03-26 16:38:32 +01:00
SomberNight
c4fb58cd74
windows DNS resolution: follow-up 9b0773cf2b
related: #5176, #4421

prev was failing on systems where
IPv6 is not available but DNS can resolve AAAA records
(my artificial test environment with IPv6 disabled was also filtering AAAA DNS)
2019-03-26 03:07:11 +01:00
SomberNight
1cfac928f9
trustedcoin: longer timeout for server signing
fixes #5221
2019-03-25 23:36:52 +01:00
SomberNight
9b0773cf2b
windows DNS resolution: handle IPv6
related: #5176, #4421
2019-03-25 19:15:19 +01:00
SomberNight
6311aa24a8
follow-up prev 2019-03-22 18:52:57 +01:00
kpstar
d79992b125
android- all fiat currency with history option 2019-03-22 18:20:52 +01:00
SomberNight
6702c335e8
network: (trivial) ignore empty string donation address 2019-03-22 17:30:12 +01:00
SomberNight
8c3ab63504
labels: don't dump trace if failed to connect to server 2019-03-22 17:24:52 +01:00
SomberNight
c23e949848
exchange_rate: change default provider to CoinGecko
closes #5188
2019-03-22 16:55:57 +01:00
SomberNight
5cbf54d23a
exchange_rate: minor clean-up
based on mhsmith/electrum@7ed3f032dd
2019-03-22 16:48:47 +01:00
SomberNight
95a122596e
fx: add CoinGecko and CoinCap
somewhat based on
Electron-Cash/Electron-Cash@b3c76cd311
Electron-Cash/Electron-Cash@adf8f943a1
Electron-Cash/Electron-Cash@8879e41fa0
2019-03-22 16:35:02 +01:00
zebra-lucky
df6cba5af8 fix sign message not accept rich text (#5210)
* fix sign message not accept rich text

* set no rich also to signature/encrypt msg/encrypted fields
2019-03-20 00:46:19 +01:00
SomberNight
3b1ece4c70
interface: if iface conn fails early, don't wait for timeout of 'ready'
Network code is waiting for iface.ready with a timeout.
While network.py code is waiting, the already failed iface takes up a slot
in "connecting".
2019-03-18 21:34:01 +01:00
keepkeyjon
ef7af73bd3
keepkey: support v6.0.0+ firmwares (webusb) 2019-03-17 14:08:23 -06:00
SomberNight
a62bf2a53a
trustedcoin: better UX in Qt when cannot connect to TC server
closes #5184
2019-03-16 20:05:10 +01:00
SomberNight
3b7b81d82b
qt Coins tab: better tooltip for frozen items 2019-03-11 19:03:32 +01:00
SomberNight
95965c8ef4
qt Coins tab: add "Copy ..." option to context menu 2019-03-11 18:55:49 +01:00
SomberNight
24b0943266
qt Coins tab: reorder columns so that outpoint is first 2019-03-11 18:53:53 +01:00
SomberNight
752c518bdc
add option to freeze individual UTXOs
based on cculianu's work in Electron-Cash/Electron-Cash@fd910cffc8
2019-03-11 18:46:29 +01:00
SomberNight
cd40f2c9b7
trivial wallet clean-up 2019-03-10 18:47:23 +01:00
SomberNight
7b4bb19b34
exchange_rate: raise for http status so empty hist rate dicts don't get saved
and if they had already been saved, treat them as if nothing was saved

context: BitcoinAverage started restricting the historical API endpoints.
they now deny unauthenticated requests. :/
2019-03-10 07:41:49 +01:00
SomberNight
1f7b56b455
labels plugin: no need for 'proxy_set' callback 2019-03-09 17:13:06 +01:00
SomberNight
6aa81a8f56
commands: explicitly mention "?"/":" magic chars for "create" cmd
related: #5185
2019-03-09 16:47:19 +01:00
SomberNight
790c889483
qt network dialog: increase min size 2019-03-07 16:33:30 +01:00
SomberNight
eb04551f9a
accept base43-encoded tx in Qt "Load transaction"
When encoding transactions as QR codes, we encode the tx bytes as base43
first. This makes it easier to load a transaction if the user manually
decodes the QR code.
2019-03-05 17:27:53 +01:00
SomberNight
8f5ca40d10
new cli command: get_tx_status 2019-03-05 17:01:54 +01:00
ThomasV
56ced1dfd5 let DB handle addresses 2019-03-05 08:20:34 +01:00
SomberNight
2abc4f6334
wallet: cache get_addr_balance
notably this makes get_history faster; as 40% of the time is spent in
get_addr_balance (without the cache)
2019-03-04 22:19:33 +01:00
SomberNight
514d0ae958
wallet: towards restoring previous performance 2 2019-03-04 18:16:48 +01:00