Commit Graph

3 Commits (66847279522429e831ce949dde01a54c3ba1c525)

Author SHA1 Message Date
Joost Jager 6a0a9556a0
loopdb: add loop in
This commit adds the required code to persist loop in swaps. It also
introduces the file loop.go to which shared code is moved.

Sharing of contract serialization/deserialization code has been
reverted. The prepay fields do not apply to loop in, but were part of
the shared contract struct. Without also adding a migration, it wouldn't
be possible to keep the shared code.

In general it is probably more flexible to keep the contract
serialization code separated between in and out swaps.
6 years ago
Olaoluwa Osuntokun 94f347e673
multi: finalize rename from uncharge to loop out 6 years ago
Olaoluwa Osuntokun 908d82acdb
loop: extract code from client package into new loop primary package 6 years ago