refactor: remove dead m_dsq client-side relay from MessageProcessingResult#7229
Conversation
…esult Client-side DSQ relay was removed in dashpay#7070 but the m_dsq field and its population in CCoinJoinClientQueueManager::ProcessMessage were left behind as dead code. The network has been running without client-side DSQ relay with no issues since masternodes handle DSQ propagation through their own CCoinJoinServer::ProcessDSQUEUE path. Remove the dead code and fix transitive include dependencies that were masked by msg_result.h pulling in coinjoin/coinjoin.h. This also resolves two circular dependency chains that went through that link. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
This pull request has conflicts, please rebase. |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
💤 Files with no reviewable changes (2)
WalkthroughThe pull request removes the Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
thepastaclaw
left a comment
There was a problem hiding this comment.
Code Review
Clean dead-code removal of the unused m_dsq field from MessageProcessingResult. PostProcessMessage never consumed m_dsq — DSQ relay is handled entirely through PeerRelayDSQ called from coinjoin/server.cpp. The transitive include fixes and two circular dependency chain removals are correct.
Reviewed commit: d142fc8
Issue being fixed or feature implemented
Client-side DSQ relay was removed in #7070 but the
m_dsqfield and its population inCCoinJoinClientQueueManager::ProcessMessagewere left behind as dead code. The network has been running without client-side DSQ relay with no issues since masternodes handle DSQ propagation through their ownCCoinJoinServer::ProcessDSQUEUEpath.Alternative to #7227
What was done?
Remove the dead code and fix transitive include dependencies that were masked by msg_result.h pulling in coinjoin/coinjoin.h. This also resolves two circular dependency chains that went through that link.
How Has This Been Tested?
Breaking Changes
n/a
Checklist: