go-spacemesh
go-spacemesh copied to clipboard
Need to disallow activeset fetching via hs/1 (hash) protocol
Description
Given that almost all the users have upgraded to the version that supports a separate protocol (as/1) for active sets, we can disallow activeset fetching using hs/1 (normal hash protocol) to avoid possible overload scenarios, in which activeset requests are subject to normal hash blob pacers.
Steps to reproduce
Request activesets using hs/1 protocol
Actual Behavior
Requests succeed, subject to hs/1 pacer setting
Expected Behavior
Activesets not allowed to be fetched via hs/1, only via as/1