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.
loop/loopdb
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.
5 years ago
..
codec.go loopdb: make new loopdb package to house persistent storage 5 years ago
interface.go loopdb: add loop in 5 years ago
log.go loopdb: make new loopdb package to house persistent storage 5 years ago
loop.go loopdb: add loop in 5 years ago
loopin.go loopdb: add loop in 5 years ago
loopout.go loopdb: add loop in 5 years ago
meta.go loopdb: make new loopdb package to house persistent storage 5 years ago
store.go loopdb: add loop in 5 years ago
store_test.go loopdb: add loop in 5 years ago
swapstate.go loopdb: add loop in 5 years ago