CCF
Loading...
Searching...
No Matches
src
service
tables
governance_history.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/entity_id.h
"
6
#include "
ccf/service/map.h
"
7
#include "
ccf/service/signed_req.h
"
8
#include "
ccf/service/tables/proposals.h
"
9
10
namespace
ccf
11
{
12
using
GovernanceHistory
=
ServiceMap<MemberId, SignedReq>
;
13
namespace
Tables
14
{
15
static
constexpr
auto
GOV_HISTORY =
"public:ccf.gov.history"
;
16
}
17
using
COSEGovernanceHistory
=
ServiceMap<MemberId, std::vector<uint8_t>
>;
18
namespace
Tables
19
{
20
static
constexpr
auto
COSE_GOV_HISTORY =
"public:ccf.gov.cose_history"
;
21
}
22
using
COSERecentProposals
=
ServiceMap<std::string, ProposalId>
;
23
namespace
Tables
24
{
25
static
constexpr
auto
COSE_RECENT_PROPOSALS =
26
"public:ccf.gov.cose_recent_proposals"
;
27
}
28
}
ccf::kv::TypedMap
Definition
map.h:30
entity_id.h
proposals.h
ccf
Definition
app_interface.h:14
map.h
signed_req.h
Generated by
1.9.8