go-spacemesh icon indicating copy to clipboard operation
go-spacemesh copied to clipboard

atx handler should raise pubsub.ErrValidationReject on validation failures

Open dshulyak opened this issue 1 year ago • 1 comments

if this is not true in all cases it will lead to stuck sync if peers somehow repeatedly feed invalid atxs. ErrValidationReject will disconnect such peer and report to sync that it should ignore such atx.

dshulyak avatar Mar 07 '24 04:03 dshulyak

related https://github.com/spacemeshos/go-spacemesh/issues/5614

dshulyak avatar Mar 07 '24 14:03 dshulyak