mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
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. |
||
|---|---|---|
| .. | ||
| codec.go | ||
| interface.go | ||
| log.go | ||
| loop.go | ||
| loopin.go | ||
| loopout.go | ||
| meta.go | ||
| store.go | ||
| store_test.go | ||
| swapstate.go | ||