BEEFY: Disarm finality notifications to prevent pinning (#5129)
This should prevent excessive pinning of blocks while we are waiting for
the block ancestry to be downloaded after gap sync.
We spawn a new task that gets polled to transform finality notifications
into an unpinned counterpart. Before this PR, finality notifications
were kept in the notification channel. This led to pinning cache
overflows.
fixes #4389
---------
Co-authored-by: Bastian Köcher <[email protected]>
Please register or sign in to comment