CCF
Loading...
Searching...
No Matches
service_config.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
7
8#include <cstdint>
9#include <optional>
10
11namespace ccf
12{
14 {
15 // Number of recovery shares required to decrypt the latest ledger secret
17
19
24 std::optional<size_t> maximum_node_certificate_validity_days = std::nullopt;
26 std::nullopt;
27
28 std::optional<ReconfigurationType> reconfiguration_type = std::nullopt;
29
35 std::optional<size_t> recent_cose_proposals_window_size = std::nullopt;
36
47 };
48
49}
Definition app_interface.h:14
ConsensusType
Definition consensus_type.h:10
@ CFT
Definition consensus_type.h:11
Definition consensus_types.h:23
Definition service_config.h:14
std::optional< ReconfigurationType > reconfiguration_type
Definition service_config.h:28
std::optional< size_t > maximum_service_certificate_validity_days
Definition service_config.h:25
bool operator==(const ServiceConfiguration &other) const
Definition service_config.h:37
std::optional< size_t > recent_cose_proposals_window_size
Size of recent_cose_proposals window.
Definition service_config.h:35
ConsensusType consensus
Definition service_config.h:18
size_t recovery_threshold
Definition service_config.h:16
std::optional< size_t > maximum_node_certificate_validity_days
Definition service_config.h:24