Commit Graph

5 Commits (535e964ec938ebde6ef1227748953dea1d70e11f)

Author SHA1 Message Date
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.
4 years ago
Johan T. Halseth 034cba5b95
loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract
We also add a migration for the new LoopOut DB format.
4 years ago
Joost Jager 6efa62347b
multi: store swap cost in database 5 years ago
Joost Jager 24a1b8d642
loopdb: initialize new database with current version 5 years ago
Olaoluwa Osuntokun cdcb9f8345 loopdb: make new loopdb package to house persistent storage 5 years ago