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
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
SomberNight
94888739d3
try to fix "--offline" mode
2020-01-09 19:23:24 +01:00
SomberNight
37747d7469
split network main_taskgroup: create daemon.taskgroup
...
network.main_taskgroup restarts every time the proxy settings are changed,
many long-running tasks (some introduced with lightning) are not prepared for and do not want this.
2020-01-09 19:23:21 +01:00
Nelson Perez
7968531065
Restoring old behavior of the outpoint copy to clipboard feature ( #5879 )
...
* Restoring old behavior of the outpoint copy to clipboard feature
* Small code style adjustments
2020-01-09 01:14:18 +00:00
SomberNight
b14747ecfe
ecc.ECPubkey: add custom __deepcopy__ implementation
...
With python-ecdsa 0.15, copy.deepcopy(ecdsa.ecdsa.Public_key) started to raise.
This fixes the Travis test failures.
Also rm unused ECPrivkey._privkey attribute.
2020-01-08 20:09:45 +01:00
SomberNight
29cf01524a
qt CPFP: handle empty fee field
...
fixes #5875
2020-01-07 17:59:17 +01:00
SomberNight
1059191ebc
qt installwizard: fix empty filename crash
...
Traceback (most recent call last):
File "...\electrum\electrum\gui\qt\installwizard.py", line 256, in on_filename
widget_create_new.setVisible(temp_storage and temp_storage.file_exists())
TypeError: setVisible(self, bool): argument 1 has unexpected type 'NoneType'
2020-01-07 16:53:37 +01:00
SomberNight
d2f132738a
wallet: only select mature coins by default
...
this is a regression from #5721
Removed the `TxInput.is_coinbase` method as I think it is a confusing API,
instead we now have `TxInput.is_coinbase_input` and `TxInput.is_coinbase_output`.
related #5872
2020-01-02 00:43:49 +01:00
SomberNight
6709ec4117
dns hacks on windows: cache dns when using dnspython
...
related #4421
related #5337
2020-01-01 06:23:51 +01:00
SomberNight
2d57a689d9
network/util: increase default timeout of make_aiohttp_session (30->45s)
...
related: #5337
2020-01-01 06:21:20 +01:00
SomberNight
96fa03c11b
fix paying bip70 payment request with Kivy GUI
2019-12-31 03:37:50 +01:00
SomberNight
1d0aa4042a
fix paying bip70 payment request with Qt GUI
2019-12-31 03:08:47 +01:00
SomberNight
787ac5fe99
interface: make changing max incoming msg size (1 MB) easier
2019-12-27 17:43:12 +01:00
Sebastian Hyrwall
967f4d7236
Remove phishing server
2019-12-26 23:47:32 +07:00
SomberNight
ad5c6284c4
commands/jsonrpc: fix specifying "wallet" to commands that need it
2019-12-21 07:00:30 +01:00
SomberNight
2ca535225d
util.standardize_path: properly handle "~" (user's home directory)
...
notably this is needed when the shell itself does not get a chance to expand "~",
e.g. when a path is passed via JSON-RPC
>>> os.path.normcase(os.path.realpath(os.path.abspath("~/.electrum/testnet/wallets/delete_me2")))
'/home/user/wspace/electrum/~/.electrum/testnet/wallets/delete_me2'
>>> os.path.normcase(os.path.realpath(os.path.abspath(os.path.expanduser("~/.electrum/testnet/wallets/delete_me2"))))
'/home/user/.electrum/testnet/wallets/delete_me2'
2019-12-21 06:53:10 +01:00
SomberNight
a8e81c0bd2
keepkey: use libusb to enumerate devices instead of hid
2019-12-20 01:30:10 +01:00
ghost43
ace61d2d20
Merge pull request #5692 from matejcik/trezor-shamir
...
Trezor: support for Shamir backup and recovery
2019-12-19 15:54:41 +00:00
SomberNight
18209fc782
trezor: when restoring, hide Shamir options by default
...
They become visible once user clicks "Show expert settings"
2019-12-19 16:50:35 +01:00
SomberNight
9b28f6df7b
wallet: encrypt storage by default
...
notably, now also in kivy
2019-12-19 14:22:47 +01:00
matejcik
006c6c1a58
trezor: use BIP39 backup by default even if Shamir is available
2019-12-18 12:36:13 +01:00
matejcik
da41e4c289
trezor: bump library requirement
2019-12-18 12:36:13 +01:00
matejcik
3fc70bd97a
trezor: implement support for Shamir recovery
2019-12-18 12:36:13 +01:00