Module persist

Source
Expand description

Persistence

Modules§

fs
File system persisters
model
Models for persistence

Structs§

ChainTrackerListenerEntry
Used to keep track of the chain monitor listeners while restoring from persistence
DummyPersister
A null persister for testing
DummySeedPersister
A null seed persister for testing
ExternalPersistHelper
An external persister helper
MemorySeedPersister
A single in-memory seed persister - for testing
Mutations
A list of mutations memorized by a memorizing persister
SimpleEntropy
A simple entropy source for std environments

Enums§

Error
Error returned by persister

Traits§

Persist
Persister of nodes and channels
SeedPersist
Seed persister

Functions§

compute_shared_hmac
Compute a client/server HMAC - which proves the client or server initiated this call and no replay occurred.

Type Aliases§

SignerId
A unique signer ID for this signer, used by persisters to identify themselves