mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
9678c7817d
This commits adds an optional label to our swaps, and writes it to disk under a separate key in our swap bucket. This approach is chosen rather than an on-the-fly addition to our existing swap contract field so that we do not need to deal with EOF checking in the future. To allow creation of unique internal labels, we add a reserved prefix which can be used by the daemon to set labels that are distinct from client set ones. |
||
---|---|---|
.. | ||
labels_test.go | ||
labels.go |