Module persist

Module persist 

Source
Expand description

Compatibility layer: delegate persistence of the DDS registration secret to the canonical store provided by posemesh-node-registration.

Functionsยง

clear_node_secret
Clear any persisted secret. Intended for tests.
read_node_secret
Read persisted secret. Returns Ok(None) if secret missing.
write_node_secret
Persist node secret in memory. Overwrites existing secret.