#include <network_identity_subsystem.h>
Inherits ccf::NetworkIdentitySubsystemInterface.
◆ NetworkIdentitySubsystem()
◆ endorsements_fetching_status()
| FetchStatus ccf::NetworkIdentitySubsystem::endorsements_fetching_status |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get()
| const std::unique_ptr< NetworkIdentity > & ccf::NetworkIdentitySubsystem::get |
( |
| ) |
|
|
inlineoverridevirtual |
◆ get_cose_endorsements_chain()
Returns the COSE endorsements chain for the given sequence number, or std::nullopt if the chain is not available for the given sequence number.
- Exceptions
-
Implements ccf::NetworkIdentitySubsystemInterface.
◆ get_trusted_identity_for()
Returns the trusted EC public key that was active at the given sequence number, or nullptr if the sequence number precedes the earliest known trusted key.
- Exceptions
-
| IdentityHistoryNotFetched | if identity history fetching has not completed. |
| std::logic_error | if no trusted keys have been fetched, or if internal key resolution is inconsistent. |
Implements ccf::NetworkIdentitySubsystemInterface.
◆ get_trusted_keys()
| TrustedKeys ccf::NetworkIdentitySubsystem::get_trusted_keys |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ current_service_from
| std::optional<TxID> ccf::NetworkIdentitySubsystem::current_service_from |
|
protected |
◆ earliest_endorsed_seq
| SeqNo ccf::NetworkIdentitySubsystem::earliest_endorsed_seq {0} |
|
protected |
◆ endorsements
◆ fetch_status
◆ has_predecessors
| bool ccf::NetworkIdentitySubsystem::has_predecessors {false} |
|
protected |
◆ historical_cache
◆ network_identity
| const std::unique_ptr<NetworkIdentity>& ccf::NetworkIdentitySubsystem::network_identity |
|
protected |
◆ node_state
◆ trusted_keys
The documentation for this class was generated from the following file: