electrum, branch HEADElectrum Bitcoin wallet
bb3b3a559506c359321194f01c10b8e62d8ba4482021-03-12T22:41:29Z2021-03-12T23:36:31ZAdd stub for scripthash subscription.parazydparazyd@dyne.orgcommit bb3b3a559506c359321194f01c10b8e62d8ba448
parent e0a7f86247dbacccaab12fc4159bec6071058b78
Author: parazyd <parazyd@dyne.org>
Date: Fri, 12 Mar 2021 23:41:29 +0100
Add stub for scripthash subscription.
e0a7f86247dbacccaab12fc4159bec6071058b782021-03-12T22:01:19Z2021-03-12T23:36:31Zinterface: Fix gettransaction.parazydparazyd@dyne.orgcommit e0a7f86247dbacccaab12fc4159bec6071058b78
parent 8c84ffe6af24cf3bf1c08ee67413965ad7c58a1d
Author: parazyd <parazyd@dyne.org>
Date: Fri, 12 Mar 2021 23:01:19 +0100
interface: Fix gettransaction.
8c84ffe6af24cf3bf1c08ee67413965ad7c58a1d2021-03-12T21:15:27Z2021-03-12T23:36:31Zzeromq: Transaction broadcasting.parazydparazyd@dyne.orgcommit 8c84ffe6af24cf3bf1c08ee67413965ad7c58a1d
parent 28ec2b6be35f4d2e8dfdfbc33200ffa31478ecae
Author: parazyd <parazyd@dyne.org>
Date: Fri, 12 Mar 2021 22:15:27 +0100
zeromq: Transaction broadcasting.
28ec2b6be35f4d2e8dfdfbc33200ffa31478ecae2021-03-12T17:20:26Z2021-03-12T22:12:45ZInitial ZeroMQ Interface implementation.parazydparazyd@dyne.orgcommit 28ec2b6be35f4d2e8dfdfbc33200ffa31478ecae
parent 139fc78e196ec76ebc22ec7b50a8e6b84522062b
Author: parazyd <parazyd@dyne.org>
Date: Fri, 12 Mar 2021 18:20:26 +0100
Initial ZeroMQ Interface implementation.
We can now fully sync the headers, and get notified about new headers.
Testing with:
./run_electrum --testnet -V i --oneserver
The libbitcoin v4 testnet server is hardcoded in the Interface class for now.
grep for "TODO: libbitcoin" for further work.
139fc78e196ec76ebc22ec7b50a8e6b84522062b2021-03-12T17:02:43Z2021-03-12T17:02:43ZCopy interface.py to old_interface.py.parazydparazyd@dyne.orgcommit 139fc78e196ec76ebc22ec7b50a8e6b84522062b
parent 24e4aa3ab91cd1d7ace8c1996ce86249ed4c7492
Author: parazyd <parazyd@dyne.org>
Date: Fri, 12 Mar 2021 18:02:43 +0100
Copy interface.py to old_interface.py.
24e4aa3ab91cd1d7ace8c1996ce86249ed4c74922021-03-12T16:53:13Z2021-03-12T16:53:13Znetwork.best_effort_reliable: use curio APIs instead of asyncioSomberNightsomber.night@protonmail.comcommit 24e4aa3ab91cd1d7ace8c1996ce86249ed4c7492
parent 65d263801a7e419c953db38eb084deb3ea959ef1
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 12 Mar 2021 17:53:13 +0100
network.best_effort_reliable: use curio APIs instead of asyncio
65d263801a7e419c953db38eb084deb3ea959ef12021-03-12T16:38:42Z2021-03-12T16:39:13Zshow capacity of channel backups in GUIThomasVthomasv@electrum.orgcommit 65d263801a7e419c953db38eb084deb3ea959ef1
parent 3ff203ea51a87ad0ca55a91764210ca3e02b471c
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 17:38:42 +0100
show capacity of channel backups in GUI
3ff203ea51a87ad0ca55a91764210ca3e02b471c2021-03-12T16:38:19Z2021-03-12T16:38:19Zcommands: fix list_requestsSomberNightsomber.night@protonmail.comcommit 3ff203ea51a87ad0ca55a91764210ca3e02b471c
parent 897f90d6e88b694c1bde990a5abce85ccb8e8c96
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 12 Mar 2021 17:38:19 +0100
commands: fix list_requests
closes https://github.com/spesmilo/electrum/issues/7102
897f90d6e88b694c1bde990a5abce85ccb8e8c962021-03-12T16:29:54Z2021-03-12T16:29:54Zwallet: factor out "what key to use for invoice"SomberNightsomber.night@protonmail.comcommit 897f90d6e88b694c1bde990a5abce85ccb8e8c96
parent 1a4e55a911f9c6783d5840c781f36e246c186efe
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 12 Mar 2021 17:29:54 +0100
wallet: factor out "what key to use for invoice"
fix: qt request list was not using the correct key
1a4e55a911f9c6783d5840c781f36e246c186efe2021-03-12T15:38:48Z2021-03-12T15:38:48Zfollow-up 90b228de839d6474f6d23322cd2a80e1da73a254ThomasVthomasv@electrum.orgcommit 1a4e55a911f9c6783d5840c781f36e246c186efe
parent 8984db338404c1f4a9d8165ecced02139051b432
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 16:38:48 +0100
follow-up 90b228de839d6474f6d23322cd2a80e1da73a254
8984db338404c1f4a9d8165ecced02139051b4322021-03-12T15:28:42Z2021-03-12T15:28:56Zfollow-up 90b228de839d6474f6d23322cd2a80e1da73a254ThomasVthomasv@electrum.orgcommit 8984db338404c1f4a9d8165ecced02139051b432
parent af7bcd4ca1ef81eeb8663c5289c9059d330f298a
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 16:28:42 +0100
follow-up 90b228de839d6474f6d23322cd2a80e1da73a254
af7bcd4ca1ef81eeb8663c5289c9059d330f298a2021-03-12T15:11:47Z2021-03-12T15:11:47Zadd comments about ChannelBackup fieldsThomasVthomasv@electrum.orgcommit af7bcd4ca1ef81eeb8663c5289c9059d330f298a
parent f16358ec3c60cef07c63257a64315f53e044acb7
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 16:11:47 +0100
add comments about ChannelBackup fields
f16358ec3c60cef07c63257a64315f53e044acb72021-03-12T15:10:02Z2021-03-12T15:10:02Zadd request_force_close command to CLI add regtest for channel backupThomasVthomasv@electrum.orgcommit f16358ec3c60cef07c63257a64315f53e044acb7
parent bed4ddbcb4f9d2efa8334ebae21550577f83a2eb
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 16:10:02 +0100
add request_force_close command to CLI
add regtest for channel backup
bed4ddbcb4f9d2efa8334ebae21550577f83a2eb2021-03-12T15:09:24Z2021-03-12T15:09:24Zfix dict value assignment bug in import_channel_backup. In request_force_close, use Taskgroup with wait=anyThomasVthomasv@electrum.orgcommit bed4ddbcb4f9d2efa8334ebae21550577f83a2eb
parent e186214f6f2d0612fe1d4df974c4c85ba07f182c
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 16:09:24 +0100
fix dict value assignment bug in import_channel_backup. In request_force_close, use Taskgroup with wait=any
e186214f6f2d0612fe1d4df974c4c85ba07f182c2021-03-12T11:41:10Z2021-03-12T11:41:10Z(formatting) lnsweep indentationThomasVthomasv@electrum.orgcommit e186214f6f2d0612fe1d4df974c4c85ba07f182c
parent 90b228de839d6474f6d23322cd2a80e1da73a254
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 12:41:10 +0100
(formatting) lnsweep indentation
90b228de839d6474f6d23322cd2a80e1da73a2542021-03-12T10:40:53Z2021-03-12T11:15:39Zfix wallet get_full_history: add onchain tx for channels not opened by usThomasVthomasv@electrum.orgcommit 90b228de839d6474f6d23322cd2a80e1da73a254
parent 6004a047053e97b9f613d8329f690d1fd6d920fb
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 11:40:53 +0100
fix wallet get_full_history: add onchain tx for channels not opened by us
6004a047053e97b9f613d8329f690d1fd6d920fb2021-03-12T10:01:07Z2021-03-12T10:01:07ZMerge pull request #7099 from SomberNight/202103_fail_pending_htlcs_on_shutdownThomasVthomasv@electrum.orgcommit 6004a047053e97b9f613d8329f690d1fd6d920fb
parent 05e58671c92940620aab36cf5946a0f1dd24c013
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 12 Mar 2021 11:01:07 +0100
Merge pull request #7099 from SomberNight/202103_fail_pending_htlcs_on_shutdown
fail pending htlcs on shutdown
05e58671c92940620aab36cf5946a0f1dd24c0132021-03-11T18:09:35Z2021-03-11T18:09:35Zlnhtlc: (trivial) rename methodSomberNightsomber.night@protonmail.comcommit 05e58671c92940620aab36cf5946a0f1dd24c013
parent 54f7755397f5c4a4ce3215ddad70f342f06cf9fe
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 11 Mar 2021 19:09:35 +0100
lnhtlc: (trivial) rename method
54f7755397f5c4a4ce3215ddad70f342f06cf9fe2021-03-11T17:51:45Z2021-03-11T17:51:45Zlnpeer.maybe_forward_htlc: add FIXMESomberNightsomber.night@protonmail.comcommit 54f7755397f5c4a4ce3215ddad70f342f06cf9fe
parent 28a7d204ad6e8bfa503f9f8afe2b8f23cb16238e
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 11 Mar 2021 18:51:45 +0100
lnpeer.maybe_forward_htlc: add FIXME
28a7d204ad6e8bfa503f9f8afe2b8f23cb16238e2021-03-11T17:50:59Z2021-03-11T17:50:59Zutil: document CallbackManager behaviourSomberNightsomber.night@protonmail.comcommit 28a7d204ad6e8bfa503f9f8afe2b8f23cb16238e
parent 533d796a4149cac7038ae5503e6c089de60ba614
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 11 Mar 2021 18:50:59 +0100
util: document CallbackManager behaviour
533d796a4149cac7038ae5503e6c089de60ba6142021-03-11T15:53:55Z2021-03-11T15:53:55Zadd TODO, rename check_received_mpp_htlcThomasVthomasv@electrum.orgcommit 533d796a4149cac7038ae5503e6c089de60ba614
parent 10c799faab45ea53962d89527bf72bdc392c9862
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 11 Mar 2021 16:53:55 +0100
add TODO, rename check_received_mpp_htlc
10c799faab45ea53962d89527bf72bdc392c98622021-03-11T11:00:47Z2021-03-11T15:19:15Zmpp_split: add penalty for exhaustion of channelsbitromortacbitromortac@protonmail.comcommit 10c799faab45ea53962d89527bf72bdc392c9862
parent 1b7d8c0387734463dca66ddc978b4c966320272d
Author: bitromortac <bitromortac@protonmail.com>
Date: Thu, 11 Mar 2021 12:00:47 +0100
mpp_split: add penalty for exhaustion of channels
A penalty is added for split configurations which saturate a channel.
Saturation of channels is discouraged as we don't know the fees
beforehand. The penalty is accomplished via an exponential function that
kicks in when the subamount reaches about the total funds available
(this amount is controlled by the parameter EXHAUST_DECAY_FRACTION).
1b7d8c0387734463dca66ddc978b4c966320272d2021-03-11T13:44:13Z2021-03-11T13:44:13ZQt: rm gossip menu item: already available in toolbar, and channel_db is not always presentThomasVthomasv@electrum.orgcommit 1b7d8c0387734463dca66ddc978b4c966320272d
parent dc55cf4b2d23d84bcde26448c85f0842d611063e
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 11 Mar 2021 14:44:13 +0100
Qt: rm gossip menu item: already available in toolbar, and channel_db is not always present
dc55cf4b2d23d84bcde26448c85f0842d611063e2021-03-11T10:01:35Z2021-03-11T10:01:35Ztest_multipart_payment_with_timeout: give extra time for second HTLC to timeout before next testThomasVthomasv@electrum.orgcommit dc55cf4b2d23d84bcde26448c85f0842d611063e
parent 50ab8be7a29d1b1ece777d611a2a77e49402c689
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 11 Mar 2021 11:01:35 +0100
test_multipart_payment_with_timeout: give extra time for second HTLC to timeout before next test
50ab8be7a29d1b1ece777d611a2a77e49402c6892021-03-11T09:37:44Z2021-03-11T09:39:39Zlnpeer: try to fix testsThomasVthomasv@electrum.orgcommit 50ab8be7a29d1b1ece777d611a2a77e49402c689
parent 707a58abf11c541ca5e8b69d092d612d7613c538
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 11 Mar 2021 10:37:44 +0100
lnpeer: try to fix tests
707a58abf11c541ca5e8b69d092d612d7613c5382021-03-10T20:28:17Z2021-03-10T20:28:17Zcrypto: add comment about ripemd.pySomberNightsomber.night@protonmail.comcommit 707a58abf11c541ca5e8b69d092d612d7613c538
parent a7c948bac124a916f530be6c4055061ff72c29a0
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 21:28:17 +0100
crypto: add comment about ripemd.py
related: https://github.com/spesmilo/electrum/issues/7093
a7c948bac124a916f530be6c4055061ff72c29a02021-03-10T20:23:41Z2021-03-10T20:23:41Ztests: fix tearDown() issue in test_lnrouter.pySomberNightsomber.night@protonmail.comcommit a7c948bac124a916f530be6c4055061ff72c29a0
parent 4250f3b8a19f1f56a5eba21b1c3d33e9f2b17924
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 21:23:41 +0100
tests: fix tearDown() issue in test_lnrouter.py
similar to 05fd42454842bdce853e96d6b3ffbb043960f7c4
from logs when running tests:
--- Logging error ---
Traceback (most recent call last):
File "...\Python39\lib\logging\__init__.py", line 1082, in emit
stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.
Call stack:
File "...\Python39\lib\threading.py", line 912, in _bootstrap
self._bootstrap_inner()
File "...\Python39\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "...\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "...\electrum\electrum\sql_db.py", line 71, in run_sql
self.logger.info("SQL thread terminated")
Message: 'SQL thread terminated'
Arguments: ()
4250f3b8a19f1f56a5eba21b1c3d33e9f2b179242021-03-10T20:00:58Z2021-03-10T20:06:50Ztest_lnpeer: use 2s MPP_TIMEOUT, and split test_multipart_payment_with_timeoutThomasVthomasv@electrum.orgcommit 4250f3b8a19f1f56a5eba21b1c3d33e9f2b17924
parent 05fd42454842bdce853e96d6b3ffbb043960f7c4
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 10 Mar 2021 21:00:58 +0100
test_lnpeer: use 2s MPP_TIMEOUT, and split test_multipart_payment_with_timeout
05fd42454842bdce853e96d6b3ffbb043960f7c42021-03-10T19:16:25Z2021-03-10T19:16:25Ztests: maybe fix tearDown() issue in test_storage_upgrade.pySomberNightsomber.night@protonmail.comcommit 05fd42454842bdce853e96d6b3ffbb043960f7c4
parent 5339e0054c6e473ec4b5858ea9bb11aeb37be109
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 20:16:25 +0100
tests: maybe fix tearDown() issue in test_storage_upgrade.py
from travis logs:
--- Logging error ---
Traceback (most recent call last):
File "/opt/python/3.7.6/lib/python3.7/logging/__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.
Call stack:
File "/opt/python/3.7.6/lib/python3.7/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "/opt/python/3.7.6/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/home/travis/build/spesmilo/electrum/electrum/plugin.py", line 213, in run
self.run_jobs()
File "/home/travis/build/spesmilo/electrum/electrum/util.py", line 359, in on_stop
self.logger.info("stopped")
Message: 'stopped'
5339e0054c6e473ec4b5858ea9bb11aeb37be1092021-03-10T18:01:30Z2021-03-10T18:01:30Znetwork.stop: clean-upSomberNightsomber.night@protonmail.comcommit 5339e0054c6e473ec4b5858ea9bb11aeb37be109
parent de6f5a8e0357b201b5f0ffe20195b36cad66824d
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 19:01:30 +0100
network.stop: clean-up
de6f5a8e0357b201b5f0ffe20195b36cad66824d2021-03-10T17:07:15Z2021-03-10T17:07:15Z{daemon,wallet}|.stop: small clean-upSomberNightsomber.night@protonmail.comcommit de6f5a8e0357b201b5f0ffe20195b36cad66824d
parent eaa4de33541a56af049b8d48b92f206ed47f785a
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 18:07:15 +0100
{daemon,wallet}|.stop: small clean-up
eaa4de33541a56af049b8d48b92f206ed47f785a2021-03-10T16:38:53Z2021-03-10T16:38:53Zkivy crash_reporter: a bit more loggingSomberNightsomber.night@protonmail.comcommit eaa4de33541a56af049b8d48b92f206ed47f785a
parent 151a45911f028b1b466e001a0fd8fad467d60bf1
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 17:38:53 +0100
kivy crash_reporter: a bit more logging
151a45911f028b1b466e001a0fd8fad467d60bf12021-03-10T16:31:02Z2021-03-10T16:31:02Zfollow-up prev: too much copy-pasteSomberNightsomber.night@protonmail.comcommit 151a45911f028b1b466e001a0fd8fad467d60bf1
parent 9740744d70461d9b0f02a78f836784bc91ff2d1a
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 17:31:02 +0100
follow-up prev: too much copy-paste
9740744d70461d9b0f02a78f836784bc91ff2d1a2021-03-10T16:13:42Z2021-03-10T16:13:42Zcrypto: add chacha20_decrypt; unused for nowSomberNightsomber.night@protonmail.comcommit 9740744d70461d9b0f02a78f836784bc91ff2d1a
parent 549b9a95df6fedbf0880df139a99f419931150e1
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 17:13:42 +0100
crypto: add chacha20_decrypt; unused for now
549b9a95df6fedbf0880df139a99f419931150e12021-03-10T16:09:07Z2021-03-10T16:09:07Ztest_lnpeer: add test for mpp_timeoutThomasVthomasv@electrum.orgcommit 549b9a95df6fedbf0880df139a99f419931150e1
parent d4de25a8cde35ee47a7594194eef794a1b4f7b2b
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 10 Mar 2021 17:09:07 +0100
test_lnpeer: add test for mpp_timeout
d4de25a8cde35ee47a7594194eef794a1b4f7b2b2021-03-10T15:23:49Z2021-03-10T15:23:49Zcrash reports: fix get_git_version for kivySomberNightsomber.night@protonmail.comcommit d4de25a8cde35ee47a7594194eef794a1b4f7b2b
parent 6620974f3deea4e3d3f42a63eccd30192e41b89c
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 16:23:49 +0100
crash reports: fix get_git_version for kivy
6620974f3deea4e3d3f42a63eccd30192e41b89c2021-03-10T14:26:39Z2021-03-10T14:26:39Zfollow-up 652d10aa5f810d6db00ce4870ea7c779f9ff35a4ThomasVthomasv@electrum.orgcommit 6620974f3deea4e3d3f42a63eccd30192e41b89c
parent 0e01db4cee6c2438ae17ccc450e901101c6aa2bf
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 10 Mar 2021 15:26:39 +0100
follow-up 652d10aa5f810d6db00ce4870ea7c779f9ff35a4
0e01db4cee6c2438ae17ccc450e901101c6aa2bf2021-03-10T13:59:47Z2021-03-10T13:59:47Zkivy: fix GridLayout orientations all overSomberNightsomber.night@protonmail.comcommit 0e01db4cee6c2438ae17ccc450e901101c6aa2bf
parent 7ae82c82300c0a08e1a5ba023c439566aba6109f
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 10 Mar 2021 14:59:47 +0100
kivy: fix GridLayout orientations all over
Pre kivy 2.0, "orientation" was undefined for GridLayouts, not sure why we were setting it, it was a no-op.
kivy 2.0 added meaning to the field, and the values we were setting it to are invalid.
related:
https://github.com/kivy/kivy/pull/6741
https://github.com/kivy/kivy/issues/7142
-----
traceback:
E | gui.kivy.uix.dialogs.crash_reporter.ExceptionHook | exception caught by crash reporter
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/kivy/lang/builder.py", line 705, in _apply_rule
setattr(widget_set, key, value)
File "kivy/weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
File "kivy/properties.pyx", line 498, in kivy.properties.Property.__set__
File "kivy/properties.pyx", line 542, in kivy.properties.Property.set
File "kivy/properties.pyx", line 533, in kivy.properties.Property.set
File "kivy/properties.pyx", line 1253, in kivy.properties.OptionProperty.check
ValueError: GridLayout.orientation is set to an invalid option 'vertical'. Must be one of: ['lr-tb', 'tb-lr', 'rl-tb', 'tb-rl', 'lr-bt', 'bt-lr', 'rl-bt', 'bt-rl']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "kivy/_clock.pyx", line 645, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
File "/home/user/wspace/electrum/electrum/gui/kivy/uix/ui_screens/receive.kv", line 141, in <lambda>
on_release: Clock.schedule_once(lambda dt: s.expiration_dialog(s))
File "/home/user/wspace/electrum/electrum/gui/kivy/uix/screens.py", line 517, in expiration_dialog
d = ChoiceDialog(_('Expiration date'), pr_expiration_values, self.expiry(), callback)
File "/home/user/wspace/electrum/electrum/gui/kivy/uix/dialogs/choice_dialog.py", line 53, in __init__
Factory.Popup.__init__(self)
File "/home/user/.local/lib/python3.8/site-packages/kivy/uix/modalview.py", line 187, in __init__
super(ModalView, self).__init__(**kwargs)
File "/home/user/.local/lib/python3.8/site-packages/kivy/uix/anchorlayout.py", line 68, in __init__
super(AnchorLayout, self).__init__(**kwargs)
File "/home/user/.local/lib/python3.8/site-packages/kivy/uix/layout.py", line 76, in __init__
super(Layout, self).__init__(**kwargs)
File "/home/user/.local/lib/python3.8/site-packages/kivy/uix/widget.py", line 359, in __init__
self.apply_class_lang_rules(
File "/home/user/.local/lib/python3.8/site-packages/kivy/uix/widget.py", line 463, in apply_class_lang_rules
Builder.apply(
File "/home/user/.local/lib/python3.8/site-packages/kivy/lang/builder.py", line 541, in apply
self._apply_rule(
File "/home/user/.local/lib/python3.8/site-packages/kivy/lang/builder.py", line 710, in _apply_rule
raise BuilderException(rule.ctx, rule.line,
kivy.lang.builder.BuilderException: Parser: File "<inline>", line 21:
...
19: GridLayout:
20: row_default_height: '48dp'
>> 21: orientation: 'vertical'
22: id: choices
23: cols: 2
...
ValueError: GridLayout.orientation is set to an invalid option 'vertical'. Must be one of: ['lr-tb', 'tb-lr', 'rl-tb', 'tb-rl', 'lr-bt', 'bt-lr', 'rl-bt', 'bt-rl']
File "/home/user/.local/lib/python3.8/site-packages/kivy/lang/builder.py", line 705, in _apply_rule
setattr(widget_set, key, value)
File "kivy/weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
File "kivy/properties.pyx", line 498, in kivy.properties.Property.__set__
File "kivy/properties.pyx", line 542, in kivy.properties.Property.set
File "kivy/properties.pyx", line 533, in kivy.properties.Property.set
File "kivy/properties.pyx", line 1253, in kivy.properties.OptionProperty.check
7ae82c82300c0a08e1a5ba023c439566aba6109f2021-03-10T11:54:00Z2021-03-10T11:54:00ZRevert "lnworker: simplify request_force_close_from_backup"ThomasVthomasv@electrum.orgcommit 7ae82c82300c0a08e1a5ba023c439566aba6109f
parent abc155b6887afea4cc082328f86a09c668523214
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 10 Mar 2021 12:54:00 +0100
Revert "lnworker: simplify request_force_close_from_backup"
This reverts commit ce88b36e81a533810b08ccf8796120951265da8a.
abc155b6887afea4cc082328f86a09c6685232142021-03-09T23:35:02Z2021-03-09T23:35:02ZAppimage build: update git=1:2.7.4-0ubuntu1.10 15b5d9d (#7091)gruve-pgruve-p@users.noreply.github.comcommit abc155b6887afea4cc082328f86a09c668523214
parent 8de52bf523bff8280de02e8015d31ccd525f3c0e
Author: gruve-p <gruve-p@users.noreply.github.com>
Date: Wed, 10 Mar 2021 00:35:02 +0100
Appimage build: update git=1:2.7.4-0ubuntu1.10 15b5d9d (#7091)
8de52bf523bff8280de02e8015d31ccd525f3c0e2021-03-09T17:22:30Z2021-03-09T17:22:30Zwallet: (trivial) use kwargs for get_tx_item_fiatSomberNightsomber.night@protonmail.comcommit 8de52bf523bff8280de02e8015d31ccd525f3c0e
parent 3c019c2f9c4d2fdefe52d84444632b54d421e140
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 9 Mar 2021 18:22:30 +0100
wallet: (trivial) use kwargs for get_tx_item_fiat
3c019c2f9c4d2fdefe52d84444632b54d421e1402021-03-09T16:52:36Z2021-03-09T16:52:36Zdaemon/wallet/network: make stop() methods asyncSomberNightsomber.night@protonmail.comcommit 3c019c2f9c4d2fdefe52d84444632b54d421e140
parent ce88b36e81a533810b08ccf8796120951265da8a
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 9 Mar 2021 17:52:36 +0100
daemon/wallet/network: make stop() methods async
ce88b36e81a533810b08ccf8796120951265da8a2021-03-09T11:28:25Z2021-03-09T11:28:25Zlnworker: simplify request_force_close_from_backupThomasVthomasv@electrum.orgcommit ce88b36e81a533810b08ccf8796120951265da8a
parent 652d10aa5f810d6db00ce4870ea7c779f9ff35a4
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 9 Mar 2021 12:28:25 +0100
lnworker: simplify request_force_close_from_backup
652d10aa5f810d6db00ce4870ea7c779f9ff35a42021-03-09T08:55:55Z2021-03-09T10:52:04ZRemove LNBackups object: no longer needed since LNWorker is instantiated by default.ThomasVthomasv@electrum.orgcommit 652d10aa5f810d6db00ce4870ea7c779f9ff35a4
parent ef661050c8da36b7b2b73bec47dbaeddb38301f5
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 9 Mar 2021 09:55:55 +0100
Remove LNBackups object: no longer needed since LNWorker is instantiated by default.
ef661050c8da36b7b2b73bec47dbaeddb38301f52021-03-09T08:35:43Z2021-03-09T08:35:43Zlnworker: set request status after LN paymentThomasVthomasv@electrum.orgcommit ef661050c8da36b7b2b73bec47dbaeddb38301f5
parent a125cd5392d8aa873b15663e59b5d3c269977afc
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 9 Mar 2021 09:35:43 +0100
lnworker: set request status after LN payment
a125cd5392d8aa873b15663e59b5d3c269977afc2021-03-08T21:18:06Z2021-03-08T21:18:06Ztests: test payreq status after getting paid via LNSomberNightsomber.night@protonmail.comcommit a125cd5392d8aa873b15663e59b5d3c269977afc
parent f662859e5c7745eccaa7af195c9915035e38eb94
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Mar 2021 22:18:06 +0100
tests: test payreq status after getting paid via LN
The test failures corresponding to single-part (non-MPP) payments expose a bug.
see https://github.com/spesmilo/electrum/blob/196b4c00a35b288f28885c0ceb8afdd5ffbd9a0f/electrum/lnpeer.py#L1538-L1539
`lnworker.add_received_htlc` is not called for single-part payments...
f662859e5c7745eccaa7af195c9915035e38eb942021-03-08T20:46:56Z2021-03-08T20:46:56Ztest_lnpeer: (trivial) prepare_invoice to return both LnAddr and strSomberNightsomber.night@protonmail.comcommit f662859e5c7745eccaa7af195c9915035e38eb94
parent 4069b455d0059dd3ba26adbad5389255fcac84f0
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Mar 2021 21:46:56 +0100
test_lnpeer: (trivial) prepare_invoice to return both LnAddr and str
4069b455d0059dd3ba26adbad5389255fcac84f02021-03-08T20:36:27Z2021-03-08T20:36:27Zlnaddr: add get_features methodSomberNightsomber.night@protonmail.comcommit 4069b455d0059dd3ba26adbad5389255fcac84f0
parent 196b4c00a35b288f28885c0ceb8afdd5ffbd9a0f
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Mar 2021 21:36:27 +0100
lnaddr: add get_features method
196b4c00a35b288f28885c0ceb8afdd5ffbd9a0f2021-03-08T17:49:52Z2021-03-08T18:16:48ZUse new value of option_trampoline_routing flag, add it to our invoices. Keep supporting old value for Eclair/Phoenix. Do not add trampoline_routing_hints in invoices.ThomasVthomasv@electrum.orgcommit 196b4c00a35b288f28885c0ceb8afdd5ffbd9a0f
parent 0491da2c662fdf74c1470acdb2bb856640780245
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 8 Mar 2021 18:49:52 +0100
Use new value of option_trampoline_routing flag, add it to our invoices.
Keep supporting old value for Eclair/Phoenix.
Do not add trampoline_routing_hints in invoices.
0491da2c662fdf74c1470acdb2bb8566407802452021-03-08T17:51:52Z2021-03-08T17:51:52Zlnpeer: (trivial) log htlc in on_update_add_htlcSomberNightsomber.night@protonmail.comcommit 0491da2c662fdf74c1470acdb2bb856640780245
parent fd48b96335b6466ebaf270b2cc3c734e200e30d1
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Mar 2021 18:51:52 +0100
lnpeer: (trivial) log htlc in on_update_add_htlc
fd48b96335b6466ebaf270b2cc3c734e200e30d12021-03-08T16:45:00Z2021-03-08T16:45:00Zfollow-up prev commitThomasVthomasv@electrum.orgcommit fd48b96335b6466ebaf270b2cc3c734e200e30d1
parent 308b02ca7dc2427583a32784f6bde4dec08d1069
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 8 Mar 2021 17:45:00 +0100
follow-up prev commit
308b02ca7dc2427583a32784f6bde4dec08d10692021-03-08T16:23:52Z2021-03-08T16:23:52Zlnworker: fix amount in htlc_log after mpp bucket failureThomasVthomasv@electrum.orgcommit 308b02ca7dc2427583a32784f6bde4dec08d1069
parent 5df4466812b011b2d16e0be0aac5c56631ac712b
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 8 Mar 2021 17:23:52 +0100
lnworker: fix amount in htlc_log after mpp bucket failure
5df4466812b011b2d16e0be0aac5c56631ac712b2021-03-08T12:30:51Z2021-03-08T12:30:59Zrm fixme; it was for intermediate stage, between commits.ThomasVthomasv@electrum.orgcommit 5df4466812b011b2d16e0be0aac5c56631ac712b
parent cf5bf5d1afbd785b24e90b2457d4f7cc82c902df
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 8 Mar 2021 13:30:51 +0100
rm fixme; it was for intermediate stage, between commits.
cf5bf5d1afbd785b24e90b2457d4f7cc82c902df2021-03-08T02:03:31Z2021-03-08T02:03:31Zwindows build: skip building pyinstaller if already thereSomberNightsomber.night@protonmail.comcommit cf5bf5d1afbd785b24e90b2457d4f7cc82c902df
parent 41233a4bc72d5551a197b02167a0fd0cf98fe50f
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Mar 2021 03:03:31 +0100
windows build: skip building pyinstaller if already there
41233a4bc72d5551a197b02167a0fd0cf98fe50f2021-03-07T21:58:44Z2021-03-07T21:58:44Zwindows build: minor clean-upSomberNightsomber.night@protonmail.comcommit 41233a4bc72d5551a197b02167a0fd0cf98fe50f
parent dded25f39874223b0d5d6c94ca9824542f4f4584
Author: SomberNight <somber.night@protonmail.com>
Date: Sun, 7 Mar 2021 22:58:44 +0100
windows build: minor clean-up
dded25f39874223b0d5d6c94ca9824542f4f45842021-03-07T21:12:26Z2021-03-07T21:12:26Zwindows build: cache pip downloadsSomberNightsomber.night@protonmail.comcommit dded25f39874223b0d5d6c94ca9824542f4f4584
parent f1f584c4c43586a265f11291da0ddbb4ab1a2f79
Author: SomberNight <somber.night@protonmail.com>
Date: Sun, 7 Mar 2021 22:12:26 +0100
windows build: cache pip downloads
f1f584c4c43586a265f11291da0ddbb4ab1a2f792021-03-07T13:28:16Z2021-03-07T19:02:38Zwindows build: separate 32/64 bit build cachesSomberNightsomber.night@protonmail.comcommit f1f584c4c43586a265f11291da0ddbb4ab1a2f79
parent e07f615bbbddfa28181ca8ede15c403210d7c702
Author: SomberNight <somber.night@protonmail.com>
Date: Sun, 7 Mar 2021 14:28:16 +0100
windows build: separate 32/64 bit build caches
specify which architecture to target by setting WIN_ARCH env var
e07f615bbbddfa28181ca8ede15c403210d7c7022021-03-07T15:21:42Z2021-03-07T19:02:35Zwindows binaries: update pyinstaller to 4.2SomberNightsomber.night@protonmail.comcommit e07f615bbbddfa28181ca8ede15c403210d7c702
parent 7698ab4ccb11451a1964ac03e00e258f431c2a41
Author: SomberNight <somber.night@protonmail.com>
Date: Sun, 7 Mar 2021 16:21:42 +0100
windows binaries: update pyinstaller to 4.2
7698ab4ccb11451a1964ac03e00e258f431c2a412021-03-06T13:42:01Z2021-03-06T13:42:01Zandroid build: update kivy, and pythonSomberNightsomber.night@protonmail.comcommit 7698ab4ccb11451a1964ac03e00e258f431c2a41
parent edb214aeca91de2d0f3719c0258e98592bef6481
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 6 Mar 2021 14:42:01 +0100
android build: update kivy, and python
edb214aeca91de2d0f3719c0258e98592bef64812021-03-06T13:23:00Z2021-03-06T13:23:00Zlnworker.pay_to_node: re overpayment, raise before actually it happensSomberNightsomber.night@protonmail.comcommit edb214aeca91de2d0f3719c0258e98592bef6481
parent 6ddd02506eefcbef358c18bcb5fb8106400a3c2b
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 6 Mar 2021 14:23:00 +0100
lnworker.pay_to_node: re overpayment, raise before actually it happens
6ddd02506eefcbef358c18bcb5fb8106400a3c2b2021-03-06T09:59:29Z2021-03-06T09:59:29Ztest_lnpeer: add missing parameter in pay_to_routeThomasVthomasv@electrum.orgcommit 6ddd02506eefcbef358c18bcb5fb8106400a3c2b
parent 83993768e5309c504ae6c419d40986d5e374b9d2
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 6 Mar 2021 10:59:29 +0100
test_lnpeer: add missing parameter in pay_to_route
83993768e5309c504ae6c419d40986d5e374b9d22021-03-05T23:26:55Z2021-03-06T09:46:58Ztrampoline: do not add node in trampoline hints if it already is the last trampoline of the routeThomasVthomasv@electrum.orgcommit 83993768e5309c504ae6c419d40986d5e374b9d2
parent 5663e598637d5cf8aba6b2be8c2b3ccc609fd692
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 6 Mar 2021 00:26:55 +0100
trampoline: do not add node in trampoline hints if it already is
the last trampoline of the route
5663e598637d5cf8aba6b2be8c2b3ccc609fd6922021-03-06T09:45:52Z2021-03-06T09:46:40Zlnworker: fix amount_inflight. (amount with routing fees were used on htlc failures)ThomasVthomasv@electrum.orgcommit 5663e598637d5cf8aba6b2be8c2b3ccc609fd692
parent d3d476f44c57cc9c545f9dabddf32897b84c784c
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 6 Mar 2021 10:45:52 +0100
lnworker: fix amount_inflight.
(amount with routing fees were used on htlc failures)
d3d476f44c57cc9c545f9dabddf32897b84c784c2021-03-05T23:31:30Z2021-03-05T23:31:30Zlnpeer: fix error code in logsThomasVthomasv@electrum.orgcommit d3d476f44c57cc9c545f9dabddf32897b84c784c
parent 31919d0425b1f5828d202f1bfb095eb8c5dfcff2
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 6 Mar 2021 00:31:30 +0100
lnpeer: fix error code in logs
31919d0425b1f5828d202f1bfb095eb8c5dfcff22021-03-05T23:29:37Z2021-03-05T23:29:37Zlnworker: add assert amount_inflight <= amount_to_payThomasVthomasv@electrum.orgcommit 31919d0425b1f5828d202f1bfb095eb8c5dfcff2
parent 529e96aaf9a90be5c7d48db704c43eaeb751263b
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 6 Mar 2021 00:29:37 +0100
lnworker: add assert amount_inflight <= amount_to_pay
529e96aaf9a90be5c7d48db704c43eaeb751263b2021-03-05T20:04:20Z2021-03-05T20:04:20Zsynchronizer: (trivial) add commentSomberNightsomber.night@protonmail.comcommit 529e96aaf9a90be5c7d48db704c43eaeb751263b
parent 1dbff51fce762c212913c2c446d6e5945f283f75
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 5 Mar 2021 21:04:20 +0100
synchronizer: (trivial) add comment
1dbff51fce762c212913c2c446d6e5945f283f752021-03-05T19:46:41Z2021-03-05T19:46:41Zsynchronizer: fix rare race where synchronizer could get stuckSomberNightsomber.night@protonmail.comcommit 1dbff51fce762c212913c2c446d6e5945f283f75
parent 34413a9c306a297c833ed2b5e267e61ca297a225
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 5 Mar 2021 20:46:41 +0100
synchronizer: fix rare race where synchronizer could get stuck
34413a9c306a297c833ed2b5e267e61ca297a2252021-03-05T19:11:54Z2021-03-05T19:11:54Zpython 3.6 compat: asyncio.Task.set_name was added in 3.8SomberNightsomber.night@protonmail.comcommit 34413a9c306a297c833ed2b5e267e61ca297a225
parent 5207c40cc3ef782765e2a413248025d42c156edc
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 5 Mar 2021 20:11:54 +0100
python 3.6 compat: asyncio.Task.set_name was added in 3.8
5207c40cc3ef782765e2a413248025d42c156edc2021-03-05T16:02:10Z2021-03-05T16:04:26Zfix trampoline forwarding: add_received_htlc must be indexed by payment_secretThomasVthomasv@electrum.orgcommit 5207c40cc3ef782765e2a413248025d42c156edc
parent 59547d05138b0e90413ac4f60f81d5af8564516b
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 17:02:10 +0100
fix trampoline forwarding: add_received_htlc must be indexed by payment_secret
59547d05138b0e90413ac4f60f81d5af8564516b2021-03-05T16:04:06Z2021-03-05T16:04:26Ztest_lnpeer: variables must be declared in MockLNWallet.__init__ThomasVthomasv@electrum.orgcommit 59547d05138b0e90413ac4f60f81d5af8564516b
parent 762ebb12b253dd53517dbd99b13efcc0e0168b05
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 17:04:06 +0100
test_lnpeer: variables must be declared in MockLNWallet.__init__
762ebb12b253dd53517dbd99b13efcc0e0168b052021-03-05T15:12:01Z2021-03-05T15:12:01Zlnpeer: increase max_accepted_htlcs (5->30)SomberNightsomber.night@protonmail.comcommit 762ebb12b253dd53517dbd99b13efcc0e0168b05
parent f397b315ac437d47e1583d3320c5c5058ba820f7
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 5 Mar 2021 16:12:01 +0100
lnpeer: increase max_accepted_htlcs (5->30)
Counter-intuitively, the motivation is to be able to *send* more htlcs,
for MPP trickery. We don't offer more htlcs than this limit, to be
conservative with what we send, and to interoperate with clightning.
defaults of other clients:
eclair: 30
clightning: 30
lnd: 483
f397b315ac437d47e1583d3320c5c5058ba820f72021-03-05T12:18:44Z2021-03-05T12:18:44Zremove trampoline and forwarding regtests, as they are covered by unittestsThomasVthomasv@electrum.orgcommit f397b315ac437d47e1583d3320c5c5058ba820f7
parent 1f60d5d8eee3a908ae22f58c29391ef0bab87c64
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 13:18:44 +0100
remove trampoline and forwarding regtests, as they are covered by unittests
1f60d5d8eee3a908ae22f58c29391ef0bab87c642021-03-05T12:00:24Z2021-03-05T12:00:24Ztest_lnpeer: add test for trampolineThomasVthomasv@electrum.orgcommit 1f60d5d8eee3a908ae22f58c29391ef0bab87c64
parent eda9097e894b4e94b17160701cf242ad8da76635
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 13:00:24 +0100
test_lnpeer: add test for trampoline
eda9097e894b4e94b17160701cf242ad8da766352021-03-05T11:47:18Z2021-03-05T11:47:18Ztrampoline forwarding: return UNKNOWN_NEXT_PEER if we cannot find a routeThomasVthomasv@electrum.orgcommit eda9097e894b4e94b17160701cf242ad8da76635
parent 6cc3480356ff61e5687b20fde0a3d8d3616f7295
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 12:47:18 +0100
trampoline forwarding: return UNKNOWN_NEXT_PEER if we cannot find a route
6cc3480356ff61e5687b20fde0a3d8d3616f72952021-03-05T09:23:00Z2021-03-05T09:23:00Zfollow-up prev commitThomasVthomasv@electrum.orgcommit 6cc3480356ff61e5687b20fde0a3d8d3616f7295
parent 16554afa1b62c0ea5d759add7bdb640a0a059f95
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 10:23:00 +0100
follow-up prev commit
16554afa1b62c0ea5d759add7bdb640a0a059f952021-03-05T09:14:26Z2021-03-05T09:14:26Zfollow-up previous commit (this was for testing)ThomasVthomasv@electrum.orgcommit 16554afa1b62c0ea5d759add7bdb640a0a059f95
parent 2e4f45ec7446f43e2861cc971bf70ed189590bac
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 10:14:26 +0100
follow-up previous commit (this was for testing)
2e4f45ec7446f43e2861cc971bf70ed189590bac2021-03-05T09:07:02Z2021-03-05T09:07:02Zuse two trampolines: fix blacklisting, use local variables for trampoline_fee_level and use_two_trampolinesThomasVthomasv@electrum.orgcommit 2e4f45ec7446f43e2861cc971bf70ed189590bac
parent ec6baa12f81065ee5b110d6c277a24d752acb11d
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 5 Mar 2021 10:07:02 +0100
use two trampolines: fix blacklisting, use local variables for trampoline_fee_level and use_two_trampolines
ec6baa12f81065ee5b110d6c277a24d752acb11d2021-03-04T16:50:52Z2021-03-04T16:50:52Zfollow-up prevSomberNightsomber.night@protonmail.comcommit ec6baa12f81065ee5b110d6c277a24d752acb11d
parent 064670bd75a67cb41ce42e03ea24f4583e9d1725
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 4 Mar 2021 17:50:52 +0100
follow-up prev
oops, that was just for local testing
064670bd75a67cb41ce42e03ea24f4583e9d17252021-03-04T16:47:49Z2021-03-04T16:47:49Znetwork: close interfaces more aggressively (abort after 2 seconds)SomberNightsomber.night@protonmail.comcommit 064670bd75a67cb41ce42e03ea24f4583e9d1725
parent ff485cee62d33c5f6f95a425839026fa8872cd02
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 4 Mar 2021 17:47:49 +0100
network: close interfaces more aggressively (abort after 2 seconds)
fixes #7083
ff485cee62d33c5f6f95a425839026fa8872cd022021-03-04T15:44:13Z2021-03-04T15:44:13Zuse functools.wraps() for some wrappersSomberNightsomber.night@protonmail.comcommit ff485cee62d33c5f6f95a425839026fa8872cd02
parent 859f8ccf8e5c784d9c2e307f5ff4f8cc293ee27d
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 4 Mar 2021 16:44:13 +0100
use functools.wraps() for some wrappers
to help debugging
859f8ccf8e5c784d9c2e307f5ff4f8cc293ee27d2021-03-04T13:25:41Z2021-03-04T13:25:41Zfix wallet.clear_history()SomberNightsomber.night@protonmail.comcommit 859f8ccf8e5c784d9c2e307f5ff4f8cc293ee27d
parent 5a2a724cb998bf414f3d3213138ac5385c64aaa0
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 4 Mar 2021 14:25:41 +0100
fix wallet.clear_history()
it would result in "wallet.get_history() failed balance sanity-check"
maybe related: https://github.com/spesmilo/electrum/issues/6792
5a2a724cb998bf414f3d3213138ac5385c64aaa02021-03-04T13:08:31Z2021-03-04T13:11:55ZReceive MPP: Use persisted payment status to decide whether to fulfill HTLCs. Without this commit, we might timeout a part of a payment if the client is shut down before all parts are fulfilled.ThomasVthomasv@electrum.orgcommit 5a2a724cb998bf414f3d3213138ac5385c64aaa0
parent e25602ab3be4c43f883d427cdad1d3071b010437
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 4 Mar 2021 14:08:31 +0100
Receive MPP: Use persisted payment status to decide whether to
fulfill HTLCs. Without this commit, we might timeout a part of
a payment if the client is shut down before all parts are
fulfilled.
e25602ab3be4c43f883d427cdad1d3071b0104372021-03-04T12:20:49Z2021-03-04T12:20:49Zwallet: don't put partial tx as UTXO into psbtSomberNightsomber.night@protonmail.comcommit e25602ab3be4c43f883d427cdad1d3071b010437
parent 785fe6aeeacef8b88cb2b8adb19df6d1612b9a1a
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 4 Mar 2021 13:20:49 +0100
wallet: don't put partial tx as UTXO into psbt
if there is a chain of unsigned txs, we cannot populate NON_WITNESS_UTXO
closes #7080
closes #7009
closes #6482
785fe6aeeacef8b88cb2b8adb19df6d1612b9a1a2021-03-04T11:14:47Z2021-03-04T11:14:47Zlnutil: (trivial) add ShortChannelID.from_str() methodSomberNightsomber.night@protonmail.comcommit 785fe6aeeacef8b88cb2b8adb19df6d1612b9a1a
parent 738411e32bacbb6d2859cbbc782634e3d5dff7d2
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 4 Mar 2021 12:14:47 +0100
lnutil: (trivial) add ShortChannelID.from_str() method
for console use atm
738411e32bacbb6d2859cbbc782634e3d5dff7d22021-03-03T19:36:48Z2021-03-04T10:46:31ZTrampoline forwarding: - fix regression in create_routes: fwd_trampoline_onion was not added to the tuple - fix onion structure for e2e - maybe_fulfill_htlc: check the mpp_status of the outer onion, return trampoline_onion to be forwardedThomasVthomasv@electrum.orgcommit 738411e32bacbb6d2859cbbc782634e3d5dff7d2
parent ba4d6bc8b34d17a998c011276ef57aab7f0c5106
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 20:36:48 +0100
Trampoline forwarding:
- fix regression in create_routes:
fwd_trampoline_onion was not added to the tuple
- fix onion structure for e2e
- maybe_fulfill_htlc:
check the mpp_status of the outer onion,
return trampoline_onion to be forwarded
ba4d6bc8b34d17a998c011276ef57aab7f0c51062021-03-04T09:05:09Z2021-03-04T09:05:09Ztrampoline MPP: fix total_msat in trampoline onion, and bucketingThomasVthomasv@electrum.orgcommit ba4d6bc8b34d17a998c011276ef57aab7f0c5106
parent 253907fb606f131a9cbd76743b137d744421b2f3
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 4 Mar 2021 10:05:09 +0100
trampoline MPP: fix total_msat in trampoline onion, and bucketing
253907fb606f131a9cbd76743b137d744421b2f32021-03-04T07:50:22Z2021-03-04T07:50:22Zlnworker: move buckets logic inside first branch of if statement (refactoring commit)ThomasVthomasv@electrum.orgcommit 253907fb606f131a9cbd76743b137d744421b2f3
parent f84f13529af30a9175f7011dde9bdca96e7f6f8d
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 4 Mar 2021 08:50:22 +0100
lnworker: move buckets logic inside first branch of if statement (refactoring commit)
f84f13529af30a9175f7011dde9bdca96e7f6f8d2021-03-03T21:05:09Z2021-03-03T21:05:09Zlnhtlc: fix deadlockSomberNightsomber.night@protonmail.comcommit f84f13529af30a9175f7011dde9bdca96e7f6f8d
parent adbfb2dcc84f015225c63bd239153314bbec05d5
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 3 Mar 2021 22:05:09 +0100
lnhtlc: fix deadlock
adbfb2dcc84f015225c63bd239153314bbec05d52021-03-03T19:35:48Z2021-03-03T19:35:48Zlnworker.pay_to_node: (fix) pass correct total_msat to pay_to_routeSomberNightsomber.night@protonmail.comcommit adbfb2dcc84f015225c63bd239153314bbec05d5
parent 920e1e94fab9d1a39f8e5412bf4677bf9b63ef50
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 3 Mar 2021 20:35:48 +0100
lnworker.pay_to_node: (fix) pass correct total_msat to pay_to_route
920e1e94fab9d1a39f8e5412bf4677bf9b63ef502021-03-03T16:31:08Z2021-03-03T16:31:08Zkivy: InvoiceDialog: make LN invoice QR code scannableSomberNightsomber.night@protonmail.comcommit 920e1e94fab9d1a39f8e5412bf4677bf9b63ef50
parent 1aec982b27a7b12d51493a393849da4f4bccd10d
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 3 Mar 2021 17:31:08 +0100
kivy: InvoiceDialog: make LN invoice QR code scannable
Don't show the text and the QR code together, only the QR code:
the text takes up too much space, which make the QR hard to scan.
1aec982b27a7b12d51493a393849da4f4bccd10d2021-03-03T15:57:54Z2021-03-03T15:57:54Zkivy: SendScreen: reliably show LN payment attempt progress for invoiceSomberNightsomber.night@protonmail.comcommit 1aec982b27a7b12d51493a393849da4f4bccd10d
parent 7ca64ebbd8872e8ebe0b0c3849e2ec078e0dfcab
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 3 Mar 2021 16:57:54 +0100
kivy: SendScreen: reliably show LN payment attempt progress for invoice
7ca64ebbd8872e8ebe0b0c3849e2ec078e0dfcab2021-03-03T14:35:00Z2021-03-03T14:35:38Zfix #7078ThomasVthomasv@electrum.orgcommit 7ca64ebbd8872e8ebe0b0c3849e2ec078e0dfcab
parent 95b7c976e001e0ab16185e5b61c257906fe2ca18
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 15:35:00 +0100
fix #7078
95b7c976e001e0ab16185e5b61c257906fe2ca182021-03-03T13:10:57Z2021-03-03T13:10:57Zlnrouter.get_distances: fix exception due to rare raceSomberNightsomber.night@protonmail.comcommit 95b7c976e001e0ab16185e5b61c257906fe2ca18
parent 3fa1aed8cdc426ae4c929c5160e345e8826854ac
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 3 Mar 2021 14:10:57 +0100
lnrouter.get_distances: fix exception due to rare race
if the graph is being updated while the pathfinding is running,
channel_info might be None here
3fa1aed8cdc426ae4c929c5160e345e8826854ac2021-03-03T11:52:52Z2021-03-03T11:52:52Zadd unit test for basic mppThomasVthomasv@electrum.orgcommit 3fa1aed8cdc426ae4c929c5160e345e8826854ac
parent ca6ecd56f2568220143e92250796d557244e06a8
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 12:52:52 +0100
add unit test for basic mpp
ca6ecd56f2568220143e92250796d557244e06a82021-03-03T11:30:29Z2021-03-03T11:30:29Zfix route for non-trampoline MPPThomasVthomasv@electrum.orgcommit ca6ecd56f2568220143e92250796d557244e06a8
parent 1adde4c54aea2fbc71dedb93b51b7a24d1563a8f
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 12:30:29 +0100
fix route for non-trampoline MPP
1adde4c54aea2fbc71dedb93b51b7a24d1563a8f2021-03-03T10:20:24Z2021-03-03T10:20:24Zqt channels_list: use monospace font for channel capacityThomasVthomasv@electrum.orgcommit 1adde4c54aea2fbc71dedb93b51b7a24d1563a8f
parent 6cf79dcfb299420afa4c45fd4a03d3187bb484fe
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 11:20:24 +0100
qt channels_list: use monospace font for channel capacity
6cf79dcfb299420afa4c45fd4a03d3187bb484fe2021-03-03T10:19:41Z2021-03-03T10:19:41Zqt: update all tabs when base_unit changesThomasVthomasv@electrum.orgcommit 6cf79dcfb299420afa4c45fd4a03d3187bb484fe
parent 222c70ada62cb49ab0949f4097e5819049bf7ede
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 11:19:41 +0100
qt: update all tabs when base_unit changes
222c70ada62cb49ab0949f4097e5819049bf7ede2021-03-03T09:45:46Z2021-03-03T09:45:46Zqt swap_dialog: use a single button to toggle directionThomasVthomasv@electrum.orgcommit 222c70ada62cb49ab0949f4097e5819049bf7ede
parent 51f3c613a5acad42268f10356ca74e6c47bc2b18
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 10:45:46 +0100
qt swap_dialog: use a single button to toggle direction
51f3c613a5acad42268f10356ca74e6c47bc2b182021-03-03T09:03:29Z2021-03-03T09:03:29Z(minor) fix typos and indentationThomasVthomasv@electrum.orgcommit 51f3c613a5acad42268f10356ca74e6c47bc2b18
parent 44059ec116ec32fca88348d4001fe94aef3e72c0
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Mar 2021 10:03:29 +0100
(minor) fix typos and indentation
44059ec116ec32fca88348d4001fe94aef3e72c02021-03-02T17:53:08Z2021-03-02T17:53:08Zlnpeer: more detailed logging in maybe_fulfill_htlcSomberNightsomber.night@protonmail.comcommit 44059ec116ec32fca88348d4001fe94aef3e72c0
parent 9310e9023efa3015c677790a9d092df915e82755
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 2 Mar 2021 18:53:08 +0100
lnpeer: more detailed logging in maybe_fulfill_htlc