Data
Index
Where Anoma saves State
Anoma follows XDG conventions for state stored on the operating system:
-
Database dumps and Database tables are stored in
$XDG_DATA_HOME/anoma_env
-
Configuration files are stored in
$XDG_CONFIG_HOME/anoma_env
Configuration Files
Currently Anoma stores a file config.toml
with minimal settings for your Anoma node.
Configuration Format
TODO write about each field or link to a relavent section
Sending in a custom configuration file
TODO explain how to do this
Data Files
Anoma stores a few different files in the $XDG_DATA_HOME
The dump
file contains all information necessary to restore Anoma
to the time when the dump
command was used on Anoma
.
Beware this will overwrite the local Mnesia tables.
The Mnesia tables are created every time one runs Anoma.
These Mnesia tables contain chain information that the Anoma execution environment can query.
To learn more about our data format, please checkout the developer’s section on Mnesia Vs Actor State.
Launching with a given dump file
TODO write how to send in the CLI arguments to restore a dump