Do not send messages twice in bitfield distribution
This removes a bug which resulted in sending bitfield messages multiple times by not checking if we already relayed them. Besides that it also adds an optimization to not relay a message to a peer that send us this message.
parent
2ffdbe14
Please register or sign in to comment