loop/loopdb
Joost Jager a3b7fa5977
loopin: fail swap when htlc amount is incorrect
Previously the swap would get stuck in a state where it wouldn't ever
progress because the server rejected the htlc.
2020-06-25 14:22:46 +02: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: store outgoing channel set 2020-05-21 11:22:04 +02:00
meta.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02: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
migration_04_updates.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
migration_04_updates_test.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
raw_db_test.go loopdb: allow restored databases to contain nil values 2020-06-23 12:46:00 +02:00
store.go loopdb: persist htlc tx hash 2020-06-24 15:28:09 +02:00
store_test.go loopdb: persist htlc tx hash 2020-06-24 15:28:09 +02:00
swapstate.go loopin: fail swap when htlc amount is incorrect 2020-06-25 14:22:46 +02:00