Get desktop application:
View/edit binary Protocol Buffers messages
Gossip
GossipStream is the gRPC stream used for sending and receiving messages
Ping is used to probe a remote node's aliveness
Used in:
AliveMessage is sent to inform remote nodes of a node's existence and activity
Used in:
ConnEstablish is the message used for the gossip handshake Whenever a node connects to another node, it handshakes with it by sending this message that proves its identity
Used in:
DataDigest is the message sent from the receiver node to the initator node and contains the data items it has
Used in:
Maybe change this to bitmap later on
DataMessage is the message that contains a block
Used in:
DataRequest is a message used for a node to request certain data blocks from a remote node
Used in:
DataUpdate is the final message in the pull phase sent from the receiver to the initiator
Used in:
Empty is used for pinging and in tests
Used as request type in: Gossip.Ping
Used as response type in: Gossip.Ping
Used as field type in:
(message has no fields)
Envelope contains a marshalled GossipMessage and a signature over it. It may also contain a SecretEnvelope which is a marshalled Secret
Used as request type in: Gossip.GossipStream
Used as response type in: Gossip.GossipStream
Used as field type in: , , ,
GossipHello is the message that is used for the node to initiate a pull round with another node
Used in:
GossipMessage defines the message sent in a gossip network
used mainly for testing, but will might be used in the future for ensuring message delivery by acking
The group of the message. Some GossipMessages may set this to nil, because they are cross-groups but some may not
determines to which nodes it is allowed to forward the message
Membership
Contains a ledger block
Used for push&pull
Empty message, used for pinging
ConnEstablish, used for establishing a connection
Used for relaying information about state
Used for sending sets of StateInfo messages
Used for asking for StateInfoSnapshots
Used to ask from a remote node a set of blocks
Used to send a set of blocks to a remote node
Used to indicate intent of node to become leader
Used to learn of a node's certificate
Used to request private data
Used to respond to private data requests
Encapsulates private data used to distribute private rwset after the endorsement
Used in:
Leadership Message is sent during leader election to inform remote nodes about intent of node to proclaim itself as leader
Used in:
Member holds membership-related information about a node
Used in:
MembershipRequest is used to ask membership information from a remote node
Used in:
MembershipResponse is used for replying to MembershipRequests
Used in:
NodeIdentity defines the identity of the node Used to make other nodes learn of the identity of a certain node
Used in:
NodeTime defines the logical time of a node's life
Used in: , ,
Payload contains a block
Used in: ,
PrivateDataMessage message which includes private data information to distributed once transaction has been endorsed
Used in:
PrivatePayload payload to encapsulate private data with collection name to enable routing based on collection partitioning
Used in:
Used in:
Used in: , , ,
PvtDataDigest defines a digest of private data
Used in: ,
Used in:
the payload is a marshaled kvrwset.KVRWSet
PvtPayload augments private rwset data and tx index inside the block
Encodes marhslaed bytes of rwset.TxPvtReadWriteSet defined in rwset.proto
RemotePrivateDataRequest message used to request missing private rwset
Used in:
RemotePrivateData message to response on private data replication request
Used in:
RemoteStateRequest is used to ask a set of blocks from a remote node
Used in:
RemoteStateResponse is used to send a set of blocks to a remote node
Used in:
Secret is an entity that might be omitted from an Envelope when the remote node that is receiving the Envelope shouldn't know the secret's content.
SecretEnvelope is a marshalled Secret and a signature over it. The signature should be validated by the node that signed the Envelope the SecretEnvelope came with
Used in:
StateInfo is used for a node to relay its state information to other nodes
Used in:
group_MAC is an authentication code that proves that the node that sent this message knows the name of the group.
StateInfoPullRequest is used to fetch a StateInfoSnapshot from a remote node
Used in:
group_MAC is an authentication code that proves that the node that sent this message knows the name of the group.
StateInfoSnapshot is an aggregation of StateInfo messages
Used in: