mirror of
https://github.com/XRPLF/rippled.git
synced 2026-03-14 16:52:24 +00:00
Add full consensus tracing with deterministic trace ID correlation and establish-phase instrumentation: - Deterministic trace_id from previousLedger.id() for cross-node correlation (switchable via consensus_trace_strategy config) - Round-to-round span links (follows-from) for causal chaining - Establish phase spans with convergence tracking, dispute resolution events, and threshold escalation attributes - Validation spans with links to round spans (thread-safe via roundSpanContext_ snapshot for jtACCEPT cross-thread access) - Mode change spans for proposing/observing transitions - New startSpan overload with span links in Telemetry interface - XRPL_TRACE_ADD_EVENT macro with do-while(0) safety wrapper - Config validation for consensus_trace_strategy - Test adaptor (csf::Peer) updated with getTelemetry() stub Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>