plumtree / 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 - the peer that sent the message

attributes - of the message

message - the hash of the message