tuweni / org.apache.tuweni.plumtree / State / receiveGraftMessage

receiveGraftMessage

fun receiveGraftMessage(peer: Peer!, messageHash: Bytes!): Unit (source)

Requests a peer be grafted to the eager peers list.

Parameters

peer - Peer!: the peer to add to the eager peers

messageHash - Bytes!: the hash of the message that triggers this grafting