|
| NodeState (ringbuffer::AbstractWriterFactory &writer_factory, NetworkState &network, std::shared_ptr< RPCSessions > rpcsessions, ccf::crypto::CurveID curve_id_) |
|
QuoteVerificationResult | verify_quote (ccf::kv::ReadOnlyTx &tx, const QuoteInfo "e_info_, const std::vector< uint8_t > &expected_node_public_key_der, pal::PlatformAttestationMeasurement &measurement) override |
|
void | initialize (const ccf::consensus::Configuration &consensus_config_, std::shared_ptr< RPCMap > rpc_map_, std::shared_ptr< AbstractRPCResponder > rpc_sessions_, std::shared_ptr< indexing::Indexer > indexer_, size_t sig_tx_interval_, size_t sig_ms_interval_) |
|
void | launch_node () |
|
void | initiate_quote_generation () |
|
NodeCreateInfo | create (StartType start_type_, const ccf::StartupConfig &config_, std::vector< uint8_t > &&startup_snapshot_) |
|
void | initiate_join_unsafe () |
|
void | initiate_join () |
|
void | start_join_timer () |
|
void | auto_refresh_jwt_keys () |
|
size_t | get_jwt_attempts () override |
|
void | start_ledger_recovery_unsafe () |
|
void | recover_public_ledger_entries (const std::vector< uint8_t > &entries) |
|
void | advance_part_of_public_network () |
|
void | advance_part_of_network () |
|
void | recover_public_ledger_end_unsafe () |
|
void | recover_private_ledger_entries (const std::vector< uint8_t > &entries) |
|
void | recover_private_ledger_end_unsafe () |
|
void | setup_one_off_secret_hook () |
|
void | recover_ledger_end () |
|
void | setup_private_recovery_store () |
|
void | trigger_recovery_shares_refresh (ccf::kv::Tx &tx) override |
|
void | trigger_ledger_chunk (ccf::kv::Tx &tx) override |
|
void | trigger_snapshot (ccf::kv::Tx &tx) override |
|
void | trigger_acme_refresh (ccf::kv::Tx &tx, const std::optional< std::vector< std::string > > &interfaces=std::nullopt) override |
|
void | trigger_host_process_launch (const std::vector< std::string > &args, const std::vector< uint8_t > &input) override |
|
void | transition_service_to_open (ccf::kv::Tx &tx, AbstractGovernanceEffects::ServiceIdentities identities) override |
|
void | initiate_private_recovery_unsafe (ccf::kv::Tx &tx, const std::optional< LedgerSecretPtr > &unsealed_ledger_secret=std::nullopt) |
|
void | initiate_private_recovery (ccf::kv::Tx &tx, const std::optional< LedgerSecretPtr > &unsealed_ledger_secret=std::nullopt) override |
|
void | tick (std::chrono::milliseconds elapsed) |
|
void | tick_end () |
|
void | stop_notice () override |
|
bool | has_received_stop_notice () override |
|
void | recv_node_inbound (const uint8_t *data, size_t size) |
|
bool | is_primary () const override |
|
bool | can_replicate () override |
|
bool | is_in_initialised_state () const override |
|
bool | is_part_of_network () const override |
|
bool | is_reading_public_ledger () const override |
|
bool | is_reading_private_ledger () const override |
|
bool | is_part_of_public_network () const override |
|
bool | is_accessible_to_members () const override |
|
ExtendedState | state () override |
|
bool | rekey_ledger (ccf::kv::Tx &tx) override |
|
NodeId | get_node_id () const |
|
ccf::kv::Version | get_startup_snapshot_seqno () override |
|
SessionMetrics | get_session_metrics () override |
|
ccf::crypto::Pem | get_self_signed_certificate () override |
|
const ccf::COSESignaturesConfig & | get_cose_signatures_config () override |
|
void | set_n2n_message_limit (size_t message_limit) |
|
void | set_n2n_idle_timeout (std::chrono::milliseconds idle_timeout) |
|
virtual const ccf::StartupConfig & | get_node_config () const override |
|
virtual ccf::crypto::Pem | get_network_cert () override |
|
virtual void | install_custom_acme_challenge_handler (const ccf::NodeInfoNetwork::RpcInterfaceID &interface_id, std::shared_ptr< ACMEChallengeHandler > h) override |
|
virtual void | make_http_request (const ::http::URL &url, ::http::Request &&req, std::function< bool(ccf::http_status status, http::HeaderMap &&, std::vector< uint8_t > &&)> callback, const std::vector< std::string > &ca_certs={}, const std::string &app_protocol="HTTP1", bool authenticate_as_node_client_certificate=false) override |
|
void | write_snapshot (std::span< uint8_t > snapshot_buf, size_t request_id) |
|
virtual std::shared_ptr< ccf::kv::Store > | get_store () override |
|
virtual ringbuffer::AbstractWriterFactory & | get_writer_factory () override |
|
virtual | ~AbstractNodeState () |
|
virtual void | make_http_request (const ::http::URL &url, ::http::Request &&req, std::function< bool(ccf::http_status status, ccf::http::HeaderMap &&, std::vector< uint8_t > &&)> callback, const std::vector< std::string > &ca_certs={}, const std::string &app_protocol="HTTP1", bool use_node_client_certificate=false)=0 |
|