Skip to content

Remove gossip concepts from deliver client#613

Merged
HagarMeir merged 1 commit intohyperledger:mainfrom
tock-ibm:deliver-client-remove-gossip
Feb 12, 2026
Merged

Remove gossip concepts from deliver client#613
HagarMeir merged 1 commit intohyperledger:mainfrom
tock-ibm:deliver-client-remove-gossip

Conversation

@tock-ibm
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes gossip-related concepts from the deliver client codebase, which is part of an effort to clean up orderer code. The changes align with the PR title "Remove gossip concepts from deliver client" and focus on eliminating gossip service adapters and related SmartBFT configuration utilities that were marked as TODO items for removal.

Changes:

  • Removed the ConfigFromMetadataOptions function and related SmartBFT imports from util.go
  • Deleted the auto-generated GossipServiceAdapter fake implementation
  • Removed the GossipServiceAdapter interface definition from deliverer.go
  • Updated comments to reflect orderer-specific behavior instead of peer/gossip behavior

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
node/consensus/synchronizer/util.go Removed unused ConfigFromMetadataOptions function and imports for SmartBFT types and gossip-related protos
common/deliverclient/blocksprovider/fake/gossip_service_adapter.go Deleted auto-generated fake implementation for GossipServiceAdapter interface
common/deliverclient/blocksprovider/deliverer.go Removed GossipServiceAdapter interface definition and updated comment to focus on orderer behavior
common/deliverclient/blocksprovider/block_receiver.go Updated BlockHandler interface comments to clarify peer and orderer responsibilities

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Yoav Tock <tock@il.ibm.com>
@tock-ibm tock-ibm force-pushed the deliver-client-remove-gossip branch from 9453629 to d8619b2 Compare February 12, 2026 15:12
@HagarMeir HagarMeir merged commit 99f2c1a into hyperledger:main Feb 12, 2026
7 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