Skip to main content

Crate blossom

Crate blossom 

Source
Expand description

Blossom v2 consensus protocol.

This crate contains the protocol messages, quorum selection, block commitment, membership reducers, runtime service registry, TCP wire surface, telemetry events, and block-intake primitives needed to build and test Blossom nodes.

Blossom is application-agnostic: transaction payload bytes and block-carried application state are committed by the protocol but interpreted by the application layer. Ledger, cache, database, and workflow integrations should live above this crate.

Start with NodeRuntime for consensus participation, OverlayRuntime for topology-aware fan-out without epoch state, WireRequest for TCP integration, and Transaction plus Block for application bytes.

Re-exports§

pub use active_active::ActiveActiveCommand;
pub use active_active::ActiveActiveConsistencyMode;
pub use active_active::ActiveActiveDurabilityMetrics;
pub use active_active::AdmissionBatchReceipt;
pub use active_active::AdmissionBatchReceiptBody;
pub use active_active::AdmissionReceipt;
pub use active_active::AdmissionReceiptBody;
pub use active_active::AdmittedCommand;
pub use active_active::ApplicationCommand;
pub use active_active::ApplicationCommandEnvelope;
pub use active_active::ApplicationContractActivation;
pub use active_active::ApplicationResult;
pub use active_active::AppliedBy;
pub use active_active::AppliedByTracker;
pub use active_active::AppliedCompletion;
pub use active_active::ApplyProgress;
pub use active_active::AuthenticatedAvailabilityReceipt;
pub use active_active::AvailabilityCertificate;
pub use active_active::AvailabilityReceiptBody;
pub use active_active::AvailabilityTrust;
pub use active_active::BatchReference;
pub use active_active::BatchReferenceMetadata;
pub use active_active::CertifiedReadBarrier;
pub use active_active::ClientEpoch;
pub use active_active::ClientId;
pub use active_active::CommandBatch;
pub use active_active::CommandIdentity;
pub use active_active::CommandSpecVersion;
pub use active_active::DurableAdmissionStore;
pub use active_active::GlobalOrderedEngine;
pub use active_active::HolderMembership;
pub use active_active::LocalAdmissionBatchCertificate;
pub use active_active::LocalAdmissionCertificate;
pub use active_active::LocalAdmissionPolicy;
pub use active_active::MAX_ACTIVE_ACTIVE_SHARD_ID_BYTES;
pub use active_active::MAX_APPLICATION_COMMAND_BYTES;
pub use active_active::MAX_APPLICATION_RESULT_BYTES;
pub use active_active::MAX_PIPELINED_AVAILABILITY_WINDOWS;
pub use active_active::MAX_REFERENCES_PER_ORDERING_WINDOW;
pub use active_active::MAX_WAIT_FOR_TIMEOUT;
pub use active_active::MembershipCutoverDisposition;
pub use active_active::Milestone;
pub use active_active::MilestoneEvent;
pub use active_active::OrderCertificate;
pub use active_active::OrderStatement;
pub use active_active::OrderVote;
pub use active_active::OrderedApplication;
pub use active_active::OrderedBatch;
pub use active_active::ReadBarrierCertificate;
pub use active_active::ReadBarrierChallenge;
pub use active_active::ReadBarrierRequest;
pub use active_active::ReadBarrierStatement;
pub use active_active::ReadBarrierVote;
pub use active_active::ReadConsistency;
pub use active_active::ReferenceStatus;
pub use active_active::ReplicaMembershipEpoch;
pub use active_active::RetentionEvidence;
pub use active_active::RouteGeneration;
pub use active_active::StoreGeneration;
pub use active_active::ValidatorGeneration;
pub use active_active::VerifiedLocalAdmissionBatch;
pub use active_active::WaitForOutcome;
pub use active_active::Watermark;
pub use active_active::WriteMode;
pub use active_active::ordered_batch_references;
pub use active_active::ordered_batch_references_trusted;
pub use active_active::required_cutover_disposition;
pub use active_active_coordinator::ActiveActiveCoordinatorDurability;
pub use active_active_coordinator::ActiveActiveGlobalCoordinator;
pub use active_active_ha::ACTIVE_ACTIVE_HA_CUTOVER_MANIFEST_VERSION;
pub use active_active_ha::ACTIVE_ACTIVE_HA_RECOVERY_MANIFEST_VERSION;
pub use active_active_ha::AcceptedWriteDisposition;
pub use active_active_ha::AcceptedWriteRecord;
pub use active_active_ha::AcceptedWriteResolution;
pub use active_active_ha::ActiveActiveCutover;
pub use active_active_ha::ActiveActiveHaCutoverManifest;
pub use active_active_ha::ActiveActiveHaEngine;
pub use active_active_ha::ActiveActiveHaLifecycleDurabilityMetrics;
pub use active_active_ha::ActiveActiveHaRecoveryManifest;
pub use active_active_ha::ActiveActiveHaRecoveryStatus;
pub use active_active_ha::LearnerCatchUp;
pub use active_active_ha::MAX_ACCEPTED_WRITE_ABORT_REASON_BYTES;
pub use active_active_ha::MAX_ACTIVE_ACTIVE_HA_ACCEPTED_COMMAND_BYTES;
pub use active_active_ha::MAX_ACTIVE_ACTIVE_HA_ACCEPTED_WRITES;
pub use active_active_ha::MAX_ACTIVE_ACTIVE_HA_SHARD_LANES;
pub use active_active_ha::PreparedActiveActiveHaShardBatch;
pub use active_passive::ActivePassiveClientWriteRaftError;
pub use active_passive::ActivePassiveClientWriteResponse;
pub use active_passive::ActivePassiveCommand;
pub use active_passive::ActivePassiveContract;
pub use active_passive::ActivePassiveContractChange;
pub use active_passive::ActivePassiveInitializeError;
pub use active_passive::ActivePassiveInitializeRaftError;
pub use active_passive::ActivePassiveLinearizableReadError;
pub use active_passive::ActivePassiveMembershipError;
pub use active_passive::ActivePassiveNode;
pub use active_passive::ActivePassiveNodeId;
pub use active_passive::ActivePassiveOperationalStatus;
pub use active_passive::ActivePassiveRaft;
pub use active_passive::ActivePassiveRaftConfig;
pub use active_passive::ActivePassiveRequest;
pub use active_passive::ActivePassiveResponse;
pub use active_passive::ActivePassiveRuntime;
pub use active_passive::ActivePassiveStartError;
pub use active_passive::ActivePassiveWriteError;
pub use active_passive::MemoryRaftLogStore;
pub use active_passive::RaftLogStoreIdentity;
pub use active_passive::ShardStreamRaftLogStore;
pub use address_book::AddressBook;
pub use address_book::MAX_SERVICE_HOST_BYTES;
pub use address_book::MAX_SERVICE_PROTOCOL_BYTES;
pub use address_book::MAX_SERVICE_RECORD_LIFETIME_MILLIS;
pub use address_book::Service;
pub use address_book::ServiceKind;
pub use address_book::ServiceRecordBody;
pub use address_book::SignedServiceRecord;
pub use admission::NODE_ADMISSION_DOMAIN;
pub use admission::NodeAdmission;
pub use admission::NodeAdmissionBody;
pub use admission::RECONNECT_VOTE_DOMAIN;
pub use admission::ReconnectVote;
pub use admission::ReconnectVoteBody;
pub use algorithm::BLOSSOM_QUORUM_SIZE_ENV;
pub use algorithm::CONSENSUS_PARAMETERS_VERSION;
pub use algorithm::ConsensusParameters;
pub use algorithm::QUORUM_SIZE;
pub use algorithm::QuorumSize;
pub use algorithm::SUPERMAJORITY;
pub use algorithm::byzantine_fault_bound;
pub use algorithm::distinct_current_validator_count;
pub use algorithm::find_round_number_with_size;
pub use algorithm::has_distinct_supermajority;
pub use algorithm::has_supermajority;
pub use algorithm::max_liveness_omissions;
pub use algorithm::min_supermajority_intersection;
pub use algorithm::select_prefill_recipients;
pub use algorithm::select_prefill_recipients_with_size;
pub use algorithm::select_quorums;
pub use algorithm::select_quorums_from_index_tree_with_size;
pub use algorithm::select_quorums_with_size;
pub use algorithm::supermajority_count;
pub use algorithm::supermajority_has_honest_overlap;
pub use algorithm::supermajority_order_statistic;
pub use availability::AvailabilityEntry;
pub use availability::AvailabilityGossip;
pub use availability::AvailabilityGossipBody;
pub use availability::AvailabilityReceipt;
pub use availability::AvailabilityStore;
pub use availability::FILTERED_PAYLOAD_MAX_BYTES;
pub use availability::FilteredPayloadBatchDelivery;
pub use availability::FilteredPayloadBatchDeliveryBody;
pub use availability::FilteredPayloadBatchFetch;
pub use availability::FilteredPayloadBatchFetchBody;
pub use availability::FilteredPayloadDelivery;
pub use availability::FilteredPayloadDeliveryBody;
pub use availability::FilteredPayloadDeliveryItem;
pub use availability::FilteredPayloadFetch;
pub use availability::FilteredPayloadFetchBody;
pub use availability::FilteredPayloadMissing;
pub use availability::FilteredPayloadRequest;
pub use availability::LocalFilteredPayload;
pub use availability::ideal_push_gossip_delay_ms;
pub use availability::ideal_push_gossip_rounds;
pub use availability::validate_filtered_payload;
pub use block::BLOCK_APPLICATION_STATE_MAX_BYTES;
pub use block::BLOCK_APPLICATION_STATE_SOFT_LIMIT_BYTES;
pub use block::Block;
pub use block::BlockApplicationState;
pub use block::BlockBody;
pub use block::Transaction;
pub use block::TransactionPayload;
pub use block::FilteredDeliveryPolicy;
pub use block::FilteredPayloadView;
pub use block::FilteredTransactionSlot;
pub use block::fair_block_order_key;
pub use block::fair_block_order_seed;
pub use block::fair_order_transaction_count;
pub use block::fair_ordered_block_commitments;
pub use block::fair_ordered_blocks;
pub use block_store::BlockHandle;
pub use block_store::BlockIndex;
pub use block_store::BlockRecord;
pub use block_store::DurableBlockStore;
pub use crypto::Keypair;
pub use crypto::PubKey;
pub use crypto::SecKey;
pub use crypto::SecretSigner;
pub use crypto::Signature;
pub use crypto::verify_batch;
pub use encounter::ENCOUNTER_RECORD_DOMAIN;
pub use encounter::ENCOUNTER_RECORD_ENCODED_LEN;
pub use encounter::EncounterOutcome;
pub use encounter::EncounterPhase;
pub use encounter::EncounterRecord;
pub use encounter::EncounterRecordBody;
pub use error::BlossomError;
pub use error::Result;
pub use group::ConsensusGroupId;
pub use harness::MockBlockService;
pub use harness::SimulatedCluster;
pub use harness::SimulatedNode;
pub use harness::signed_block;
pub use hash::DoHash;
pub use hash::FAIR_BLOCK_ORDERING_PROTOCOL_FEATURE;
pub use hash::FAIR_BLOCK_ORDERING_PROTOCOL_FEATURE_CODE;
pub use hash::HIGH_AVAILABILITY_PROTOCOL_FEATURE;
pub use hash::HIGH_AVAILABILITY_PROTOCOL_FEATURE_CODE;
pub use hash::HashType;
pub use hash::PROTOCOL_FEATURE_CODE_VERSION;
pub use hash::PROTOCOL_FEATURE_CODES;
pub use hash::PROTOCOL_FEATURE_REGISTRY;
pub use hash::ProtocolConsensusSurface;
pub use hash::ProtocolFeatureCode;
pub use hash::ProtocolFeatureRegistryEntry;
pub use hash::RESERVED_PROTOCOL_FEATURE_CODE;
pub use hash::SHA256_PROTOCOL_HASH_ALGORITHM;
pub use hash::XXH3_PROTOCOL_HASH_ALGORITHM;
pub use hash::protocol_feature_code_bytes;
pub use hash::protocol_feature_registry_entry;
pub use hash::protocol_hash_algorithm;
pub use hash::protocol_hash_algorithm_is_compatible;
pub use hash::validate_protocol_feature_codes;
pub use hash::validate_protocol_feature_registry;
pub use latency_topology::ClosestPeer;
pub use latency_topology::LatencyEstimate;
pub use latency_topology::LatencyEstimateMethod;
pub use latency_topology::LatencyRelationship;
pub use latency_topology::LatencyTopology;
pub use latency_topology::LatencyTopologyConfig;
pub use latency_topology::LatencyTopologyMetadataV1;
pub use latency_topology::unix_time_millis;
pub use local_block::LocalBlock;
pub use log_store::BLOSSOM_LOG_STORE_FORMAT_VERSION;
pub use log_store::BlossomLogCheckpointReceipt;
pub use log_store::BlossomLogCommitReceipt;
pub use log_store::BlossomLogDurabilityMetrics;
pub use log_store::BlossomLogEntry;
pub use log_store::BlossomLogSnapshot;
pub use log_store::BlossomLogStore;
pub use log_store::BlossomLogStoreConfig;
pub use log_store::BlossomLogStoreIdentity;
pub use log_store::BlossomLogTransaction;
pub use membership::CommittedMemberOperation;
pub use membership::ConsensusNodeAdmissionPlan;
pub use membership::ConsensusNodeRemovalDecision;
pub use membership::ConsensusNodeRemovalPlan;
pub use membership::ConsensusNodeRemovalPolicy;
pub use membership::MAX_MEMBERSHIP_LEASE_MILLIS;
pub use membership::MemberCapability;
pub use membership::MemberOperation;
pub use membership::MemberRecord;
pub use membership::MemberSet;
pub use membership::MemberStatus;
pub use membership::MembershipLeaseCertificate;
pub use membership::MembershipLeaseChallenge;
pub use membership::MembershipLeaseRequest;
pub use membership::MembershipLeaseStatement;
pub use membership::MembershipLeaseVote;
pub use membership::RelaySet;
pub use membership::VerifiedMembershipView;
pub use membership::apply_committed_member_operations;
pub use membership::apply_consensus_node_admission_plan;
pub use membership::apply_consensus_node_removal_plan;
pub use membership::apply_epoch_member_registry_transition;
pub use membership::apply_epoch_membership_transition;
pub use membership::derive_consensus_node_admission_plan;
pub use membership::derive_consensus_node_removal_plan;
pub use messages::MSGKey;
pub use messages::Msg;
pub use node::NodeIdentity;
pub use node::NodeType;
pub use nonce::Nonce;
pub use overlay::BroadcastReceipt;
pub use overlay::BroadcastReport;
pub use overlay::FanOutStrategy;
pub use overlay::OverlayRuntime;
pub use parallel_networks::HA_GROUP_STATE_REFERENCE_VERSION;
pub use parallel_networks::HaGroupRegistration;
pub use parallel_networks::HaGroupStateReference;
pub use parallel_networks::HaGroupStateReferenceBody;
pub use parallel_networks::PARALLEL_NETWORK_SNAPSHOT_VERSION;
pub use parallel_networks::ParallelNetworkCoordinator;
pub use parallel_networks::ParallelNetworkEvent;
pub use parallel_networks::ParallelNetworkSnapshot;
pub use parallel_networks::ParallelNetworkStatus;
pub use register::MessageMatrix;
pub use register::QuorumQueue;
pub use register::Status;
pub use round_skip::DataDisseminationManifest;
pub use round_skip::DataDisseminationManifestValidation;
pub use round_skip::FutureRoundAssistDecision;
pub use round_skip::FutureRoundAssistInput;
pub use round_skip::FutureRoundAssistKind;
pub use round_skip::RoundSkipCertificate;
pub use round_skip::RoundSkipCertificateValidation;
pub use round_skip::RoundSkipVote;
pub use round_skip::future_round_assist_decision;
pub use round_skip::skipped_round_assist_decision;
pub use runtime::AcceptedBlock;
pub use runtime::ConsensusRoundStatus;
pub use runtime::EpochDisseminationStatus;
pub use runtime::EpochTarget;
pub use runtime::MessageReceipt;
pub use runtime::MultiGroupRuntime;
pub use runtime::NodeRuntime;
pub use runtime::NodeStatus;
pub use runtime::ObservedEncounterRecord;
pub use runtime::PeerApplicationState;
pub use runtime::PrefillDispatchBroadcastReport;
pub use runtime::PrefillDispatchPlan;
pub use runtime::PrefillStageStatus;
pub use runtime::ReconnectAdmissionDecision;
pub use runtime::ReconnectAdmissionEvidence;
pub use runtime::RuntimeConfig;
pub use runtime::RuntimeMode;
pub use runtime::RuntimeSnapshotV1;
pub use runtime::TrustMode;
pub use runtime::TrustedOperationalStatus;
pub use runtime::TrustedServiceHealth;
pub use runtime::genesis_epoch;
pub use runtime::genesis_epoch_for_group;
pub use runtime::genesis_epoch_for_group_with_parameters;
pub use safety::CommitteeLayout;
pub use safety::CommitteeParticipant;
pub use safety::SafetyManifest;
pub use safety::SiteId;
pub use safety::generate_safety_manifest;
pub use safety::select_site_balanced_committee;
pub use service_client::TcpServiceClient;
pub use service_client::TimedNodePong;
pub use state::CERTIFIED_EPOCH_SUFFIX_VERSION;
pub use state::CertifiedEpochSuffix;
pub use state::DEFAULT_MAX_PENDING_RAW_DISPATCH_BYTES;
pub use state::DEFAULT_MAX_PENDING_RAW_DISPATCH_BYTES_PER_SENDER;
pub use state::Epoch;
pub use state::EpochBody;
pub use state::EpochChain;
pub use state::EpochNonce;
pub use state::LocalState;
pub use state::MAX_CERTIFIED_EPOCH_SUFFIX;
pub use state::MAX_PENDING_RAW_DISPATCH_BYTES_ENV;
pub use state::MAX_PENDING_RAW_DISPATCH_BYTES_PER_SENDER_ENV;
pub use state::PendingDispatch;
pub use state::PrefillDispatchRecord;
pub use state::TempConsensus;
pub use state::TempQuorum;
pub use state::TrustedOrderedTransaction;
pub use state::configured_max_pending_raw_dispatch_bytes;
pub use state::configured_max_pending_raw_dispatch_bytes_per_sender;
pub use subset_gossip::SubsetGossipConfig;
pub use subset_gossip::SubsetGossipEpochRow;
pub use subset_gossip::SubsetGossipProtocolVersion;
pub use subset_gossip::SubsetGossipReport;
pub use subset_gossip::SubsetLatencyDistribution;
pub use subset_gossip::SubsetLatencyProfile;
pub use subset_gossip::SubsetPrefillMode;
pub use subset_gossip::run_subset_gossip;
pub use subset_gossip::run_subset_gossip_v1;
pub use subset_gossip::run_subset_gossip_v2;
pub use tcp::ApplicationHandler;
pub use tcp::ApplicationHandlerFuture;
pub use tcp::ConsensusDriverConfig;
pub use tcp::ConsensusDriverTick;
pub use tcp::TcpConnection;
pub use tcp::TcpMultiGroupNode;
pub use tcp::TcpNode;
pub use tcp::TcpNodeMetrics;
pub use tcp::TcpNodeMetricsSnapshot;
pub use tcp::send_wire_frame;
pub use tcp::send_wire_request;
pub use tcp::send_wire_request_raw_response;
pub use telemetry::EdenLoggerTelemetrySink;
pub use telemetry::BlossomTelemetryMetrics;
pub use telemetry::BlossomTelemetryMetricsSnapshot;
pub use telemetry::FastTelemetryRegistration;
pub use telemetry::FastTelemetrySink;
pub use telemetry::FanoutTelemetrySink;
pub use telemetry::InMemoryTelemetrySink;
pub use telemetry::JsonlTcpTelemetrySink;
pub use telemetry::JsonlTcpTelemetrySinkConfig;
pub use telemetry::NoopTelemetrySink;
pub use telemetry::TELEMETRY_SCHEMA_VERSION;
pub use telemetry::TelemetryEvent;
pub use telemetry::TelemetryEventKind;
pub use telemetry::TelemetryHandle;
pub use telemetry::TelemetrySeverity;
pub use telemetry::TelemetrySink;
pub use trusted_dag::MIN_GLOBAL_BLOSSOM_PARTICIPANTS;
pub use trusted_dag::SequentialQuorumDagReport;
pub use trusted_dag::TrustedCheckpointDag;
pub use trusted_dag::TrustedDagCandidate;
pub use trusted_dag::TrustedDagCandidateBody;
pub use trusted_dag::TrustedDagCheckpoint;
pub use trusted_dag::TrustedDagCheckpointBody;
pub use trusted_dag::TrustedDagFrontierEntry;
pub use trusted_dag::TrustedDagIngestOutcome;
pub use trusted_dag::TrustedDagRoundCompletion;
pub use trusted_dag::TrustedDagRoundLock;
pub use trusted_dag::TrustedDagVertex;
pub use trusted_dag::TrustedDagVertexBody;
pub use trusted_dag::run_sequential_quorum_dag_experiment;
pub use trusted_log::TrustedFailureAssessment;
pub use trusted_log::TrustedFailureClass;
pub use trusted_log::TrustedLogHead;
pub use trusted_log::TrustedRoundId;
pub use trusted_log::TrustedServiceDirective;
pub use trusted_log::assess_trusted_durability_failure;
pub use wire::AddressBookUpdate;
pub use wire::ApplicationRequest;
pub use wire::ApplicationResponse;
pub use wire::EncodedFrame;
pub use wire::FRAME_PREFIX_BYTES;
pub use wire::FRAME_WRITE_CHUNK_BYTES_ENV;
pub use wire::HOT_WIRE_CODEC_ENV;
pub use wire::HotDispatch;
pub use wire::NodeHealth;
pub use wire::NodePing;
pub use wire::NodePong;
pub use wire::ServiceRegistration;
pub use wire::WireRequest;
pub use wire::WireRequestFrame;
pub use wire::WireResponse;
pub use wire::configured_frame_write_chunk_bytes;
pub use wire::configured_max_frame_size;
pub use wire::decode_wire_request_frame;
pub use wire::decode_wire_request_payload;
pub use wire::decode_wire_response_payload;
pub use wire::encoded_len;
pub use wire::framed_len;
pub use wire::hot_dispatch_response_into_request_frame;
pub use wire::hot_dispatch_response_to_request_frame;
pub use wire::hot_wire_codec_enabled;
pub use wire::hot_wire_request_framed_len;
pub use wire::hot_wire_response_framed_len;
pub use wire::read_encoded_frame;
pub use wire::read_frame;
pub use wire::read_wire_request;
pub use wire::read_wire_request_frame;
pub use wire::read_wire_request_frame_optional;
pub use wire::read_wire_response;
pub use wire::wire_request_framed_len;
pub use wire::wire_response_framed_len;
pub use wire::write_encoded_frame;
pub use wire::write_frame;
pub use wire::write_wire_request;
pub use wire::write_wire_response;
pub use blossom::*;
pub use high_availability::*;

Modules§

active_active
Durable application-owned commands with globally certified ordering. Durable active-active admission and globally ordered application delivery.
active_active_coordinator
Crash-safe coordination between accepted lifecycle and global ordering. Crash-safe coordination between active-active lifecycle and global order.
active_active_ha
Recovery and contract-cutover orchestration for active-active HA groups. Service-level active-active orchestration over the fixed-slot HA runtime.
active_passive
Native OpenRaft active-passive replication and durable log adapters. Native leader-based active-passive replication backed by OpenRaft.
address_book
Service records and the node-local address book. Validated service records and the node-local reachability address book.
admission
Signed node admission and reconnect evidence. Signed node admission records and checkpoint-bound reconnect votes.
algorithm
Quorum thresholds, deterministic selection, and topology calculations. Quorum thresholds, deterministic selection, and topology calculations.
availability
Certified availability metadata and filtered-payload transfer. Certified filtered-payload availability, gossip, fetch, and delivery.
block
Blocks, opaque transactions, commitments, and fair ordering. Blocks, opaque transactions, commitments, filtering, and fair ordering.
block_store
Durable block indexing by nonce and hash. Durable block indexing by epoch nonce and block hash.
blossom
Consensus protocol messages and their validation rules. Consensus message records, signature checks, and state transitions.
crypto
Public keys, signing keys, signatures, and verification helpers. Public identities, memory-only signing material, signatures, and verification.
encounter
Signed peer-encounter evidence. Signed evidence of peer behavior observed during consensus phases.
error
Crate-wide errors and the Result alias. Errors shared by protocol, runtime, storage, and transport APIs.
group
Consensus group identifiers. Stable identifiers for independent consensus groups.
harness
In-process test and benchmark harnesses. In-process deterministic cluster fixtures for tests and examples.
hash
Protocol hashes, domains, and feature registry. Protocol hash types, domain separation, and feature compatibility registry.
high_availability
Trusted fixed-membership HA consensus for two through seven nodes. Trusted, fixed-membership high-availability consensus for 2–7 nodes.
latency_topology
Latency relationships and topology-aware peer selection. Observed latency relationships and topology-aware peer selection.
local_block
Node-local block construction and bounded pending queues. Bounded node-local block construction and dispatch queues.
log_store
Transactional embedded persistence backed by ShardLog. Transactional, ShardLog-backed durable storage for Blossom.
membership
Validator membership, service capabilities, and freshness certificates. Committed member capabilities, lifecycle operations, and freshness leases.
messages
The top-level consensus message enum and stable message keys. Top-level consensus message envelope and stable message discriminants.
node
Public node identity and node-role types. Public node identities, signer separation, and node roles.
nonce
Monotonic epoch nonces. Monotonic epoch nonce type and successor operations.
overlay
Topology fan-out without consensus epoch ownership. Topology-aware message fan-out without consensus epoch ownership.
parallel_networks
Coordination records for independent HA and Global Blossom networks. Application-level coordination between independent HA and Global Blossom networks.
propagation
Feature-gated latency, bandwidth, and adaptive data-plane policies. Feature-gated data-plane propagation policies for Blossom.
register
Per-round message matrices and quorum queues. Per-round message matrices, quorum queues, and progress counters.
round_skip
Certified round skipping and future-round assistance. Certified round skipping, dissemination manifests, and assistance policy.
runtime
The embeddable verified and trusted node runtime. Embeddable Global Blossom node runtime.
safety
Site-aware committee layout and safety manifests. Site-aware committee layout and auditable safety manifests.
service_client
Typed TCP service-client operations. Typed client operations over Blossom’s bounded TCP wire surface.
state
Epoch chains and in-progress consensus state. Finalized epoch chains and transient per-round consensus state.
subset_gossip
Subset-gossip and prefill propagation models. Deterministic subset-gossip and prefill propagation model.
tcp
TCP nodes, drivers, and connection helpers. Bounded TCP node service, request routing, and consensus drivers.
telemetry
Structured protocol telemetry and optional exporters. Structured protocol telemetry with bounded optional exporters.
trusted_dag
Append-only dissemination beneath trusted sequential checkpoints. Experimental append-only DAG storage beneath trusted Blossom ordering.
trusted_log
Crash-safe trusted epoch and confirmation storage. Crash-safe trusted epoch and confirmation-lock persistence.
wire
Bounded Borsh wire frames and optimized hot-path codecs. Bounded wire envelopes, framed I/O, and optimized hot-path codecs.

Structs§

IndexTreeMap
The ‘Map’ IndexTree data structure
SharedIndexTreeMap
A cheaply clonable snapshot wrapper around IndexTreeMap.