tuweni / org.apache.tuweni.plumtree / State / receiveGossipMessage

receiveGossipMessage

fun receiveGossipMessage(peer: Peer!, attributes: String!, message: Bytes!, messageHash: Bytes!): Unit (source)

Records a message was received in full from a peer.

Parameters

peer - Peer!: the peer that sent the message

attributes - String!: of the message

message - Bytes!: the message

messageHash - Bytes!: the hash of the message