Skip to content

Make QDN relaying unconditional#137

Merged
QuickMythril merged 2 commits into
mainfrom
codex/always-on-qdn-relay
Jul 20, 2026
Merged

Make QDN relaying unconditional#137
QuickMythril merged 2 commits into
mainfrom
codex/always-on-qdn-relay

Conversation

@QuickMythril

@QuickMythril QuickMythril commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • remove the inherited relayModeEnabled operator switch and writable setting
  • always relay QDN discovery, metadata, and chunks whenever QDN is enabled, subject to existing safety controls
  • keep the legacy relay-status endpoint as deprecated and always true
  • keep storagePolicy, blocking, capacity, hop/time, queue/backpressure, and qdnEnabled behavior separate
  • accept legacy settings files containing relayModeEnabled without allowing the value to disable relay
  • bound relay-cache persistence by configured QDN and filesystem headroom; use atomic staged writes and recover stale staging files

Validation

  • complete local Maven suite: 2,630 tests, 0 failures, 0 errors, 64 skipped
  • focused relay/storage/API suite: 55 tests passed
  • real file-list relay regression covers legacy relayModeEnabled: false, multi-holder forwarding, hop/ID/hash preservation, and direct-request behavior
  • relay-cache tests cover admission, overwrite accounting, atomic failure preservation, and crash-orphan recovery
  • GitHub Maven, OSV, and all CodeQL checks passed
  • git diff --check

Companion Node PR: QortiumDev/qortium-node#11

@QuickMythril

Copy link
Copy Markdown
Member Author

Companion Node settings-UI cleanup: QortiumDev/qortium-node#11

@QuickMythril QuickMythril changed the title Make full-node QDN relaying unconditional Make QDN relaying unconditional Jul 20, 2026
@QuickMythril
QuickMythril merged commit c000a0c into main Jul 20, 2026
9 checks passed
@QuickMythril
QuickMythril deleted the codex/always-on-qdn-relay branch July 20, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant