2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-11 13:11:12 +00:00
loop/loopdb
Joost Jager 535e964ec9
loopdb: migrate loop in channel to last hop
A database field was already in place to allow channel selection for
loop in. Unfortunately this field, which contains a short channel id,
isn't easily usable for controlling the loop server payment. Because of
non-strict forwarding, it is only possible to constrain a route to a
specific last hop pubkey.

This commit converts the existing field into a pubkey field.
2020-02-17 19:59:05 +01:00
..
codec.go loopdb: make new loopdb package to house persistent storage 2019-03-06 20:33:27 -08:00
interface.go loopdb: replace swap state enum by state data object 2019-05-20 13:57:09 +02:00
log.go multi: add persistent logger 2019-10-28 17:09:23 +01:00
loop.go multi: store swap cost in database 2019-05-20 13:57:18 +02:00
loopin.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
loopout.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
meta.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
migration_01_costs.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_02_swap_publication_deadline.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_03_last_hop.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
store_test.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
store.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
swapstate.go multi: store swap cost in database 2019-05-20 13:57:18 +02:00