#include <internal_tables_access.h>
|
| static void | retire_active_nodes (ccf::kv::Tx &tx) |
| |
| static bool | is_recovery_member (ccf::kv::ReadOnlyTx &tx, const MemberId &member_id) |
| |
| static bool | is_active_member (ccf::kv::ReadOnlyTx &tx, const MemberId &member_id) |
| |
| static std::map< MemberId, ccf::crypto::Pem > | get_active_recovery_members (ccf::kv::ReadOnlyTx &tx) |
| |
| static MemberId | add_member (ccf::kv::Tx &tx, const NewMember &member_pub_info) |
| |
| static bool | activate_member (ccf::kv::Tx &tx, const MemberId &member_id) |
| |
| static bool | remove_member (ccf::kv::Tx &tx, const MemberId &member_id) |
| |
| static UserId | add_user (ccf::kv::Tx &tx, const NewUser &new_user) |
| |
| static void | remove_user (ccf::kv::Tx &tx, const UserId &user_id) |
| |
| static void | add_node (ccf::kv::Tx &tx, const NodeId &id, const NodeInfo &node_info) |
| |
| static std::map< NodeId, NodeInfo > | get_trusted_nodes (ccf::kv::ReadOnlyTx &tx) |
| |
| static void | create_service (ccf::kv::Tx &tx, const ccf::crypto::Pem &service_cert, ccf::TxID create_txid, nlohmann::json service_data=nullptr, bool recovering=false) |
| |
| static bool | is_service_created (ccf::kv::ReadOnlyTx &tx, const ccf::crypto::Pem &expected_service_cert) |
| |
| static bool | open_service (ccf::kv::Tx &tx) |
| |
| static std::optional< ServiceStatus > | get_service_status (ccf::kv::ReadOnlyTx &tx) |
| |
| static void | trust_node (ccf::kv::Tx &tx, const NodeId &node_id, ccf::kv::Version latest_ledger_secret_seqno) |
| |
| static void | set_constitution (ccf::kv::Tx &tx, const std::string &constitution) |
| |
| static void | trust_node_measurement (ccf::kv::Tx &tx, const pal::PlatformAttestationMeasurement &node_measurement, const QuoteFormat &platform) |
| |
| static void | trust_node_host_data (ccf::kv::Tx &tx, const HostData &host_data, const std::optional< HostDataMetadata > &security_policy=std::nullopt) |
| |
| static void | trust_node_uvm_endorsements (ccf::kv::Tx &tx, const std::optional< UVMEndorsements > &uvm_endorsements) |
| |
| static void | init_configuration (ccf::kv::Tx &tx, const ServiceConfiguration &configuration) |
| |
| static bool | set_recovery_threshold (ccf::kv::Tx &tx, size_t threshold) |
| |
| static size_t | get_recovery_threshold (ccf::kv::ReadOnlyTx &tx) |
| |
◆ InternalTablesAccess()
| ccf::InternalTablesAccess::InternalTablesAccess |
( |
| ) |
|
|
delete |
◆ activate_member()
| static bool ccf::InternalTablesAccess::activate_member |
( |
ccf::kv::Tx & |
tx, |
|
|
const MemberId & |
member_id |
|
) |
| |
|
inlinestatic |
◆ add_member()
◆ add_node()
◆ add_user()
◆ create_service()
| static void ccf::InternalTablesAccess::create_service |
( |
ccf::kv::Tx & |
tx, |
|
|
const ccf::crypto::Pem & |
service_cert, |
|
|
ccf::TxID |
create_txid, |
|
|
nlohmann::json |
service_data = nullptr, |
|
|
bool |
recovering = false |
|
) |
| |
|
inlinestatic |
◆ get_active_recovery_members()
◆ get_recovery_threshold()
◆ get_service_status()
◆ get_trusted_nodes()
◆ init_configuration()
◆ is_active_member()
◆ is_recovery_member()
◆ is_service_created()
◆ open_service()
| static bool ccf::InternalTablesAccess::open_service |
( |
ccf::kv::Tx & |
tx | ) |
|
|
inlinestatic |
◆ remove_member()
| static bool ccf::InternalTablesAccess::remove_member |
( |
ccf::kv::Tx & |
tx, |
|
|
const MemberId & |
member_id |
|
) |
| |
|
inlinestatic |
◆ remove_user()
| static void ccf::InternalTablesAccess::remove_user |
( |
ccf::kv::Tx & |
tx, |
|
|
const UserId & |
user_id |
|
) |
| |
|
inlinestatic |
◆ retire_active_nodes()
| static void ccf::InternalTablesAccess::retire_active_nodes |
( |
ccf::kv::Tx & |
tx | ) |
|
|
inlinestatic |
◆ set_constitution()
| static void ccf::InternalTablesAccess::set_constitution |
( |
ccf::kv::Tx & |
tx, |
|
|
const std::string & |
constitution |
|
) |
| |
|
inlinestatic |
◆ set_recovery_threshold()
| static bool ccf::InternalTablesAccess::set_recovery_threshold |
( |
ccf::kv::Tx & |
tx, |
|
|
size_t |
threshold |
|
) |
| |
|
inlinestatic |
◆ trust_node()
◆ trust_node_host_data()
| static void ccf::InternalTablesAccess::trust_node_host_data |
( |
ccf::kv::Tx & |
tx, |
|
|
const HostData & |
host_data, |
|
|
const std::optional< HostDataMetadata > & |
security_policy = std::nullopt |
|
) |
| |
|
inlinestatic |
◆ trust_node_measurement()
◆ trust_node_uvm_endorsements()
| static void ccf::InternalTablesAccess::trust_node_uvm_endorsements |
( |
ccf::kv::Tx & |
tx, |
|
|
const std::optional< UVMEndorsements > & |
uvm_endorsements |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: