CCF
Loading...
Searching...
No Matches
recovery_type.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include "ccf/ds/json.h"
6#include "ccf/service/map.h"
7#include "kv/kv_types.h"
8
9namespace ccf
10{
17
20 {{RecoveryType::NONE, "None"},
21 {RecoveryType::RECOVERY_SHARES, "RECOVERY_SHARES"},
22 {RecoveryType::LOCAL_UNSEALING, "LOCAL_UNSEALING"}});
23
25 namespace Tables
26 {
27 static constexpr auto LAST_RECOVERY_TYPE =
28 "public:ccf.internal.last_recovery_type";
29 }
30}
Definition value.h:32
#define DECLARE_JSON_ENUM(TYPE,...)
Definition json.h:837
Definition app_interface.h:14
RecoveryType
Definition recovery_type.h:12
@ RECOVERY_SHARES
Definition recovery_type.h:14
@ LOCAL_UNSEALING
Definition recovery_type.h:15
@ NONE
Definition recovery_type.h:13