CCF
|
Classes | |
struct | ProposalSubmissionResult |
Functions | |
AuthnPolicies | member_sig_only_policies (const std::string &gov_msg_type) |
AuthnPolicies | active_member_sig_only_policies (const std::string &gov_msg_type) |
template<typename EntityType > | |
std::optional< EntityType > | parse_hex_id (const std::string &s) |
bool | try_parse_member_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::MemberId &member_id) |
bool | try_parse_signed_member_id (const ccf::MemberCOSESign1AuthnIdentity &cose_ident, const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::MemberId &member_id) |
bool | try_parse_user_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::UserId &user_id) |
bool | try_parse_proposal_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::ProposalId &proposal_id) |
bool | try_parse_signed_proposal_id (const ccf::MemberCOSESign1AuthnIdentity &cose_ident, const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::ProposalId &proposal_id) |
bool | try_parse_node_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::NodeId &node_id) |
ProposalSubmissionResult | validate_proposal_submission_time (ccf::kv::Tx &tx, const std::string &created_at, const std::vector< uint8_t > &request_digest, const ccf::ProposalId &proposal_id) |
void | record_cose_governance_history (ccf::kv::Tx &tx, const MemberId &caller_id, const std::span< const uint8_t > &cose_sign1) |
void | remove_all_other_non_open_proposals (ccf::kv::Tx &tx, const ProposalId &proposal_id) |
void | resolve_proposal (ccf::AbstractNodeContext &context, ccf::NetworkState &network, ccf::kv::Tx &tx, const ProposalId &proposal_id, const std::span< const uint8_t > &proposal_bytes, ccf::jsgov::ProposalInfo &proposal_info, const std::string &constitution) |
nlohmann::json | convert_proposal_to_api_format (const ProposalId &proposal_id, const ccf::jsgov::ProposalInfo &summary) |
AuthnPolicies ccf::gov::endpoints::detail::active_member_sig_only_policies | ( | const std::string & | gov_msg_type | ) |
nlohmann::json ccf::gov::endpoints::detail::convert_proposal_to_api_format | ( | const ProposalId & | proposal_id, |
const ccf::jsgov::ProposalInfo & | summary | ||
) |
AuthnPolicies ccf::gov::endpoints::detail::member_sig_only_policies | ( | const std::string & | gov_msg_type | ) |
std::optional< EntityType > ccf::gov::endpoints::detail::parse_hex_id | ( | const std::string & | s | ) |
void ccf::gov::endpoints::detail::record_cose_governance_history | ( | ccf::kv::Tx & | tx, |
const MemberId & | caller_id, | ||
const std::span< const uint8_t > & | cose_sign1 | ||
) |
void ccf::gov::endpoints::detail::remove_all_other_non_open_proposals | ( | ccf::kv::Tx & | tx, |
const ProposalId & | proposal_id | ||
) |
void ccf::gov::endpoints::detail::resolve_proposal | ( | ccf::AbstractNodeContext & | context, |
ccf::NetworkState & | network, | ||
ccf::kv::Tx & | tx, | ||
const ProposalId & | proposal_id, | ||
const std::span< const uint8_t > & | proposal_bytes, | ||
ccf::jsgov::ProposalInfo & | proposal_info, | ||
const std::string & | constitution | ||
) |
bool ccf::gov::endpoints::detail::try_parse_member_id | ( | const std::shared_ptr< ccf::RpcContext > & | rpc_ctx, |
ccf::MemberId & | member_id | ||
) |
bool ccf::gov::endpoints::detail::try_parse_node_id | ( | const std::shared_ptr< ccf::RpcContext > & | rpc_ctx, |
ccf::NodeId & | node_id | ||
) |
bool ccf::gov::endpoints::detail::try_parse_proposal_id | ( | const std::shared_ptr< ccf::RpcContext > & | rpc_ctx, |
ccf::ProposalId & | proposal_id | ||
) |
bool ccf::gov::endpoints::detail::try_parse_signed_member_id | ( | const ccf::MemberCOSESign1AuthnIdentity & | cose_ident, |
const std::shared_ptr< ccf::RpcContext > & | rpc_ctx, | ||
ccf::MemberId & | member_id | ||
) |
bool ccf::gov::endpoints::detail::try_parse_signed_proposal_id | ( | const ccf::MemberCOSESign1AuthnIdentity & | cose_ident, |
const std::shared_ptr< ccf::RpcContext > & | rpc_ctx, | ||
ccf::ProposalId & | proposal_id | ||
) |
bool ccf::gov::endpoints::detail::try_parse_user_id | ( | const std::shared_ptr< ccf::RpcContext > & | rpc_ctx, |
ccf::UserId & | user_id | ||
) |
ProposalSubmissionResult ccf::gov::endpoints::detail::validate_proposal_submission_time | ( | ccf::kv::Tx & | tx, |
const std::string & | created_at, | ||
const std::vector< uint8_t > & | request_digest, | ||
const ccf::ProposalId & | proposal_id | ||
) |