...

Package integration

import "github.com/hyperledger/fabric/gossip/integration"
Overview
Index

Overview ▾

func NewGossipComponent

func NewGossipComponent(peerIdentity []byte, endpoint string, s *grpc.Server,
    secAdv api.SecurityAdvisor, cryptSvc api.MessageCryptoService,
    secureDialOpts api.PeerSecureDialOpts, certs *common.TLSCertificates, gossipMetrics *metrics.GossipMetrics,
    bootPeers ...string) (gossip.Gossip, error)

NewGossipComponent creates a gossip component that attaches itself to the given gRPC server