Skip to main content

Module storage

Module storage 

Source
Expand description

Persistent encrypted storage backend. Persistent encrypted storage backend.

Structs§

ProxyConfig
SOCKS5 proxy configuration stored in the vault.
Storage
Encrypted persistent storage for keys and FROST shares.

Enums§

ReplicatedApply
Outcome of applying a replicated keep-state event on the standby.

Traits§

StatePublisher
Sink for vault-state changes so a node can replicate its redb records to a standby (the keep-state-over-wisp design). keep-web installs an implementation that publishes each change as a Nostr event; keep-core only signals table/record/bytes and never touches the network. on_record carries the record’s already-encrypted redb bytes – the exact bytes stored – so a peer that shares the vault key stores them verbatim. Called from inside the write path, so an implementation MUST NOT block: enqueue and return.