Do not send messages twice in bitfield distribution (#2005)
* 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. * Review comments * Break some lines
parent
ede19593
Please register or sign in to comment