according to our assumption, most requests are targeting recent blocks, why not just construct and cache apiAt in blockCache on new block, so querying recent blocks should be much faster. Querying old blocks will construct new apiAt, which is fine and do not need to cache
according to our assumption, most requests are targeting recent blocks, why not just construct and cache apiAt in blockCache on new block, so querying recent blocks should be much faster. Querying old blocks will construct new apiAt, which is fine and do not need to cache