copernet / copernicus

An alternative implementation of the Bitcoin Cash protocol, written in Golang
https://copernet.io
BSD 2-Clause "Simplified" License
85 stars 34 forks source link

misbehave re-checking during p2p msg sending & recving #229

Open Radar3 opened 5 years ago

Radar3 commented 5 years ago

Describe the bug After long time running, it seems we may be banned by some peers.

To Reproduce Difficult to reproduce, should run for a long time, and maybe occur.

Expected behavior Should work normally even after long time running.

Additional context I will do a test, let copernicus only connect to a local abc peer, modify abc's log to print out the misbehaving related logs, to check if we have ever misbehaved.