log_contract
Module: startup::log_contract
Section titled “Module: startup::log_contract”Contents
Section titled “Contents”Structs
StartupReport- Inputs needed to emit the ready sequence.
Functions
log_authority_hydrated- Emit contract lines 4-5 once both Authority streams have hydrated.log_pre_ready_sequence- Emit contract lines 1-3, which do not depend on the Authority.log_ready_line- Emit contract line 6 (ready). Callers must have already emitted
firma_sidecar::startup::log_contract::StartupReport
Section titled “firma_sidecar::startup::log_contract::StartupReport”Struct
Inputs needed to emit the ready sequence.
Each field maps 1:1 to one structured field on the contract lines.
Generic Parameters:
- ‘a
Fields:
config_path: &'a std::path::Path- Filesystem path the sidecar config was read from.authority_endpoint: String- Required Authority endpoint URL.connector_hosts: usize- Per-host connector overrides count.connector_default_timeout_ms: u64- Default connector timeout, milliseconds.interceptor_addr: String- Interceptor listen address as printed in line 3.
firma_sidecar::startup::log_contract::log_authority_hydrated
Section titled “firma_sidecar::startup::log_contract::log_authority_hydrated”Function
Emit contract lines 4-5 once both Authority streams have hydrated.
fn log_authority_hydrated(report: &StartupReport, version: Option<&str>, ttl_seconds: u32)firma_sidecar::startup::log_contract::log_pre_ready_sequence
Section titled “firma_sidecar::startup::log_contract::log_pre_ready_sequence”Function
Emit contract lines 1-3, which do not depend on the Authority.
fn log_pre_ready_sequence(report: &StartupReport)firma_sidecar::startup::log_contract::log_ready_line
Section titled “firma_sidecar::startup::log_contract::log_ready_line”Function
Emit contract line 6 (ready). Callers must have already emitted
lines 1-5.
fn log_ready_line()