I'm currently building a listener for KSM blocks. I used the api.rpc.chain.subscribeFinalizedHeads
method with the RPC node wss://kusama-rpc.polkadot.io
. As a simple test, I had the callback simply console log the block number. One thing I noticed is that there are some blocks being skipped by the subscriber. 1 out of every 6 blocks seems to not be picked up. If I type the missing block into a scanner online, it exists and shows up. However, the built-in subscriber seems to be missing it.
Does anyone have any insight into why this could be? I don't want to be missing transactions.