mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Remove the span-replacement logic in startRoundTracing() that was discarding the hash-derived round span and replacing it with a linked span (which gets a random trace_id). The deterministic trace_id from the ledger hash is the key feature enabling cross-node correlation — replacing it broke correlation on all rounds after the first. Also: use thread_local mt19937 for hashSpan() span IDs (same fix as phase-3 txSpan), add Doxygen to establish tracing method declarations in Consensus.h, and update SpanGuard.h diagram with hashSpan/addEvent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>