oasis-core
oasis-core copied to clipboard
Node state reset option for enclave-encrypted `worker-local-storage.badger.db`
SUMMARY
oasis-node unsafe-reset should also have an option like --preserve.worker-local-storage to either preserve or reset the per-runtime enclave-encrypted worker-local-storage.badger.db storage. This has to be reset each time the key manager node is updated.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
- https://github.com/oasisprotocol/oasis-core/blob/master/go/oasis-node/cmd/node/unsafe_reset.go
ADDITIONAL INFORMATION
Actually, should there also be an option to reset the node identity (remove all *.pem files)? It comes in handy when replicating state between nodes.