tuweni / org.apache.tuweni.rlpx / RLPxConnection / isComplementedBy

isComplementedBy

static fun isComplementedBy(one: RLPxConnection, other: RLPxConnection): Boolean (source)

Checks if two RLPx connections represent both ends of a connection.

Used for testing.

Parameters

one - one RLPx connection

other - an other RLPx connection

Return
true if both connections refer to the same peers, on each side of the connection