ipfs-cluster/state/mapstate
Hector Sanjuan 718b2177ce Issue #51: Save a backup on shutdown
This adds snapshot and restore methods to state and uses the snapshot
one to save a copy of the state when shutting down. Right now, this is
not used for anything else.

Some lines performing a migration, but this is only an idea of how it could
work.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 17:57:10 +01:00
..
map_state_test.go Issue #51: Save a backup on shutdown 2017-03-13 17:57:10 +01:00
map_state.go Issue #51: Save a backup on shutdown 2017-03-13 17:57:10 +01:00
migrate.go Issue #51: Save a backup on shutdown 2017-03-13 17:57:10 +01:00