ThomasV
3d04399581
follow-up 7b828359c6
2019-09-12 13:12:48 +02:00
ThomasV
79de0489e3
kivy: do not remove fee from tx value in history (minor)
2019-09-12 12:32:38 +02:00
ThomasV
7b828359c6
simplify get_tx_fee
2019-09-12 12:26:49 +02:00
SomberNight
482605edbb
wallet: organise get_tx_fee. store calculated fees. storage version 19.
2019-09-12 08:59:27 +02:00
ThomasV
5c83e8bd1c
follow-up 241873f0a4
2019-09-12 08:58:58 +02:00
SomberNight
b138fff9a5
wallet: txi/txo small clean-up
2019-09-12 04:07:17 +02:00
SomberNight
241873f0a4
address_synchronizer.get_history now returns HistoryItem(NamedTuple)s
2019-09-12 04:06:51 +02:00
ThomasV
65b88dca86
return fees in history, show them in kivy GUI
2019-09-11 17:49:40 +02:00
ThomasV
a47a2c1b72
follow-up prev
2019-09-11 17:08:03 +02:00
ThomasV
1d82093ca1
fix bug in lightning get_history: filter settled htlcs first
2019-09-11 17:06:07 +02:00
ThomasV
30092cd68c
kivy: request PIN to load_wallet only on android
2019-09-11 16:36:04 +02:00
ThomasV
215dc96de7
define LNWatcher.do_breach_remedy
2019-09-11 11:58:28 +02:00
ThomasV
7370910fee
fix simple_config.estimate_fee
2019-09-11 11:49:32 +02:00
SomberNight
c531c72940
kivy: attempt at handling (some) exceptions on startup
2019-09-10 21:29:13 +02:00
SomberNight
a05dab2c4d
storage: read/write sanity checks
...
related: #4110
supersedes: #4528
2019-09-10 21:17:15 +02:00
SomberNight
4dda162336
qt wizard: turn 'temp_storage' into local variable
2019-09-10 20:19:41 +02:00
SomberNight
9eee36fe00
follow-up prev
2019-09-10 20:18:53 +02:00
SomberNight
098636c69a
fix tests
2019-09-10 19:39:52 +02:00
SomberNight
9c31c1f970
wallet: address_is_old is now checked using SPV (during sync)
2019-09-10 18:26:09 +02:00
SomberNight
b2920db8b8
config: enforce that SimpleConfig is singleton
...
related: #5629
2019-09-10 18:01:10 +02:00
ThomasV
a43be6657d
follow-up on SingleConfig
2019-09-10 17:14:25 +02:00
SomberNight
1a08063928
config: remove 'open_last_wallet' side-effecting
...
related: #5629
2019-09-10 17:10:52 +02:00
SomberNight
d1026b5afe
follow-up: SimpleConfig is supposed to be singleton
...
see cefa4762ba
and #5629
2019-09-10 16:38:10 +02:00
ThomasV
16e293c289
follow-up cefa4762ba
2019-09-10 16:24:21 +02:00
ThomasV
8e4fe051d3
add comment in storage._write
2019-09-10 09:26:07 +02:00
ThomasV
cefa4762ba
do not create multiple instances of SimpleConfig ( fix #5629 ). Add config field to wallet
2019-09-10 08:57:40 +02:00
SomberNight
bcdb72ae93
qt: add some type hints
2019-09-09 22:19:36 +02:00
SomberNight
ef5a5151e3
daemon: make 'wallets' dict private
...
especially as keys (paths) need to be standardized, this should not be exposed
2019-09-09 22:15:11 +02:00
SomberNight
befa8ea771
transaction: kill "name", "csv_delay", "cltv_expiry" fields
2019-09-09 19:38:35 +02:00
ThomasV
e5502a58ba
uncomment breach_remedy in watchtower
2019-09-09 18:49:14 +02:00
ghost43
ddcd77ab36
Merge pull request #5628 from TheCharlatan/fixMultisigDigitalBitBox
...
Digital BitBox: Fix sending to self
2019-09-09 14:37:17 +00:00
TheCharlatan
e7079f1bea
Digital BitBox: Fix sending to self
...
Make sure that a pubkey is only appended to the checkpub array if it
corresponds to a change address. Signing will fail otherwise, if a
non-change pubkey is sent as part of the checkpub list to the Digital
BitBox.
2019-09-09 15:07:51 +02:00
ThomasV
64deb87ade
fix #5513
2019-09-09 11:58:32 +02:00
ThomasV
103a37b0ca
add wallet_path to kwargs in run_cmdline
2019-09-09 09:58:16 +02:00
ThomasV
46ffab0b55
remove --wallet option for daemon. fixes #3752
2019-09-09 06:28:54 +02:00
SomberNight
d1dea9343e
wallet: address_is_old minor clean-up
...
also, synchronize was defined twice in AddressSynchronizer
2019-09-09 01:34:29 +02:00
SomberNight
ccc1897f36
qt addresses list: use IntEnum for dropdown filters
2019-09-09 00:24:22 +02:00
ThomasV
86bd3839df
follo-up 35761d1241
2019-09-08 19:25:35 +02:00
ThomasV
35761d1241
Save remote policy of chanel in wallet file (for private channels)
2019-09-08 19:14:28 +02:00
SomberNight
abde8ff169
wallet: fix maturity off-by-one
...
based on Electron-Cash/Electron-Cash@c70957eb13
2019-09-08 18:26:04 +02:00
SomberNight
e3d5475f03
kivy: commit png icons (for svg resources) into repo
2019-09-08 17:05:06 +02:00
SomberNight
b1dc281cba
kivy amount_dialog: truncate btc amounts to max precision
...
closes #5624
2019-09-08 15:41:10 +02:00
ThomasV
d5d9f5b46c
fix #5618
2019-09-08 12:06:21 +02:00
SomberNight
83fcdbd561
lnchannel: handle htlc-address collisions
...
We were previously generating an incorrect commitment_signed msg if there were
multiple htlcs sharing the same scriptPubKey.
2019-09-07 08:54:41 +02:00
SomberNight
00f15d491b
lnpeer: somewhat nicer log messages
2019-09-07 07:29:22 +02:00
SomberNight
d4da4aa56c
lnrouter: fix off-by-one in NUM_MAX_EDGES_IN_PAYMENT_PATH
2019-09-06 18:36:21 +02:00
SomberNight
25c372a3e0
lnworker.invoices access now uses lock
...
(qt gui thread vs asyncio thread race)
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/gui/qt/main_window.py", line 1685, in do_send
self.pay_lightning_invoice(self.payto_e.lightning_invoice)
File "/home/user/wspace/electrum/electrum/gui/qt/main_window.py", line 1667, in pay_lightning_invoice
self.invoice_list.update()
File "/home/user/wspace/electrum/electrum/gui/qt/invoice_list.py", line 73, in update
_list = self.parent.wallet.get_invoices()
File "/home/user/wspace/electrum/electrum/wallet.py", line 525, in get_invoices
out += self.lnworker.get_invoices()
File "/home/user/wspace/electrum/electrum/util.py", line 401, in
return lambda *args, **kw_args: do_profile(args, kw_args)
File "/home/user/wspace/electrum/electrum/util.py", line 397, in do_profile
o = func(*args, **kw_args)
File "/home/user/wspace/electrum/electrum/lnworker.py", line 1007, in get_invoices
for key, (invoice, direction, status) in self.invoices.items():
RuntimeError: dictionary changed size during iteration
2019-09-06 18:27:47 +02:00
SomberNight
509df9ddaf
create class for ShortChannelID and use it
2019-09-06 18:09:05 +02:00
SomberNight
251db638af
only require libsecp256k1 if lightning is enabled
...
related: #5606
2019-09-06 15:08:15 +02:00
ThomasV
e5ff4fc7cd
fix #5605
2019-09-06 13:43:00 +02:00