anoma / anoma-archive

Reference implementation of the Anoma protocols in Rust.
https://anoma.net
GNU General Public License v3.0
426 stars 176 forks source link

add persistant storage #204

Open sribst opened 3 years ago

sribst commented 3 years ago

Right now both the intent mempool used by the matchmaker and the matchmaker storage are lost when the node stop.

It would be interesting to save them in some persistent way

┆Issue is synchronized with this Asana task by Unito

cwgoes commented 3 years ago

Yes; we should use a simple database layer to store the mempool - and it might be worth already integrating that in a way which assumes that it may not be possible to keep all intents in RAM at once.