Interface KeyPoolStateStore

Where a pool keeps its state across restarts. Both calls may reject; the pool logs and carries on.

interface KeyPoolStateStore {
    load(poolId): Promise<null | KeyState[]>;
    save(poolId, state): Promise<void>;
}

Implemented by

Methods

Methods