SomberNight
de1ca27d63
tests: rm "needs_test_with_all_ecc_implementations" decorator
...
now libsecp256k1 is the only implementation
2020-02-11 16:46:31 +01:00
SomberNight
0a5ad9fda4
ecc: small API clean-up
2020-02-11 16:42:02 +01:00
SomberNight
288d793893
ecc: use libsecp256k1 for pubkey recovery (from sig and msg)
2020-02-11 16:41:59 +01:00
SomberNight
ab0c70e291
ecc: use libsecp256k1 for signature conversions
...
(instead of python-ecdsa)
2020-02-11 16:41:56 +01:00
SomberNight
ad408ea832
ecc: use libsecp256k1 for sign/verify/mul/add
2020-02-11 16:41:52 +01:00
SomberNight
2cf2135528
ecc: abstract away some usage of python-ecdsa: bytes<->int conversions
2020-02-11 16:41:49 +01:00
SomberNight
004acb906d
ecc: abstract away some usage of python-ecdsa: randrange
2020-02-11 16:41:45 +01:00
ThomasV
a600873cf9
move wrapper definition outside of main_window class
2020-02-11 11:08:33 +01:00
ThomasV
e1ce3aace7
Separate db from storage
...
- storage is content-agnostic
- db and storage are passed to wallet contructor
2020-02-10 17:45:23 +01:00
ThomasV
c61e5db6a9
fixes for text interface
2020-02-08 12:35:07 +01:00
SomberNight
f9960a5fe2
qt: don't clear send tab in broadcast_done
...
no longer needed as fields are already cleared when user clicks Save/Pay
2020-02-07 20:11:08 +01:00
SomberNight
34392e82b9
cosigner pool: easy fix (works but with worse than previous behaviour)
...
got broken as part of PSBT changes in #5721
2020-02-07 20:09:40 +01:00
ThomasV
7bd29ed8fc
regtest: wait_for_balance
2020-02-05 08:56:58 +01:00
SomberNight
9d2629c5c3
blockchain.fork: better exception if datadir was deleted while running
2020-02-04 19:04:38 +01:00
SomberNight
f545d2b716
qt update checker: use longer timeout
...
closes #5899
2020-02-04 18:34:24 +01:00
SomberNight
3835157f41
cli: history commands: only json-encode once
...
closes #5868
closes #5931
2020-02-04 17:56:52 +01:00
ThomasV
dbceed2647
Restructure wallet storage:
...
- Perform json deserializations in wallet_db
- use StoredDict class that keeps tracks of its modifications
2020-02-04 13:35:58 +01:00
ThomasV
0a9e7cb04e
(minor) rename class: StoredAttr -> StoredObject
2020-02-04 13:34:57 +01:00
ThomasV
7507942b7a
(minor) json_db: add file header, fix formatting
2020-02-04 12:43:04 +01:00
ThomasV
b08947a506
storage upgrade: convert lists to dict (txi, txo, revocation_store channels)
2020-02-04 12:11:18 +01:00
ThomasV
63963323be
storage: take the DB lock when writing to disk.
2020-02-03 17:08:34 +01:00
ThomasV
73e656522e
regests: organize tests in two classes
2020-02-03 15:16:15 +01:00
ThomasV
149cd9598a
Separate JsonDB and WalletDB
2020-02-03 12:36:07 +01:00
ThomasV
8118bd1d72
use setEnabled() for Qt menu items: Network, Lightning, Watchtower
2020-02-02 22:40:23 +01:00
ThomasV
4ec86d36a8
faster and improved regtests
...
- print the test name before each test
- start only needed agents (alice, bob, carol)
- set settle_delay using setconfig instead of restarting daemon
- test the watchtower ctn in test_watchtower
2020-02-02 15:07:28 +01:00
ThomasV
cded582fe9
Start watchtower if run_watchtower is set, even if lightning is not activated ( fix #5896 ).
...
Fix parameters of sweepstore.add_sweep_tx, rm dead code.
2020-02-02 12:10:10 +01:00
Alexander Roth
b6a5f6f2fc
Added coloring to the AddressPopup dialog:
...
- Moved the coloring logic (address_colors) from tx_dialog.py to a new file electrum/gui/kivy/util.py
- Added background_color to <RefLabel> in main.kv
- Calling address_colors in the initialization of AddressPopup and setting the foreground and background color
Code cleanup spaces
Code cleanup spaces
Fixed typo
2020-02-01 18:16:26 +01:00
ThomasV
aa51df0a1a
Use attr.s for Feeupdates and Outpoints
...
Storage upgrade to version 23
2020-02-01 16:45:19 +01:00
ThomasV
7472eba78c
lnpeer: code factorization
2020-01-31 13:33:38 +01:00
ThomasV
757467782a
Use attr.s instead of namedtuples for channel config
2020-01-31 12:19:26 +01:00
SomberNight
11452722af
network dns hacks: split from network.py into its own file
2020-01-22 18:32:57 +00:00
SomberNight
cb88a3b6e4
dns hacks on windows: resolve A and AAAA records in parallel
2020-01-22 18:32:57 +00:00
SomberNight
a041a0c075
wallet: log when saving already paid invoice
...
(maybe it should not be allowed?)
2020-01-21 16:50:45 +01:00
SomberNight
34612c671e
fix incorrect type hint
2020-01-21 15:39:34 +01:00
SomberNight
2880c26d87
qt broadcast tx: don't complain about being "offline" for partial tx
2020-01-21 15:12:25 +01:00
SomberNight
cb41a0fe89
qt send tab paytoedit: use monospace font
2020-01-21 14:32:18 +01:00
SomberNight
2e654c9440
qt main_window: trivial clean-up re is_onchain
2020-01-21 14:22:25 +01:00
SomberNight
e9645db182
qt send tab: show "Pay" button even in watch-only wallets
2020-01-21 14:16:23 +01:00
Leo Le Bouter
f81db9cd1d
Add command line option to forget config on exit.
...
By default, Electrum saves the last opened wallet's path as well as
recently opened wallets.
This can be damaging to plausible deniability.
Now it's possible to run Electrum with `--forgetconfig` to not
write to the config at all, which includes the wallet paths.
2020-01-21 13:32:02 +01:00
SomberNight
5fd790dec9
follow-up prev
...
These lists are only visible when non-empty. This interacts badly with
the internals of maybe_defer_update().
2020-01-21 11:51:02 +01:00
SomberNight
1d0fc6665b
qt: defer refreshing tabs until they are visible
...
very loosely based on Electron-Cash/Electron-Cash@522e7ca59e
2020-01-19 07:31:50 +01:00
SomberNight
356a0a2865
qt: clean-up in some MyTreeView children (mv code from update to init)
2020-01-19 07:02:48 +01:00
SomberNight
18c6451518
json_db: only deserialize transactions on-demand
2020-01-19 05:49:12 +01:00
SomberNight
6d270364c6
qt paytoedit: properly handle multiple max ('!') outputs
2020-01-18 04:15:44 +01:00
SomberNight
5cfafff55d
qt main_window: rm require_fee_update (dead code)
2020-01-18 04:15:40 +01:00
SomberNight
b16164da4f
qt paytoedit: fixes for pay-to-many (when including "!")
2020-01-18 04:15:26 +01:00
rbrooklyn
3658f87035
Add block explorer support for mynode.local ( #5892 )
2020-01-17 22:06:34 +00:00
SomberNight
e65ce96f9d
interface: better error msg for main server re SSL cert issues
...
(logger.warning is shown even without -v, if there is a terminal)
closes #5884
2020-01-12 04:29:39 +01:00
SomberNight
a6dd17bfef
fix daemon (don't close instantly)
...
follow-up 37747d7469
2020-01-11 00:04:00 +01:00
SomberNight
0b0139c676
network.get_transaction: move some response validation logic from Synchronizer
2020-01-09 19:23:28 +01:00