Skip to content

Add gRPC P2P host transport - #1378

Draft
Ayush3941 wants to merge 4 commits into
hyperledger-labs:mainfrom
Ayush3941:feature/add-grpc-p2p-host
Draft

Add gRPC P2P host transport#1378
Ayush3941 wants to merge 4 commits into
hyperledger-labs:mainfrom
Ayush3941:feature/add-grpc-p2p-host

Conversation

@Ayush3941

@Ayush3941 Ayush3941 commented May 2, 2026

Copy link
Copy Markdown
Contributor

Whats this Pr does

Adds gRPC as a third FSC node-to-node P2P transport alongside libp2p and WebSocket.
The implementation adds a new platform/view/services/comm/host/grpc transport, wires it through fsc.p2p.type=grpc, and keeps the existing Comm/session/view flow unchanged.

What changed

  • added gRPC P2PHost implementation
  • wired fsc.p2p.type=grpc
  • added fsc.p2p.opts.grpc.* config
  • enforced mTLS and peer identity binding for gRPC streams
  • added NWO wiring and gRPC-focused integration coverage
  • added gRPC transport docs

closes #1026

Validation

Passed locally:

  • go test ./platform/view/services/comm/host/grpc/...
  • gRPC integration/fsc/pingpong
  • gRPC integration/fsc/stoprestart
  • gRPC integration/fabric/iou

Ayush3941 added 2 commits May 2, 2026 18:00
Signed-off-by: Ayush3941 <ayushkgaur1@gmail.com>
Signed-off-by: Ayush3941 <ayushkgaur1@gmail.com>
@Ayush3941
Ayush3941 force-pushed the feature/add-grpc-p2p-host branch from 096bcfd to 7abe857 Compare May 2, 2026 22:01
Signed-off-by: Ayush3941 <ayushkgaur1@gmail.com>
@Ayush3941
Ayush3941 force-pushed the feature/add-grpc-p2p-host branch 3 times, most recently from a635f25 to 8e6284b Compare May 3, 2026 01:08
Signed-off-by: Ayush3941 <ayushkgaur1@gmail.com>
@github-actions

Copy link
Copy Markdown

Hey @Ayush3941 👋 thanks for the PR!
I'm your friendly PR Helper Bot 🤖 and I'll be riding shotgun on this one, keeping track of your PR's status to help you get it approved and merged.

This comment updates automatically as you push changes -- think of it as your PR's live scoreboard!
Here's the latest:


PR Checks

DCO Sign-off -- All commits have valid sign-offs. Nice work!


GPG Signature -- Heads up! The following commits don't have a verified GPG signature:

  • aef9325 add grpc p2p host transport
  • 7abe857 add grpc p2p host transport v2
  • d01aa2b add grpc p2p host transport v3
  • 99e3bce add grpc p2p host transport v4

You'll need to sign your commits with GPG (e.g. git commit -S). See the Signing Guide for a step-by-step walkthrough.


Merge Conflicts -- Oh no, this PR has merge conflicts with the base branch.

Let's get this sorted! Update your branch (e.g. rebase or merge from base) and push. See the Merge Conflicts Guide if you need a hand.


Issue Link -- Almost there! You are not assigned to the following linked issues: #1026.

Please ensure you are assigned to all linked issues before opening a PR. You can comment /assign on the issue to grab it!


All checks must pass before this PR can be reviewed. You've got this!

@github-actions

Copy link
Copy Markdown

Hi @Ayush3941 👋 — the recent merge of PR #1534 has introduced a merge conflict in this PR. Please resolve the merge conflict so that this PR can be reviewed again. Thank you!

@Ayush3941
Ayush3941 marked this pull request as draft June 19, 2026 08:57
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.

Complement FSC p2p network protocol with gRPC

1 participant