SomberNight
04edad9984
config: no longer singleton. it is passed to Wallet.__init__
...
The few other cases that used SimpleConfig.get_instance() now
either get passed a config instance, or they try to get a reference
to something else that has a reference to a config.
(see lnsweep, qt/qrcodewidget, qt/qrtextedit)
2019-09-22 20:46:01 +02:00
JeremyRand
032810dace
test_lnrouter: Pull in chain_hash from constants
2019-08-25 07:19:36 +00:00
ThomasV
f2d58d0e3f
optimize channel_db:
...
- use python objects mirrored by sql database
- write sql to file asynchronously
- the sql decorator is awaited in sweepstore, not in channel_db
2019-08-20 09:03:12 +02:00
ThomasV
522ce5bb9f
verify channel updates in peer's TaskGroup
2019-08-20 09:03:11 +02:00
ThomasV
bfdf0a7e88
start asyncio loop in test_lnrouter and test_lnpeer
2019-08-20 09:03:11 +02:00
Janus
dd7c4b3bab
sqlite in lnrouter
2019-08-20 09:03:11 +02:00
SomberNight
2364de930b
lnrouter: run Dijkstra in reverse direction
2019-08-20 09:03:10 +02:00
SomberNight
ded11b4d9e
lnonion: implement error packet construction
2019-08-20 09:03:10 +02:00
SomberNight
2e5552816c
if payment fails with UPDATE onion error, also utilise channel_update for private channels
2019-08-20 09:03:10 +02:00
SomberNight
0578bbd5d0
fix tests
2019-08-20 09:03:10 +02:00
SomberNight
7589bdc6a9
fix tests
2019-08-20 09:03:10 +02:00
SomberNight
d29191b010
rename LNChanAnnVerifier
2019-08-20 09:03:10 +02:00
SomberNight
0b0bc89083
fix tests
2019-08-20 09:03:10 +02:00
SomberNight
5a05a92b3d
move bolt-04 onion stuff to its own module
2019-08-20 09:03:10 +02:00
SomberNight
d0798c336f
channeldb: allow injecting trusted edges
2019-08-20 09:03:10 +02:00
SomberNight
a5b44d25b0
persist channel db on disk. verify channel gossip sigs.
2019-08-20 09:03:10 +02:00
Janus
d740475e7a
move channel_state into HTLCStateMachine
2019-08-20 09:03:10 +02:00
Janus
35adc3231b
lightning: fixup after rebasing on restructured master
2019-08-20 09:03:10 +02:00