You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
The block pinning is a feature required by the RPC Spec V2.
The block pinning feature should be called for subscribers of the
chainHead_unstable_followmethod.Each block produced by the
chainHead_unstable_follow(new block, best block, finalized block) subscription shouldbe pinned to offer data access for:
chain_getBlockRPC)chain_getHeaderRPC)The substrate has pin and unpin functionality but it is only preserving the state of the block.
Extend the database and client to offer support for
pin_blockandunpin_blockto reference countthe desired block and prevent it from pruning.