SomberNight
|
509df9ddaf
|
create class for ShortChannelID and use it
|
2019-09-06 18:09:05 +02:00 |
|
SomberNight
|
edf186da0d
|
channeldb.load_data: attempt at fixing race
closes #5525
|
2019-09-05 18:32:45 +02:00 |
|
ThomasV
|
bd57880799
|
do not raise exception when add_own_channel adds channel update from the cache
|
2019-09-04 08:01:08 +02:00 |
|
ThomasV
|
e286ed1c13
|
add_own_channel does not need to be async
|
2019-09-03 21:01:45 +02:00 |
|
SomberNight
|
fa5302bcfb
|
(trivial) fix type annotation
|
2019-08-20 09:03:12 +02:00 |
|
SomberNight
|
e54f0fbafa
|
do not raise BaseException
|
2019-08-20 09:03:12 +02:00 |
|
SomberNight
|
d955285808
|
lnrouter/channeldb: small import clean-up
|
2019-08-20 09:03:12 +02:00 |
|
SomberNight
|
f0588846d5
|
channeldb: also store "message_flags" field for channel updates
this is a breaking change for the db format.
As in comment in diff,
"It would make more sense to store the raw gossip messages in the db."
|
2019-08-20 09:03:12 +02:00 |
|
SomberNight
|
d229bb4e4d
|
lnpeer: restore "temp save orphan channel updates" functionality
needed to handle race where remote might send chan_upd too soon
(before we save the short channel id for the channel after it reaches funding locked)
|
2019-08-20 09:03:12 +02:00 |
|
SomberNight
|
ba431495db
|
lnworker: fix silent TypeError in _calc_routing_hints_for_invoice
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
39bae1c7cf
|
channel_db: load_data should load node_info
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
b55f9e9e6a
|
Do not route through channels for which we did not receive
both updates, because this often means one of the nodes is
offline.
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
30e942bead
|
fix: delete from channel_db
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
32fcad5bc3
|
channel_db: update channels_for_node when removing channel
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
238f3c949c
|
get rid of sql_alchemy
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
0eab1692d6
|
Do not store message payloads in channel db.
Use single primary key for addresses.
|
2019-08-20 09:03:12 +02: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
|
180f6d34be
|
separate channel_db module
|
2019-08-20 09:03:12 +02:00 |
|