mirror of https://github.com/lightninglabs/loop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6a0a9556a0
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. |
5 years ago | |
---|---|---|
.. | ||
codec.go | 5 years ago | |
interface.go | 5 years ago | |
log.go | 5 years ago | |
loop.go | 5 years ago | |
loopin.go | 5 years ago | |
loopout.go | 5 years ago | |
meta.go | 5 years ago | |
store.go | 5 years ago | |
store_test.go | 5 years ago | |
swapstate.go | 5 years ago |