go-spacemesh
go-spacemesh copied to clipboard
atx handler should raise pubsub.ErrValidationReject on validation failures
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.
related https://github.com/spacemeshos/go-spacemesh/issues/5614