SubscribeToFinalizedHeads and SubscribeToHeads won’t abort polling subscription after Close
It could cause clients like HeadTracker to keep using subscriptions to unhealthy RPC despite MultiNode's transitioning to an unhealthy state.
DoD: polling subscription must be registered
Also added a patch for subscribeNewHead when polling is enabled.
Description
SubscribeToFinalizedHeads and SubscribeToHeads won’t abort polling subscription after Close It could cause clients like HeadTracker to keep using subscriptions to unhealthy RPC despite MultiNode's transitioning to an unhealthy state. DoD: polling subscription must be registered
Also added a patch for subscribeNewHead when polling is enabled.
Tickets:
BCFR-946(https://smartcontract-it.atlassian.net/browse/BCFR-946