// SPDX-License-Identifier: Apache-2.0
/**
 * The current state of the ledger (consensus node).
 */
export var LedgerPhase;
(function (LedgerPhase) {
    /**
     * The ledger has not been initialized yet and is in a pre-genesis state.
     */
    LedgerPhase["UNINITIALIZED"] = "uninitialized";
    /**
     * The ledger has been initialized and is in a post-genesis state. This is the normal state for a ledger.
     */
    LedgerPhase["INITIALIZED"] = "initialized";
    /**
     * The ledger has not been initialized yet, but a ledger state is being restored from a snapshot.
     */
    LedgerPhase["SNAPSHOT_RESTORING"] = "snapshot-restoring";
    /**
     * The ledger has been initialized and a ledger state has been restored from a snapshot.
     */
    LedgerPhase["SNAPSHOT_RESTORED"] = "snapshot-restored";
    /**
     * The ledger has been initialized and is undergoing disaster recovery.
     */
    LedgerPhase["RECOVERING"] = "recovering";
    /**
     * The ledger has been initialized and disaster recovery has been completed.
     */
    LedgerPhase["RECOVERED"] = "recovered";
    /**
     * The ledger has been initialized and there is an outstanding request to freeze the ledger.
     */
    LedgerPhase["FREEZING"] = "freezing";
    /**
     * The ledger has been initialized and the ledger has been frozen.
     */
    LedgerPhase["FROZEN"] = "frozen";
})(LedgerPhase || (LedgerPhase = {}));
//# sourceMappingURL=ledger-phase.js.map