Skip to content

feat: add RPC mode support for transaction bridging#53

Merged
Savid merged 5 commits intomasterfrom
feat/rpc
Oct 17, 2025
Merged

feat: add RPC mode support for transaction bridging#53
Savid merged 5 commits intomasterfrom
feat/rpc

Conversation

@Savid
Copy link
Copy Markdown
Member

@Savid Savid commented Oct 13, 2025

Implement dual-mode operation supporting both P2P (devp2p) and RPC (JSON-RPC) protocols for bridging mempool transactions between execution layer nodes.

Changes:

  • Add mode configuration field to switch between P2P and RPC modes
  • Implement RPC source coordinator with WebSocket subscriptions to newPendingTransactions
  • Implement RPC target coordinator with eth_sendRawTransaction support
  • Refactor bridge to use interface-based coordinator pattern
  • Reorganize P2P coordinators into dedicated subdirectories
  • Add comprehensive documentation and example configs for both modes
  • Update README with feature overview and configuration examples

The implementation maintains full backward compatibility with existing P2P mode while enabling RPC-based transaction bridging for nodes that prefer JSON-RPC over devp2p.

Savid and others added 4 commits October 14, 2025 08:03
Implement dual-mode operation supporting both P2P (devp2p) and RPC (JSON-RPC) protocols for bridging mempool transactions between execution layer nodes.

Changes:
- Add mode configuration field to switch between P2P and RPC modes
- Implement RPC source coordinator with WebSocket subscriptions to newPendingTransactions
- Implement RPC target coordinator with eth_sendRawTransaction support
- Refactor bridge to use interface-based coordinator pattern
- Reorganize P2P coordinators into dedicated subdirectories
- Add comprehensive documentation and example configs for both modes
- Update README with feature overview and configuration examples

The implementation maintains full backward compatibility with existing P2P mode while enabling RPC-based transaction bridging for nodes that prefer JSON-RPC over devp2p.
@Savid Savid merged commit 30beaf1 into master Oct 17, 2025
2 of 5 checks passed
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.

2 participants