CCF
Loading...
Searching...
No Matches
submitted_shares.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/service/map.h"
6
7#include <vector>
8
9namespace ccf
10{
11 // This table keeps track of the submitted encrypted recovery share so that
12 // the public-only service is resilient to elections while members submit
13 // their recovery shares.
14 // Because shares are submitted to the public-only network on recovery, this
15 // table is public but the shares are encrypted with the latest ledger secret.
16
17 using EncryptedSubmittedShare = std::vector<uint8_t>;
20
21 namespace Tables
22 {
23 static constexpr auto ENCRYPTED_SUBMITTED_SHARES =
24 "public:ccf.internal.encrypted_submitted_shares";
25 }
26}
Definition map.h:30
Definition app_interface.h:14
std::vector< uint8_t > EncryptedSubmittedShare
Definition submitted_shares.h:17