mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 00:36:48 +00:00
Commitc6c019ed8b("addressed code review comments") bundled tx-tracing review fixes with consensus-tracing scaffolding that belongs on pratik/otel-phase4-consensus-tracing (PR #6426). This commit lifts the consensus-only parts back out of phase-3 so PR #6425 stays scoped to transaction tracing. Phase-4 already carries the same content (via prior phase-3 -> phase-4 merges) plus its own evolution on top, so nothing is moved across — only removed here. Removed: - src/xrpld/app/consensus/ConsensusSpanNames.h (deleted; phase-4 owns it). - PeerImp.cpp: revert onMessage(TMProposeSet)/onMessage(TMValidation) consensus-attr setAttribute calls to the hardcoded "xrpl.consensus.{trusted,round,ledger.seq}" strings used beforec6c019ed8b. Drop the now-unused #include <xrpld/app/consensus/ConsensusSpanNames.h>. - RCLConsensus::Adaptor::validate(): remove the TODO(observability/secure-OTel) block on validation trace_context. - TraceContextPropagator.h: remove the TODO(observability/secure-OTel) block on injectToProtobuf(). Tx-tracing parts ofc6c019ed8bare intentionally untouched. No phase-3 caller of telemetry::consensus_span:: remains; verified via git grep. No test on phase-3 references the removed header. Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>