plumtree / org.apache.tuweni.plumtree / State / sendGossipMessage

sendGossipMessage

fun sendGossipMessage(attributes: String, message: Bytes): Bytes (source)

Sends a gossip message to all peers, according to their status.

Parameters

message - the message to propagate

attributes - of the message

Return
The associated hash of the message