{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gossip\n\n## Variables\n\n```go\nvar GossipMessage_Tag_name = map[int32]string{\n\t0: \"UNDEFINED\",\n\t1: \"EMPTY\",\n\t2: \"ORG_ONLY\",\n\t3: \"CHAN_ONLY\",\n\t4: \"CHAN_AND_ORG\",\n\t5: \"CHAN_OR_ORG\",\n}\n```\n\n```go\nvar GossipMessage_Tag_value = map[string]int32{\n\t\"UNDEFINED\":    0,\n\t\"EMPTY\":        1,\n\t\"ORG_ONLY\":     2,\n\t\"CHAN_ONLY\":    3,\n\t\"CHAN_AND_ORG\": 4,\n\t\"CHAN_OR_ORG\":  5,\n}\n```\n\n```go\nvar PullMsgType_name = map[int32]string{\n\t0: \"UNDEFINED\",\n\t1: \"BLOCK_MSG\",\n\t2: \"IDENTITY_MSG\",\n}\n```\n\n```go\nvar PullMsgType_value = map[string]int32{\n\t\"UNDEFINED\":    0,\n\t\"BLOCK_MSG\":    1,\n\t\"IDENTITY_MSG\": 2,\n}\n```\n\n## Functions\n\n```go\nfunc NewGossipMessageComparator(dataBlockStorageSize int) common.MessageReplacingPolicy\n```\nNewGossipMessageComparator creates a MessageReplacingPolicy given a maximum number of blocks to hold\n\n```go\nfunc RegisterGossipServer(s *grpc.Server, srv GossipServer)\n```\n\n## Types\n\n```go\ntype Acknowledgement struct {\n\tError                string   `protobuf:\"bytes,1,opt,name=error,proto3\" json:\"error,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*Acknowledgement) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Acknowledgement) GetError() string\n```\n\n```go\nfunc (*Acknowledgement) ProtoMessage()\n```\n\n```go\nfunc (m *Acknowledgement) Reset()\n```\n\n```go\nfunc (m *Acknowledgement) String() string\n```\n\n```go\nfunc (m *Acknowledgement) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Acknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Acknowledgement) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Acknowledgement) XXX_Size() int\n```\n\n```go\nfunc (m *Acknowledgement) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AliveMessage struct {\n\tMembership           *Member   `protobuf:\"bytes,1,opt,name=membership,proto3\" json:\"membership,omitempty\"`\n\tTimestamp            *PeerTime `protobuf:\"bytes,2,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tIdentity             []byte    `protobuf:\"bytes,4,opt,name=identity,proto3\" json:\"identity,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}  `json:\"-\"`\n\tXXX_unrecognized     []byte    `json:\"-\"`\n\tXXX_sizecache        int32     `json:\"-\"`\n}\n```\nAliveMessage is sent to inform remote peers of a peer's existence and activity\n\n```go\nfunc (*AliveMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AliveMessage) GetIdentity() []byte\n```\n\n```go\nfunc (m *AliveMessage) GetMembership() *Member\n```\n\n```go\nfunc (m *AliveMessage) GetTimestamp() *PeerTime\n```\n\n```go\nfunc (*AliveMessage) ProtoMessage()\n```\n\n```go\nfunc (m *AliveMessage) Reset()\n```\n\n```go\nfunc (m *AliveMessage) String() string\n```\n\n```go\nfunc (m *AliveMessage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AliveMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *AliveMessage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *AliveMessage) XXX_Size() int\n```\n\n```go\nfunc (m *AliveMessage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AuthInfo struct {\n\tSignedData []byte\n\tSignature  []byte\n}\n```\nAuthInfo represents the authentication data that was provided by the remote peer at the connection time\n\n```go\ntype Chaincode struct {\n\tName                 string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tVersion              string   `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tMetadata             []byte   `protobuf:\"bytes,3,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincode represents a Chaincode that is installed on a peer\n\n```go\nfunc (*Chaincode) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Chaincode) GetMetadata() []byte\n```\n\n```go\nfunc (m *Chaincode) GetName() string\n```\n\n```go\nfunc (m *Chaincode) GetVersion() string\n```\n\n```go\nfunc (*Chaincode) ProtoMessage()\n```\n\n```go\nfunc (m *Chaincode) Reset()\n```\n\n```go\nfunc (m *Chaincode) String() string\n```\n\n```go\nfunc (m *Chaincode) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Chaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Chaincode) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Chaincode) XXX_Size() int\n```\n\n```go\nfunc (m *Chaincode) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConnEstablish struct {\n\tPkiId                []byte   `protobuf:\"bytes,1,opt,name=pki_id,json=pkiId,proto3\" json:\"pki_id,omitempty\"`\n\tIdentity             []byte   `protobuf:\"bytes,2,opt,name=identity,proto3\" json:\"identity,omitempty\"`\n\tTlsCertHash          []byte   `protobuf:\"bytes,3,opt,name=tls_cert_hash,json=tlsCertHash,proto3\" json:\"tls_cert_hash,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nConnEstablish is the message used for the gossip handshake Whenever a peer connects to another peer, it handshakes with it by sending this message that proves its identity\n\n```go\nfunc (*ConnEstablish) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConnEstablish) GetIdentity() []byte\n```\n\n```go\nfunc (m *ConnEstablish) GetPkiId() []byte\n```\n\n```go\nfunc (m *ConnEstablish) GetTlsCertHash() []byte\n```\n\n```go\nfunc (*ConnEstablish) ProtoMessage()\n```\n\n```go\nfunc (m *ConnEstablish) Reset()\n```\n\n```go\nfunc (m *ConnEstablish) String() string\n```\n\n```go\nfunc (m *ConnEstablish) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConnEstablish) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConnEstablish) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConnEstablish) XXX_Size() int\n```\n\n```go\nfunc (m *ConnEstablish) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConnectionInfo struct {\n\tID       common.PKIidType\n\tAuth     *AuthInfo\n\tIdentity api.PeerIdentityType\n\tEndpoint string\n}\n```\nConnectionInfo represents information about the remote peer that sent a certain ReceivedMessage\n\n```go\nfunc (c *ConnectionInfo) String() string\n```\nString returns a string representation of this ConnectionInfo\n\n```go\ntype DataDigest struct {\n\tNonce                uint64      `protobuf:\"varint,1,opt,name=nonce,proto3\" json:\"nonce,omitempty\"`\n\tDigests              [][]byte    `protobuf:\"bytes,2,rep,name=digests,proto3\" json:\"digests,omitempty\"`\n\tMsgType              PullMsgType `protobuf:\"varint,3,opt,name=msg_type,json=msgType,proto3,enum=gossip.PullMsgType\" json:\"msg_type,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nDataDigest is the message sent from the receiver peer to the initator peer and contains the data items it has\n\n```go\nfunc (*DataDigest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (dd *DataDigest) FormattedDigests() []string\n```\n\n```go\nfunc (m *DataDigest) GetDigests() [][]byte\n```\n\n```go\nfunc (m *DataDigest) GetMsgType() PullMsgType\n```\n\n```go\nfunc (m *DataDigest) GetNonce() uint64\n```\n\n```go\nfunc (*DataDigest) ProtoMessage()\n```\n\n```go\nfunc (m *DataDigest) Reset()\n```\n\n```go\nfunc (m *DataDigest) String() string\n```\n\n```go\nfunc (m *DataDigest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DataDigest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DataDigest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DataDigest) XXX_Size() int\n```\n\n```go\nfunc (m *DataDigest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DataMessage struct {\n\tPayload              *Payload `protobuf:\"bytes,1,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nDataMessage is the message that contains a block\n\n```go\nfunc (*DataMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DataMessage) GetPayload() *Payload\n```\n\n```go\nfunc (*DataMessage) ProtoMessage()\n```\n\n```go\nfunc (m *DataMessage) Reset()\n```\n\n```go\nfunc (m *DataMessage) String() string\n```\n\n```go\nfunc (m *DataMessage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DataMessage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DataMessage) XXX_Size() int\n```\n\n```go\nfunc (m *DataMessage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DataRequest struct {\n\tNonce                uint64      `protobuf:\"varint,1,opt,name=nonce,proto3\" json:\"nonce,omitempty\"`\n\tDigests              [][]byte    `protobuf:\"bytes,2,rep,name=digests,proto3\" json:\"digests,omitempty\"`\n\tMsgType              PullMsgType `protobuf:\"varint,3,opt,name=msg_type,json=msgType,proto3,enum=gossip.PullMsgType\" json:\"msg_type,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nDataRequest is a message used for a peer to request certain data blocks from a remote peer\n\n```go\nfunc (*DataRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (dd *DataRequest) FormattedDigests() []string\n```\n\n```go\nfunc (m *DataRequest) GetDigests() [][]byte\n```\n\n```go\nfunc (m *DataRequest) GetMsgType() PullMsgType\n```\n\n```go\nfunc (m *DataRequest) GetNonce() uint64\n```\n\n```go\nfunc (*DataRequest) ProtoMessage()\n```\n\n```go\nfunc (m *DataRequest) Reset()\n```\n\n```go\nfunc (m *DataRequest) String() string\n```\n\n```go\nfunc (m *DataRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DataRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DataRequest) XXX_Size() int\n```\n\n```go\nfunc (m *DataRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DataUpdate struct {\n\tNonce                uint64      `protobuf:\"varint,1,opt,name=nonce,proto3\" json:\"nonce,omitempty\"`\n\tData                 []*Envelope `protobuf:\"bytes,2,rep,name=data,proto3\" json:\"data,omitempty\"`\n\tMsgType              PullMsgType `protobuf:\"varint,3,opt,name=msg_type,json=msgType,proto3,enum=gossip.PullMsgType\" json:\"msg_type,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nDataUpdate is the final message in the pull phase sent from the receiver to the initiator\n\n```go\nfunc (*DataUpdate) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DataUpdate) GetData() []*Envelope\n```\n\n```go\nfunc (m *DataUpdate) GetMsgType() PullMsgType\n```\n\n```go\nfunc (m *DataUpdate) GetNonce() uint64\n```\n\n```go\nfunc (*DataUpdate) ProtoMessage()\n```\n\n```go\nfunc (m *DataUpdate) Reset()\n```\n\n```go\nfunc (m *DataUpdate) String() string\n```\n\n```go\nfunc (m *DataUpdate) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DataUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DataUpdate) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DataUpdate) XXX_Size() int\n```\n\n```go\nfunc (m *DataUpdate) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Empty struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nEmpty is used for pinging and in tests\n\n```go\nfunc (*Empty) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*Empty) ProtoMessage()\n```\n\n```go\nfunc (m *Empty) Reset()\n```\n\n```go\nfunc (m *Empty) String() string\n```\n\n```go\nfunc (m *Empty) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Empty) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Empty) XXX_Size() int\n```\n\n```go\nfunc (m *Empty) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Envelope struct {\n\tPayload              []byte          `protobuf:\"bytes,1,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tSignature            []byte          `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tSecretEnvelope       *SecretEnvelope `protobuf:\"bytes,3,opt,name=secret_envelope,json=secretEnvelope,proto3\" json:\"secret_envelope,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}        `json:\"-\"`\n\tXXX_unrecognized     []byte          `json:\"-\"`\n\tXXX_sizecache        int32           `json:\"-\"`\n}\n```\nEnvelope contains a marshalled GossipMessage and a signature over it. It may also contain a SecretEnvelope which is a marshalled Secret\n\n```go\nfunc (*Envelope) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Envelope) GetPayload() []byte\n```\n\n```go\nfunc (m *Envelope) GetSecretEnvelope() *SecretEnvelope\n```\n\n```go\nfunc (m *Envelope) GetSignature() []byte\n```\n\n```go\nfunc (*Envelope) ProtoMessage()\n```\n\n```go\nfunc (m *Envelope) Reset()\n```\n\n```go\nfunc (e *Envelope) SignSecret(signer Signer, secret *Secret) error\n```\nSignSecret signs the secret payload and creates a secret envelope out of it.\n\n```go\nfunc (m *Envelope) String() string\n```\n\n```go\nfunc (e *Envelope) ToGossipMessage() (*SignedGossipMessage, error)\n```\nToGossipMessage un-marshals a given envelope and creates a SignedGossipMessage out of it. Returns an error if un-marshaling fails.\n\n```go\nfunc (m *Envelope) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Envelope) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Envelope) XXX_Size() int\n```\n\n```go\nfunc (m *Envelope) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GossipClient interface {\n\t// GossipStream is the gRPC stream used for sending and receiving messages\n\tGossipStream(ctx context.Context, opts ...grpc.CallOption) (Gossip_GossipStreamClient, error)\n\t// Ping is used to probe a remote peer's aliveness\n\tPing(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)\n}\n```\nGossipClient is the client API for Gossip service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewGossipClient(cc *grpc.ClientConn) GossipClient\n```\n\n```go\ntype GossipHello struct {\n\tNonce                uint64      `protobuf:\"varint,1,opt,name=nonce,proto3\" json:\"nonce,omitempty\"`\n\tMetadata             []byte      `protobuf:\"bytes,2,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tMsgType              PullMsgType `protobuf:\"varint,3,opt,name=msg_type,json=msgType,proto3,enum=gossip.PullMsgType\" json:\"msg_type,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nGossipHello is the message that is used for the peer to initiate a pull round with another peer\n\n```go\nfunc (*GossipHello) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GossipHello) GetMetadata() []byte\n```\n\n```go\nfunc (m *GossipHello) GetMsgType() PullMsgType\n```\n\n```go\nfunc (m *GossipHello) GetNonce() uint64\n```\n\n```go\nfunc (*GossipHello) ProtoMessage()\n```\n\n```go\nfunc (m *GossipHello) Reset()\n```\n\n```go\nfunc (m *GossipHello) String() string\n```\n\n```go\nfunc (m *GossipHello) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GossipHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GossipHello) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GossipHello) XXX_Size() int\n```\n\n```go\nfunc (m *GossipHello) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GossipMessage struct {\n\t// used mainly for testing, but will might be used in the future\n\t// for ensuring message delivery by acking\n\tNonce uint64 `protobuf:\"varint,1,opt,name=nonce,proto3\" json:\"nonce,omitempty\"`\n\t// The channel of the message.\n\t// Some GossipMessages may set this to nil, because\n\t// they are cross-channels but some may not\n\tChannel []byte `protobuf:\"bytes,2,opt,name=channel,proto3\" json:\"channel,omitempty\"`\n\t// determines to which peers it is allowed\n\t// to forward the message\n\tTag GossipMessage_Tag `protobuf:\"varint,3,opt,name=tag,proto3,enum=gossip.GossipMessage_Tag\" json:\"tag,omitempty\"`\n\t// Types that are valid to be assigned to Content:\n\t//\t*GossipMessage_AliveMsg\n\t//\t*GossipMessage_MemReq\n\t//\t*GossipMessage_MemRes\n\t//\t*GossipMessage_DataMsg\n\t//\t*GossipMessage_Hello\n\t//\t*GossipMessage_DataDig\n\t//\t*GossipMessage_DataReq\n\t//\t*GossipMessage_DataUpdate\n\t//\t*GossipMessage_Empty\n\t//\t*GossipMessage_Conn\n\t//\t*GossipMessage_StateInfo\n\t//\t*GossipMessage_StateSnapshot\n\t//\t*GossipMessage_StateInfoPullReq\n\t//\t*GossipMessage_StateRequest\n\t//\t*GossipMessage_StateResponse\n\t//\t*GossipMessage_LeadershipMsg\n\t//\t*GossipMessage_PeerIdentity\n\t//\t*GossipMessage_Ack\n\t//\t*GossipMessage_PrivateReq\n\t//\t*GossipMessage_PrivateRes\n\t//\t*GossipMessage_PrivateData\n\tContent              isGossipMessage_Content `protobuf_oneof:\"content\"`\n\tXXX_NoUnkeyedLiteral struct{}                `json:\"-\"`\n\tXXX_unrecognized     []byte                  `json:\"-\"`\n\tXXX_sizecache        int32                   `json:\"-\"`\n}\n```\nGossipMessage defines the message sent in a gossip network\n\n```go\nfunc (*GossipMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GossipMessage) GetAck() *Acknowledgement\n```\n\n```go\nfunc (m *GossipMessage) GetAliveMsg() *AliveMessage\n```\n\n```go\nfunc (m *GossipMessage) GetChannel() []byte\n```\n\n```go\nfunc (m *GossipMessage) GetConn() *ConnEstablish\n```\n\n```go\nfunc (m *GossipMessage) GetContent() isGossipMessage_Content\n```\n\n```go\nfunc (m *GossipMessage) GetDataDig() *DataDigest\n```\n\n```go\nfunc (m *GossipMessage) GetDataMsg() *DataMessage\n```\n\n```go\nfunc (m *GossipMessage) GetDataReq() *DataRequest\n```\n\n```go\nfunc (m *GossipMessage) GetDataUpdate() *DataUpdate\n```\n\n```go\nfunc (m *GossipMessage) GetEmpty() *Empty\n```\n\n```go\nfunc (m *GossipMessage) GetHello() *GossipHello\n```\n\n```go\nfunc (m *GossipMessage) GetLeadershipMsg() *LeadershipMessage\n```\n\n```go\nfunc (m *GossipMessage) GetMemReq() *MembershipRequest\n```\n\n```go\nfunc (m *GossipMessage) GetMemRes() *MembershipResponse\n```\n\n```go\nfunc (m *GossipMessage) GetNonce() uint64\n```\n\n```go\nfunc (m *GossipMessage) GetPeerIdentity() *PeerIdentity\n```\n\n```go\nfunc (m *GossipMessage) GetPrivateData() *PrivateDataMessage\n```\n\n```go\nfunc (m *GossipMessage) GetPrivateReq() *RemotePvtDataRequest\n```\n\n```go\nfunc (m *GossipMessage) GetPrivateRes() *RemotePvtDataResponse\n```\n\n```go\nfunc (m *GossipMessage) GetPullMsgType() PullMsgType\n```\nGetPullMsgType returns the phase of the pull mechanism this GossipMessage belongs to for example: Hello, Digest, etc. If this isn't a pull message, PullMsgType\\_UNDEFINED is returned.\n\n```go\nfunc (m *GossipMessage) GetStateInfo() *StateInfo\n```\n\n```go\nfunc (m *GossipMessage) GetStateInfoPullReq() *StateInfoPullRequest\n```\n\n```go\nfunc (m *GossipMessage) GetStateRequest() *RemoteStateRequest\n```\n\n```go\nfunc (m *GossipMessage) GetStateResponse() *RemoteStateResponse\n```\n\n```go\nfunc (m *GossipMessage) GetStateSnapshot() *StateInfoSnapshot\n```\n\n```go\nfunc (m *GossipMessage) GetTag() GossipMessage_Tag\n```\n\n```go\nfunc (m *GossipMessage) IsAck() bool\n```\nIsAck returns whether this GossipMessage is an acknowledgement\n\n```go\nfunc (m *GossipMessage) IsAliveMsg() bool\n```\nIsAliveMsg returns whether this GossipMessage is an AliveMessage\n\n```go\nfunc (m *GossipMessage) IsChannelRestricted() bool\n```\nIsChannelRestricted returns whether this GossipMessage should be routed only in its channel\n\n```go\nfunc (m *GossipMessage) IsDataMsg() bool\n```\nIsDataMsg returns whether this GossipMessage is a data message\n\n```go\nfunc (m *GossipMessage) IsDataReq() bool\n```\nIsDataReq returns whether this GossipMessage is a data request message\n\n```go\nfunc (m *GossipMessage) IsDataUpdate() bool\n```\nIsDataUpdate returns whether this GossipMessage is a data update message\n\n```go\nfunc (m *GossipMessage) IsDigestMsg() bool\n```\nIsDigestMsg returns whether this GossipMessage is a digest message\n\n```go\nfunc (m *GossipMessage) IsHelloMsg() bool\n```\nIsHelloMsg returns whether this GossipMessage is a hello message\n\n```go\nfunc (m *GossipMessage) IsIdentityMsg() bool\n```\nIsIdentityMsg returns whether this GossipMessage is an identity message\n\n```go\nfunc (m *GossipMessage) IsLeadershipMsg() bool\n```\nIsLeadershipMsg returns whether this GossipMessage is a leadership (leader election) message\n\n```go\nfunc (m *GossipMessage) IsOrgRestricted() bool\n```\nIsOrgRestricted returns whether this GossipMessage should be routed only inside the organization\n\n```go\nfunc (m *GossipMessage) IsPrivateDataMsg() bool\n```\nIsPrivateDataMsg returns whether this message is related to private data\n\n```go\nfunc (m *GossipMessage) IsPullMsg() bool\n```\nIsPullMsg returns whether this GossipMessage is a message that belongs to the pull mechanism\n\n```go\nfunc (m *GossipMessage) IsRemoteStateMessage() bool\n```\nIsRemoteStateMessage returns whether this GossipMessage is related to state synchronization\n\n```go\nfunc (m *GossipMessage) IsStateInfoMsg() bool\n```\nIsStateInfoMsg returns whether this GossipMessage is a stateInfo message\n\n```go\nfunc (m *GossipMessage) IsStateInfoPullRequestMsg() bool\n```\nIsStateInfoPullRequestMsg returns whether this GossipMessage is a stateInfoPullRequest\n\n```go\nfunc (m *GossipMessage) IsStateInfoSnapshot() bool\n```\nIsStateInfoSnapshot returns whether this GossipMessage is a stateInfo snapshot\n\n```go\nfunc (m *GossipMessage) IsTagLegal() error\n```\nIsTagLegal checks the GossipMessage tags and inner type and returns an error if the tag doesn't match the type.\n\n```go\nfunc (m *GossipMessage) NoopSign() (*SignedGossipMessage, error)\n```\nNoopSign creates a SignedGossipMessage with a nil signature\n\n```go\nfunc (*GossipMessage) ProtoMessage()\n```\n\n```go\nfunc (m *GossipMessage) Reset()\n```\n\n```go\nfunc (m *GossipMessage) String() string\n```\n\n```go\nfunc (m *GossipMessage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GossipMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GossipMessage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*GossipMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *GossipMessage) XXX_Size() int\n```\n\n```go\nfunc (m *GossipMessage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GossipMessage_Ack struct {\n\tAck *Acknowledgement `protobuf:\"bytes,22,opt,name=ack,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_AliveMsg struct {\n\tAliveMsg *AliveMessage `protobuf:\"bytes,5,opt,name=alive_msg,json=aliveMsg,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_Conn struct {\n\tConn *ConnEstablish `protobuf:\"bytes,14,opt,name=conn,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_DataDig struct {\n\tDataDig *DataDigest `protobuf:\"bytes,10,opt,name=data_dig,json=dataDig,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_DataMsg struct {\n\tDataMsg *DataMessage `protobuf:\"bytes,8,opt,name=data_msg,json=dataMsg,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_DataReq struct {\n\tDataReq *DataRequest `protobuf:\"bytes,11,opt,name=data_req,json=dataReq,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_DataUpdate struct {\n\tDataUpdate *DataUpdate `protobuf:\"bytes,12,opt,name=data_update,json=dataUpdate,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_Empty struct {\n\tEmpty *Empty `protobuf:\"bytes,13,opt,name=empty,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_Hello struct {\n\tHello *GossipHello `protobuf:\"bytes,9,opt,name=hello,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_LeadershipMsg struct {\n\tLeadershipMsg *LeadershipMessage `protobuf:\"bytes,20,opt,name=leadership_msg,json=leadershipMsg,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_MemReq struct {\n\tMemReq *MembershipRequest `protobuf:\"bytes,6,opt,name=mem_req,json=memReq,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_MemRes struct {\n\tMemRes *MembershipResponse `protobuf:\"bytes,7,opt,name=mem_res,json=memRes,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_PeerIdentity struct {\n\tPeerIdentity *PeerIdentity `protobuf:\"bytes,21,opt,name=peer_identity,json=peerIdentity,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_PrivateData struct {\n\tPrivateData *PrivateDataMessage `protobuf:\"bytes,25,opt,name=private_data,json=privateData,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_PrivateReq struct {\n\tPrivateReq *RemotePvtDataRequest `protobuf:\"bytes,23,opt,name=privateReq,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_PrivateRes struct {\n\tPrivateRes *RemotePvtDataResponse `protobuf:\"bytes,24,opt,name=privateRes,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_StateInfo struct {\n\tStateInfo *StateInfo `protobuf:\"bytes,15,opt,name=state_info,json=stateInfo,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_StateInfoPullReq struct {\n\tStateInfoPullReq *StateInfoPullRequest `protobuf:\"bytes,17,opt,name=state_info_pull_req,json=stateInfoPullReq,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_StateRequest struct {\n\tStateRequest *RemoteStateRequest `protobuf:\"bytes,18,opt,name=state_request,json=stateRequest,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_StateResponse struct {\n\tStateResponse *RemoteStateResponse `protobuf:\"bytes,19,opt,name=state_response,json=stateResponse,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_StateSnapshot struct {\n\tStateSnapshot *StateInfoSnapshot `protobuf:\"bytes,16,opt,name=state_snapshot,json=stateSnapshot,proto3,oneof\"`\n}\n```\n\n```go\ntype GossipMessage_Tag int32\n```\n\n```go\nconst (\n\tGossipMessage_UNDEFINED    GossipMessage_Tag = 0\n\tGossipMessage_EMPTY        GossipMessage_Tag = 1\n\tGossipMessage_ORG_ONLY     GossipMessage_Tag = 2\n\tGossipMessage_CHAN_ONLY    GossipMessage_Tag = 3\n\tGossipMessage_CHAN_AND_ORG GossipMessage_Tag = 4\n\tGossipMessage_CHAN_OR_ORG  GossipMessage_Tag = 5\n)\n```\n\n```go\nfunc (GossipMessage_Tag) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x GossipMessage_Tag) String() string\n```\n\n```go\ntype GossipServer interface {\n\t// GossipStream is the gRPC stream used for sending and receiving messages\n\tGossipStream(Gossip_GossipStreamServer) error\n\t// Ping is used to probe a remote peer's aliveness\n\tPing(context.Context, *Empty) (*Empty, error)\n}\n```\nGossipServer is the server API for Gossip service.\n\n```go\ntype Gossip_GossipStreamClient interface {\n\tSend(*Envelope) error\n\tRecv() (*Envelope, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Gossip_GossipStreamServer interface {\n\tSend(*Envelope) error\n\tRecv() (*Envelope, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype IdentifierExtractor func(*SignedGossipMessage) string\n```\nIdentifierExtractor extracts from a SignedGossipMessage an identifier\n\n```go\ntype LeadershipMessage struct {\n\tPkiId                []byte    `protobuf:\"bytes,1,opt,name=pki_id,json=pkiId,proto3\" json:\"pki_id,omitempty\"`\n\tTimestamp            *PeerTime `protobuf:\"bytes,2,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tIsDeclaration        bool      `protobuf:\"varint,3,opt,name=is_declaration,json=isDeclaration,proto3\" json:\"is_declaration,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}  `json:\"-\"`\n\tXXX_unrecognized     []byte    `json:\"-\"`\n\tXXX_sizecache        int32     `json:\"-\"`\n}\n```\nLeadership Message is sent during leader election to inform remote peers about intent of peer to proclaim itself as leader\n\n```go\nfunc (*LeadershipMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LeadershipMessage) GetIsDeclaration() bool\n```\n\n```go\nfunc (m *LeadershipMessage) GetPkiId() []byte\n```\n\n```go\nfunc (m *LeadershipMessage) GetTimestamp() *PeerTime\n```\n\n```go\nfunc (*LeadershipMessage) ProtoMessage()\n```\n\n```go\nfunc (m *LeadershipMessage) Reset()\n```\n\n```go\nfunc (m *LeadershipMessage) String() string\n```\n\n```go\nfunc (m *LeadershipMessage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LeadershipMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LeadershipMessage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LeadershipMessage) XXX_Size() int\n```\n\n```go\nfunc (m *LeadershipMessage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Member struct {\n\tEndpoint             string   `protobuf:\"bytes,1,opt,name=endpoint,proto3\" json:\"endpoint,omitempty\"`\n\tMetadata             []byte   `protobuf:\"bytes,2,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tPkiId                []byte   `protobuf:\"bytes,3,opt,name=pki_id,json=pkiId,proto3\" json:\"pki_id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nMember holds membership-related information about a peer\n\n```go\nfunc (*Member) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Member) GetEndpoint() string\n```\n\n```go\nfunc (m *Member) GetMetadata() []byte\n```\n\n```go\nfunc (m *Member) GetPkiId() []byte\n```\n\n```go\nfunc (*Member) ProtoMessage()\n```\n\n```go\nfunc (m *Member) Reset()\n```\n\n```go\nfunc (m *Member) String() string\n```\n\n```go\nfunc (m *Member) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Member) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Member) XXX_Size() int\n```\n\n```go\nfunc (m *Member) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MembershipRequest struct {\n\tSelfInformation      *Envelope `protobuf:\"bytes,1,opt,name=self_information,json=selfInformation,proto3\" json:\"self_information,omitempty\"`\n\tKnown                [][]byte  `protobuf:\"bytes,2,rep,name=known,proto3\" json:\"known,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}  `json:\"-\"`\n\tXXX_unrecognized     []byte    `json:\"-\"`\n\tXXX_sizecache        int32     `json:\"-\"`\n}\n```\nMembershipRequest is used to ask membership information from a remote peer\n\n```go\nfunc (*MembershipRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *MembershipRequest) GetKnown() [][]byte\n```\n\n```go\nfunc (m *MembershipRequest) GetSelfInformation() *Envelope\n```\n\n```go\nfunc (*MembershipRequest) ProtoMessage()\n```\n\n```go\nfunc (m *MembershipRequest) Reset()\n```\n\n```go\nfunc (m *MembershipRequest) String() string\n```\n\n```go\nfunc (m *MembershipRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *MembershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *MembershipRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *MembershipRequest) XXX_Size() int\n```\n\n```go\nfunc (m *MembershipRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MembershipResponse struct {\n\tAlive                []*Envelope `protobuf:\"bytes,1,rep,name=alive,proto3\" json:\"alive,omitempty\"`\n\tDead                 []*Envelope `protobuf:\"bytes,2,rep,name=dead,proto3\" json:\"dead,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nMembershipResponse is used for replying to MembershipRequests\n\n```go\nfunc (*MembershipResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *MembershipResponse) GetAlive() []*Envelope\n```\n\n```go\nfunc (m *MembershipResponse) GetDead() []*Envelope\n```\n\n```go\nfunc (*MembershipResponse) ProtoMessage()\n```\n\n```go\nfunc (m *MembershipResponse) Reset()\n```\n\n```go\nfunc (m *MembershipResponse) String() string\n```\n\n```go\nfunc (m *MembershipResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *MembershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *MembershipResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *MembershipResponse) XXX_Size() int\n```\n\n```go\nfunc (m *MembershipResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MsgConsumer func(message *SignedGossipMessage)\n```\nMsgConsumer invokes code given a SignedGossipMessage\n\n```go\ntype Payload struct {\n\tSeqNum               uint64   `protobuf:\"varint,1,opt,name=seq_num,json=seqNum,proto3\" json:\"seq_num,omitempty\"`\n\tData                 []byte   `protobuf:\"bytes,2,opt,name=data,proto3\" json:\"data,omitempty\"`\n\tPrivateData          [][]byte `protobuf:\"bytes,3,rep,name=private_data,json=privateData,proto3\" json:\"private_data,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPayload contains a block\n\n```go\nfunc (*Payload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Payload) GetData() []byte\n```\n\n```go\nfunc (m *Payload) GetPrivateData() [][]byte\n```\n\n```go\nfunc (m *Payload) GetSeqNum() uint64\n```\n\n```go\nfunc (*Payload) ProtoMessage()\n```\n\n```go\nfunc (m *Payload) Reset()\n```\n\n```go\nfunc (m *Payload) String() string\n```\n\n```go\nfunc (m *Payload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Payload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Payload) XXX_Size() int\n```\n\n```go\nfunc (m *Payload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PeerIdentity struct {\n\tPkiId                []byte   `protobuf:\"bytes,1,opt,name=pki_id,json=pkiId,proto3\" json:\"pki_id,omitempty\"`\n\tCert                 []byte   `protobuf:\"bytes,2,opt,name=cert,proto3\" json:\"cert,omitempty\"`\n\tMetadata             []byte   `protobuf:\"bytes,3,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPeerIdentity defines the identity of the peer Used to make other peers learn of the identity of a certain peer\n\n```go\nfunc (*PeerIdentity) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PeerIdentity) GetCert() []byte\n```\n\n```go\nfunc (m *PeerIdentity) GetMetadata() []byte\n```\n\n```go\nfunc (m *PeerIdentity) GetPkiId() []byte\n```\n\n```go\nfunc (*PeerIdentity) ProtoMessage()\n```\n\n```go\nfunc (m *PeerIdentity) Reset()\n```\n\n```go\nfunc (m *PeerIdentity) String() string\n```\n\n```go\nfunc (m *PeerIdentity) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PeerIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PeerIdentity) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PeerIdentity) XXX_Size() int\n```\n\n```go\nfunc (m *PeerIdentity) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PeerTime struct {\n\tIncNum               uint64   `protobuf:\"varint,1,opt,name=inc_num,json=incNum,proto3\" json:\"inc_num,omitempty\"`\n\tSeqNum               uint64   `protobuf:\"varint,2,opt,name=seq_num,json=seqNum,proto3\" json:\"seq_num,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPeerTime defines the logical time of a peer's life\n\n```go\nfunc (*PeerTime) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PeerTime) GetIncNum() uint64\n```\n\n```go\nfunc (m *PeerTime) GetSeqNum() uint64\n```\n\n```go\nfunc (*PeerTime) ProtoMessage()\n```\n\n```go\nfunc (m *PeerTime) Reset()\n```\n\n```go\nfunc (m *PeerTime) String() string\n```\n\n```go\nfunc (m *PeerTime) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PeerTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PeerTime) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PeerTime) XXX_Size() int\n```\n\n```go\nfunc (m *PeerTime) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PrivateDataMessage struct {\n\tPayload              *PrivatePayload `protobuf:\"bytes,1,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}        `json:\"-\"`\n\tXXX_unrecognized     []byte          `json:\"-\"`\n\tXXX_sizecache        int32           `json:\"-\"`\n}\n```\nPrivateDataMessage message which includes private data information to distributed once transaction has been endorsed\n\n```go\nfunc (*PrivateDataMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PrivateDataMessage) GetPayload() *PrivatePayload\n```\n\n```go\nfunc (*PrivateDataMessage) ProtoMessage()\n```\n\n```go\nfunc (m *PrivateDataMessage) Reset()\n```\n\n```go\nfunc (m *PrivateDataMessage) String() string\n```\n\n```go\nfunc (m *PrivateDataMessage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PrivateDataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PrivateDataMessage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PrivateDataMessage) XXX_Size() int\n```\n\n```go\nfunc (m *PrivateDataMessage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PrivatePayload struct {\n\tCollectionName       string                          `protobuf:\"bytes,1,opt,name=collection_name,json=collectionName,proto3\" json:\"collection_name,omitempty\"`\n\tNamespace            string                          `protobuf:\"bytes,2,opt,name=namespace,proto3\" json:\"namespace,omitempty\"`\n\tTxId                 string                          `protobuf:\"bytes,3,opt,name=tx_id,json=txId,proto3\" json:\"tx_id,omitempty\"`\n\tPrivateRwset         []byte                          `protobuf:\"bytes,4,opt,name=private_rwset,json=privateRwset,proto3\" json:\"private_rwset,omitempty\"`\n\tPrivateSimHeight     uint64                          `protobuf:\"varint,5,opt,name=private_sim_height,json=privateSimHeight,proto3\" json:\"private_sim_height,omitempty\"`\n\tCollectionConfigs    *common.CollectionConfigPackage `protobuf:\"bytes,6,opt,name=collection_configs,json=collectionConfigs,proto3\" json:\"collection_configs,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                        `json:\"-\"`\n\tXXX_unrecognized     []byte                          `json:\"-\"`\n\tXXX_sizecache        int32                           `json:\"-\"`\n}\n```\nPrivatePayload payload to encapsulate private data with collection name to enable routing based on collection partitioning\n\n```go\nfunc (*PrivatePayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PrivatePayload) GetCollectionConfigs() *common.CollectionConfigPackage\n```\n\n```go\nfunc (m *PrivatePayload) GetCollectionName() string\n```\n\n```go\nfunc (m *PrivatePayload) GetNamespace() string\n```\n\n```go\nfunc (m *PrivatePayload) GetPrivateRwset() []byte\n```\n\n```go\nfunc (m *PrivatePayload) GetPrivateSimHeight() uint64\n```\n\n```go\nfunc (m *PrivatePayload) GetTxId() string\n```\n\n```go\nfunc (*PrivatePayload) ProtoMessage()\n```\n\n```go\nfunc (m *PrivatePayload) Reset()\n```\n\n```go\nfunc (m *PrivatePayload) String() string\n```\n\n```go\nfunc (m *PrivatePayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PrivatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PrivatePayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PrivatePayload) XXX_Size() int\n```\n\n```go\nfunc (m *PrivatePayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Properties struct {\n\tLedgerHeight         uint64       `protobuf:\"varint,1,opt,name=ledger_height,json=ledgerHeight,proto3\" json:\"ledger_height,omitempty\"`\n\tLeftChannel          bool         `protobuf:\"varint,2,opt,name=left_channel,json=leftChannel,proto3\" json:\"left_channel,omitempty\"`\n\tChaincodes           []*Chaincode `protobuf:\"bytes,3,rep,name=chaincodes,proto3\" json:\"chaincodes,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}     `json:\"-\"`\n\tXXX_unrecognized     []byte       `json:\"-\"`\n\tXXX_sizecache        int32        `json:\"-\"`\n}\n```\n\n```go\nfunc (*Properties) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Properties) GetChaincodes() []*Chaincode\n```\n\n```go\nfunc (m *Properties) GetLedgerHeight() uint64\n```\n\n```go\nfunc (m *Properties) GetLeftChannel() bool\n```\n\n```go\nfunc (*Properties) ProtoMessage()\n```\n\n```go\nfunc (m *Properties) Reset()\n```\n\n```go\nfunc (m *Properties) String() string\n```\n\n```go\nfunc (m *Properties) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Properties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Properties) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Properties) XXX_Size() int\n```\n\n```go\nfunc (m *Properties) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PullMsgType int32\n```\n\n```go\nconst (\n\tPullMsgType_UNDEFINED    PullMsgType = 0\n\tPullMsgType_BLOCK_MSG    PullMsgType = 1\n\tPullMsgType_IDENTITY_MSG PullMsgType = 2\n)\n```\n\n```go\nfunc (PullMsgType) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x PullMsgType) String() string\n```\n\n```go\ntype PvtDataDigest struct {\n\tTxId                 string   `protobuf:\"bytes,1,opt,name=tx_id,json=txId,proto3\" json:\"tx_id,omitempty\"`\n\tNamespace            string   `protobuf:\"bytes,2,opt,name=namespace,proto3\" json:\"namespace,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,3,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tBlockSeq             uint64   `protobuf:\"varint,4,opt,name=block_seq,json=blockSeq,proto3\" json:\"block_seq,omitempty\"`\n\tSeqInBlock           uint64   `protobuf:\"varint,5,opt,name=seq_in_block,json=seqInBlock,proto3\" json:\"seq_in_block,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPvtDataDigest defines a digest of private data\n\n```go\nfunc (*PvtDataDigest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PvtDataDigest) GetBlockSeq() uint64\n```\n\n```go\nfunc (m *PvtDataDigest) GetCollection() string\n```\n\n```go\nfunc (m *PvtDataDigest) GetNamespace() string\n```\n\n```go\nfunc (m *PvtDataDigest) GetSeqInBlock() uint64\n```\n\n```go\nfunc (m *PvtDataDigest) GetTxId() string\n```\n\n```go\nfunc (dig *PvtDataDigest) Hash() (string, error)\n```\nHash returns the SHA256 representation of the PvtDataDigest's bytes\n\n```go\nfunc (*PvtDataDigest) ProtoMessage()\n```\n\n```go\nfunc (m *PvtDataDigest) Reset()\n```\n\n```go\nfunc (m *PvtDataDigest) String() string\n```\n\n```go\nfunc (m *PvtDataDigest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PvtDataDigest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PvtDataDigest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PvtDataDigest) XXX_Size() int\n```\n\n```go\nfunc (m *PvtDataDigest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PvtDataElement struct {\n\tDigest *PvtDataDigest `protobuf:\"bytes,1,opt,name=digest,proto3\" json:\"digest,omitempty\"`\n\t// the payload is a marshaled kvrwset.KVRWSet\n\tPayload              [][]byte `protobuf:\"bytes,2,rep,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*PvtDataElement) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PvtDataElement) GetDigest() *PvtDataDigest\n```\n\n```go\nfunc (m *PvtDataElement) GetPayload() [][]byte\n```\n\n```go\nfunc (*PvtDataElement) ProtoMessage()\n```\n\n```go\nfunc (m *PvtDataElement) Reset()\n```\n\n```go\nfunc (m *PvtDataElement) String() string\n```\n\n```go\nfunc (m *PvtDataElement) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PvtDataElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PvtDataElement) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PvtDataElement) XXX_Size() int\n```\n\n```go\nfunc (m *PvtDataElement) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PvtDataPayload struct {\n\tTxSeqInBlock uint64 `protobuf:\"varint,1,opt,name=tx_seq_in_block,json=txSeqInBlock,proto3\" json:\"tx_seq_in_block,omitempty\"`\n\t// Encodes marhslaed bytes of rwset.TxPvtReadWriteSet\n\t// defined in rwset.proto\n\tPayload              []byte   `protobuf:\"bytes,2,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPvtPayload augments private rwset data and tx index inside the block\n\n```go\nfunc (*PvtDataPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PvtDataPayload) GetPayload() []byte\n```\n\n```go\nfunc (m *PvtDataPayload) GetTxSeqInBlock() uint64\n```\n\n```go\nfunc (*PvtDataPayload) ProtoMessage()\n```\n\n```go\nfunc (m *PvtDataPayload) Reset()\n```\n\n```go\nfunc (m *PvtDataPayload) String() string\n```\n\n```go\nfunc (m *PvtDataPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PvtDataPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PvtDataPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PvtDataPayload) XXX_Size() int\n```\n\n```go\nfunc (m *PvtDataPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ReceivedMessage interface {\n\n\t// Respond sends a GossipMessage to the origin from which this ReceivedMessage was sent from\n\tRespond(msg *GossipMessage)\n\n\t// GetGossipMessage returns the underlying GossipMessage\n\tGetGossipMessage() *SignedGossipMessage\n\n\t// GetSourceMessage Returns the Envelope the ReceivedMessage was\n\t// constructed with\n\tGetSourceEnvelope() *Envelope\n\n\t// GetConnectionInfo returns information about the remote peer\n\t// that sent the message\n\tGetConnectionInfo() *ConnectionInfo\n\n\t// Ack returns to the sender an acknowledgement for the message\n\t// An ack can receive an error that indicates that the operation related\n\t// to the message has failed\n\tAck(err error)\n}\n```\nReceivedMessage is a GossipMessage wrapper that enables the user to send a message to the origin from which the ReceivedMessage was sent from. It also allows to know the identity of the sender, to obtain the raw bytes the GossipMessage was un-marshaled from, and the signature over these raw bytes.\n\n```go\ntype RemotePvtDataRequest struct {\n\tDigests              []*PvtDataDigest `protobuf:\"bytes,1,rep,name=digests,proto3\" json:\"digests,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}         `json:\"-\"`\n\tXXX_unrecognized     []byte           `json:\"-\"`\n\tXXX_sizecache        int32            `json:\"-\"`\n}\n```\nRemotePrivateDataRequest message used to request missing private rwset\n\n```go\nfunc (*RemotePvtDataRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *RemotePvtDataRequest) GetDigests() []*PvtDataDigest\n```\n\n```go\nfunc (*RemotePvtDataRequest) ProtoMessage()\n```\n\n```go\nfunc (m *RemotePvtDataRequest) Reset()\n```\n\n```go\nfunc (m *RemotePvtDataRequest) String() string\n```\n\n```go\nfunc (m *RemotePvtDataRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *RemotePvtDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *RemotePvtDataRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *RemotePvtDataRequest) XXX_Size() int\n```\n\n```go\nfunc (m *RemotePvtDataRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype RemotePvtDataResponse struct {\n\tElements             []*PvtDataElement `protobuf:\"bytes,1,rep,name=elements,proto3\" json:\"elements,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\nRemotePrivateData message to response on private data replication request\n\n```go\nfunc (*RemotePvtDataResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *RemotePvtDataResponse) GetElements() []*PvtDataElement\n```\n\n```go\nfunc (*RemotePvtDataResponse) ProtoMessage()\n```\n\n```go\nfunc (m *RemotePvtDataResponse) Reset()\n```\n\n```go\nfunc (m *RemotePvtDataResponse) String() string\n```\n\n```go\nfunc (res *RemotePvtDataResponse) ToString() string\n```\nToString returns a string representation of this RemotePvtDataResponse\n\n```go\nfunc (m *RemotePvtDataResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *RemotePvtDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *RemotePvtDataResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *RemotePvtDataResponse) XXX_Size() int\n```\n\n```go\nfunc (m *RemotePvtDataResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype RemoteStateRequest struct {\n\tStartSeqNum          uint64   `protobuf:\"varint,1,opt,name=start_seq_num,json=startSeqNum,proto3\" json:\"start_seq_num,omitempty\"`\n\tEndSeqNum            uint64   `protobuf:\"varint,2,opt,name=end_seq_num,json=endSeqNum,proto3\" json:\"end_seq_num,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nRemoteStateRequest is used to ask a set of blocks from a remote peer\n\n```go\nfunc (*RemoteStateRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *RemoteStateRequest) GetEndSeqNum() uint64\n```\n\n```go\nfunc (m *RemoteStateRequest) GetStartSeqNum() uint64\n```\n\n```go\nfunc (*RemoteStateRequest) ProtoMessage()\n```\n\n```go\nfunc (m *RemoteStateRequest) Reset()\n```\n\n```go\nfunc (m *RemoteStateRequest) String() string\n```\n\n```go\nfunc (m *RemoteStateRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *RemoteStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *RemoteStateRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *RemoteStateRequest) XXX_Size() int\n```\n\n```go\nfunc (m *RemoteStateRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype RemoteStateResponse struct {\n\tPayloads             []*Payload `protobuf:\"bytes,1,rep,name=payloads,proto3\" json:\"payloads,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}   `json:\"-\"`\n\tXXX_unrecognized     []byte     `json:\"-\"`\n\tXXX_sizecache        int32      `json:\"-\"`\n}\n```\nRemoteStateResponse is used to send a set of blocks to a remote peer\n\n```go\nfunc (*RemoteStateResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *RemoteStateResponse) GetPayloads() []*Payload\n```\n\n```go\nfunc (*RemoteStateResponse) ProtoMessage()\n```\n\n```go\nfunc (m *RemoteStateResponse) Reset()\n```\n\n```go\nfunc (m *RemoteStateResponse) String() string\n```\n\n```go\nfunc (m *RemoteStateResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *RemoteStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *RemoteStateResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *RemoteStateResponse) XXX_Size() int\n```\n\n```go\nfunc (m *RemoteStateResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Secret struct {\n\t// Types that are valid to be assigned to Content:\n\t//\t*Secret_InternalEndpoint\n\tContent              isSecret_Content `protobuf_oneof:\"content\"`\n\tXXX_NoUnkeyedLiteral struct{}         `json:\"-\"`\n\tXXX_unrecognized     []byte           `json:\"-\"`\n\tXXX_sizecache        int32            `json:\"-\"`\n}\n```\nSecret is an entity that might be omitted from an Envelope when the remote peer that is receiving the Envelope shouldn't know the secret's content.\n\n```go\nfunc (*Secret) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Secret) GetContent() isSecret_Content\n```\n\n```go\nfunc (m *Secret) GetInternalEndpoint() string\n```\n\n```go\nfunc (*Secret) ProtoMessage()\n```\n\n```go\nfunc (m *Secret) Reset()\n```\n\n```go\nfunc (m *Secret) String() string\n```\n\n```go\nfunc (m *Secret) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Secret) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *Secret) XXX_Size() int\n```\n\n```go\nfunc (m *Secret) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SecretEnvelope struct {\n\tPayload              []byte   `protobuf:\"bytes,1,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nSecretEnvelope is a marshalled Secret and a signature over it. The signature should be validated by the peer that signed the Envelope the SecretEnvelope came with\n\n```go\nfunc (*SecretEnvelope) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SecretEnvelope) GetPayload() []byte\n```\n\n```go\nfunc (m *SecretEnvelope) GetSignature() []byte\n```\n\n```go\nfunc (s *SecretEnvelope) InternalEndpoint() string\n```\nInternalEndpoint returns the internal endpoint in the secret envelope, or an empty string if a failure occurs.\n\n```go\nfunc (*SecretEnvelope) ProtoMessage()\n```\n\n```go\nfunc (m *SecretEnvelope) Reset()\n```\n\n```go\nfunc (m *SecretEnvelope) String() string\n```\n\n```go\nfunc (m *SecretEnvelope) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SecretEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SecretEnvelope) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SecretEnvelope) XXX_Size() int\n```\n\n```go\nfunc (m *SecretEnvelope) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Secret_InternalEndpoint struct {\n\tInternalEndpoint string `protobuf:\"bytes,1,opt,name=internalEndpoint,proto3,oneof\"`\n}\n```\n\n```go\ntype SignedGossipMessage struct {\n\t*Envelope\n\t*GossipMessage\n}\n```\nSignedGossipMessage contains a GossipMessage and the Envelope from which it came from\n\n```go\nfunc (m *SignedGossipMessage) IsSigned() bool\n```\nIsSigned returns whether the message has a signature in the envelope.\n\n```go\nfunc (m *SignedGossipMessage) Sign(signer Signer) (*Envelope, error)\n```\nSign signs a GossipMessage with given Signer. Returns an Envelope on success, panics on failure.\n\n```go\nfunc (m *SignedGossipMessage) String() string\n```\nString returns a string representation of a SignedGossipMessage\n\n```go\nfunc (m *SignedGossipMessage) Verify(peerIdentity []byte, verify Verifier) error\n```\nVerify verifies a signed GossipMessage with a given Verifier. Returns nil on success, error on failure.\n\n```go\ntype Signer func(msg []byte) ([]byte, error)\n```\nSigner signs a message, and returns (signature, nil) on success, and nil and an error on failure.\n\n```go\ntype StateInfo struct {\n\tTimestamp *PeerTime `protobuf:\"bytes,2,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tPkiId     []byte    `protobuf:\"bytes,3,opt,name=pki_id,json=pkiId,proto3\" json:\"pki_id,omitempty\"`\n\t// channel_MAC is an authentication code that proves\n\t// that the peer that sent this message knows\n\t// the name of the channel.\n\tChannel_MAC          []byte      `protobuf:\"bytes,4,opt,name=channel_MAC,json=channelMAC,proto3\" json:\"channel_MAC,omitempty\"`\n\tProperties           *Properties `protobuf:\"bytes,5,opt,name=properties,proto3\" json:\"properties,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nStateInfo is used for a peer to relay its state information to other peers\n\n```go\nfunc (*StateInfo) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StateInfo) GetChannel_MAC() []byte\n```\n\n```go\nfunc (m *StateInfo) GetPkiId() []byte\n```\n\n```go\nfunc (m *StateInfo) GetProperties() *Properties\n```\n\n```go\nfunc (m *StateInfo) GetTimestamp() *PeerTime\n```\n\n```go\nfunc (msg *StateInfo) LedgerHeight() (uint64, error)\n```\nLedgerHeight returns the ledger height that is specified in the StateInfo message\n\n```go\nfunc (*StateInfo) ProtoMessage()\n```\n\n```go\nfunc (m *StateInfo) Reset()\n```\n\n```go\nfunc (m *StateInfo) String() string\n```\n\n```go\nfunc (m *StateInfo) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *StateInfo) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StateInfo) XXX_Size() int\n```\n\n```go\nfunc (m *StateInfo) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StateInfoPullRequest struct {\n\t// channel_MAC is an authentication code that proves\n\t// that the peer that sent this message knows\n\t// the name of the channel.\n\tChannel_MAC          []byte   `protobuf:\"bytes,1,opt,name=channel_MAC,json=channelMAC,proto3\" json:\"channel_MAC,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nStateInfoPullRequest is used to fetch a StateInfoSnapshot from a remote peer\n\n```go\nfunc (*StateInfoPullRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StateInfoPullRequest) GetChannel_MAC() []byte\n```\n\n```go\nfunc (*StateInfoPullRequest) ProtoMessage()\n```\n\n```go\nfunc (m *StateInfoPullRequest) Reset()\n```\n\n```go\nfunc (m *StateInfoPullRequest) String() string\n```\n\n```go\nfunc (m *StateInfoPullRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StateInfoPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *StateInfoPullRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StateInfoPullRequest) XXX_Size() int\n```\n\n```go\nfunc (m *StateInfoPullRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StateInfoSnapshot struct {\n\tElements             []*Envelope `protobuf:\"bytes,1,rep,name=elements,proto3\" json:\"elements,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nStateInfoSnapshot is an aggregation of StateInfo messages\n\n```go\nfunc (*StateInfoSnapshot) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StateInfoSnapshot) GetElements() []*Envelope\n```\n\n```go\nfunc (*StateInfoSnapshot) ProtoMessage()\n```\n\n```go\nfunc (m *StateInfoSnapshot) Reset()\n```\n\n```go\nfunc (m *StateInfoSnapshot) String() string\n```\n\n```go\nfunc (m *StateInfoSnapshot) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StateInfoSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *StateInfoSnapshot) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StateInfoSnapshot) XXX_Size() int\n```\n\n```go\nfunc (m *StateInfoSnapshot) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Verifier func(peerIdentity []byte, signature, message []byte) error\n```\nVerifier receives a peer identity, a signature and a message and returns nil if the signature on the message could be verified using the given identity.\n\n","path":"github.com/eric-erki/https-hyperledger.org/protos/gossip","name":"gossip","synopsis":"","isRedistributable":true}
