Skip to content

Conversation

@gupadhyaya
Copy link
Contributor

@gupadhyaya gupadhyaya commented Nov 18, 2025

Summary

Adds support for storage-only Bridge nodes that run without P2P networking, enabling hosted RPC providers to operate with minimal resource usage.

Changes

  • P2P Disabled Mode: New p2p.disabled config flag (CLI: --p2p.disabled) that disables all P2P components (host, DHT, Gossip, Shrex, Bitswap) for Bridge nodes
  • ODS-Only Storage: New share.store_ods_only config flag that stores only ODS instead of ODSQ4, reducing storage requirements
  • Cross-Module Validation: Enforces that p2p.disabled requires share.store_ods_only to be enabled
  • Stub Implementations: Provides no-op implementations for P2P-dependent services (fraud, header subscriber/broadcaster) when P2P is disabled

Testing

  • Config validation tests for both P2P and Share modules
  • Integration tests verifying storage-only mode behavior
  • ODS-only storage behavior tests

Use Case

Enables Bridge nodes to operate as storage-only RPC providers without P2P overhead, ideal for hosted infrastructure providers. #4296

@gupadhyaya gupadhyaya added the kind:feat Attached to feature PRs label Nov 18, 2025
@github-actions github-actions bot added the kind:break! Attached to breaking PRs label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:break! Attached to breaking PRs kind:feat Attached to feature PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants