#include <node_interface.h>
Inherited by ccf::NodeState.
|
| virtual | ~AbstractNodeState ()=default |
| |
| virtual void | transition_service_to_open (ccf::kv::Tx &tx, AbstractGovernanceEffects::ServiceIdentities identities)=0 |
| |
| virtual bool | rekey_ledger (ccf::kv::Tx &tx)=0 |
| |
| virtual void | trigger_recovery_shares_refresh (ccf::kv::Tx &tx)=0 |
| |
| virtual void | trigger_ledger_chunk (ccf::kv::Tx &tx)=0 |
| |
| virtual void | trigger_snapshot (ccf::kv::Tx &tx)=0 |
| |
| virtual bool | is_in_initialised_state () const =0 |
| |
| virtual bool | is_part_of_public_network () const =0 |
| |
| virtual bool | is_primary () const =0 |
| |
| virtual bool | can_replicate ()=0 |
| |
| virtual std::optional< ccf::NodeId > | get_primary ()=0 |
| |
| virtual bool | is_reading_public_ledger () const =0 |
| |
| virtual bool | is_reading_private_ledger () const =0 |
| |
| virtual bool | is_part_of_network () const =0 |
| |
| virtual ccf::kv::Version | get_last_recovered_signed_idx ()=0 |
| |
| virtual void | initiate_private_recovery (ccf::kv::Tx &tx, const std::optional< LedgerSecretPtr > &unsealed_ledger_secret=std::nullopt)=0 |
| |
| virtual ExtendedState | state ()=0 |
| |
| virtual QuoteVerificationResult | verify_quote (ccf::kv::ReadOnlyTx &tx, const QuoteInfo "e_info, const std::vector< uint8_t > &expected_node_public_key_der, pal::PlatformAttestationMeasurement &measurement)=0 |
| |
| virtual ccf::kv::Version | get_startup_snapshot_seqno ()=0 |
| |
| virtual SessionMetrics | get_session_metrics ()=0 |
| |
| virtual size_t | get_jwt_attempts ()=0 |
| |
| virtual ccf::crypto::Pem | get_self_signed_certificate ()=0 |
| |
| virtual const ccf::COSESignaturesConfig & | get_cose_signatures_config ()=0 |
| |
| virtual const ccf::StartupConfig & | get_node_config () const =0 |
| |
| virtual ccf::crypto::Pem | get_network_cert ()=0 |
| |
| virtual void | stop_notice ()=0 |
| |
| virtual bool | has_received_stop_notice ()=0 |
| |
| virtual bool | is_member_frontend_open ()=0 |
| |
| virtual bool | is_user_frontend_open ()=0 |
| |
| virtual bool | is_accessible_to_members () const =0 |
| |
| 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 |
| |
| virtual std::shared_ptr< ccf::kv::Store > | get_store ()=0 |
| |
| virtual ringbuffer::AbstractWriterFactory & | get_writer_factory ()=0 |
| |
◆ ~AbstractNodeState()
| virtual ccf::AbstractNodeState::~AbstractNodeState |
( |
| ) |
|
|
virtualdefault |
◆ can_replicate()
| virtual bool ccf::AbstractNodeState::can_replicate |
( |
| ) |
|
|
pure virtual |
◆ get_cose_signatures_config()
◆ get_jwt_attempts()
| virtual size_t ccf::AbstractNodeState::get_jwt_attempts |
( |
| ) |
|
|
pure virtual |
◆ get_last_recovered_signed_idx()
| virtual ccf::kv::Version ccf::AbstractNodeState::get_last_recovered_signed_idx |
( |
| ) |
|
|
pure virtual |
◆ get_network_cert()
◆ get_node_config()
◆ get_primary()
| virtual std::optional< ccf::NodeId > ccf::AbstractNodeState::get_primary |
( |
| ) |
|
|
pure virtual |
◆ get_self_signed_certificate()
| virtual ccf::crypto::Pem ccf::AbstractNodeState::get_self_signed_certificate |
( |
| ) |
|
|
pure virtual |
◆ get_session_metrics()
| virtual SessionMetrics ccf::AbstractNodeState::get_session_metrics |
( |
| ) |
|
|
pure virtual |
◆ get_startup_snapshot_seqno()
◆ get_store()
| virtual std::shared_ptr< ccf::kv::Store > ccf::AbstractNodeState::get_store |
( |
| ) |
|
|
pure virtual |
◆ get_writer_factory()
◆ has_received_stop_notice()
| virtual bool ccf::AbstractNodeState::has_received_stop_notice |
( |
| ) |
|
|
pure virtual |
◆ initiate_private_recovery()
| virtual void ccf::AbstractNodeState::initiate_private_recovery |
( |
ccf::kv::Tx & |
tx, |
|
|
const std::optional< LedgerSecretPtr > & |
unsealed_ledger_secret = std::nullopt |
|
) |
| |
|
pure virtual |
◆ is_accessible_to_members()
| virtual bool ccf::AbstractNodeState::is_accessible_to_members |
( |
| ) |
const |
|
pure virtual |
◆ is_in_initialised_state()
| virtual bool ccf::AbstractNodeState::is_in_initialised_state |
( |
| ) |
const |
|
pure virtual |
◆ is_member_frontend_open()
| virtual bool ccf::AbstractNodeState::is_member_frontend_open |
( |
| ) |
|
|
pure virtual |
◆ is_part_of_network()
| virtual bool ccf::AbstractNodeState::is_part_of_network |
( |
| ) |
const |
|
pure virtual |
◆ is_part_of_public_network()
| virtual bool ccf::AbstractNodeState::is_part_of_public_network |
( |
| ) |
const |
|
pure virtual |
◆ is_primary()
| virtual bool ccf::AbstractNodeState::is_primary |
( |
| ) |
const |
|
pure virtual |
◆ is_reading_private_ledger()
| virtual bool ccf::AbstractNodeState::is_reading_private_ledger |
( |
| ) |
const |
|
pure virtual |
◆ is_reading_public_ledger()
| virtual bool ccf::AbstractNodeState::is_reading_public_ledger |
( |
| ) |
const |
|
pure virtual |
◆ is_user_frontend_open()
| virtual bool ccf::AbstractNodeState::is_user_frontend_open |
( |
| ) |
|
|
pure virtual |
◆ make_http_request()
| virtual void ccf::AbstractNodeState::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 |
|
) |
| |
|
pure virtual |
◆ rekey_ledger()
| virtual bool ccf::AbstractNodeState::rekey_ledger |
( |
ccf::kv::Tx & |
tx | ) |
|
|
pure virtual |
◆ state()
◆ stop_notice()
| virtual void ccf::AbstractNodeState::stop_notice |
( |
| ) |
|
|
pure virtual |
◆ transition_service_to_open()
◆ trigger_ledger_chunk()
| virtual void ccf::AbstractNodeState::trigger_ledger_chunk |
( |
ccf::kv::Tx & |
tx | ) |
|
|
pure virtual |
◆ trigger_recovery_shares_refresh()
| virtual void ccf::AbstractNodeState::trigger_recovery_shares_refresh |
( |
ccf::kv::Tx & |
tx | ) |
|
|
pure virtual |
◆ trigger_snapshot()
| virtual void ccf::AbstractNodeState::trigger_snapshot |
( |
ccf::kv::Tx & |
tx | ) |
|
|
pure virtual |
◆ verify_quote()
The documentation for this class was generated from the following file: