The first mwixnet node keeps all unfinished swap requests in volatile memory. Since CoinSwaps will only occur a few times per day, a process interruption could result in lots of swap requests being lost. We should instead serialize all unfinished swaps to disk and automatically recover them when an interrupted process is restored.
The first mwixnet node keeps all unfinished swap requests in volatile memory. Since CoinSwaps will only occur a few times per day, a process interruption could result in lots of swap requests being lost. We should instead serialize all unfinished swaps to disk and automatically recover them when an interrupted process is restored.
https://github.com/mimblewimble/mwixnet/pull/3#discussion_r899390687