research icon indicating copy to clipboard operation
research copied to clipboard

Is it possible to process queries for multiple block heights from the same index?

Open Zerim opened this issue 7 years ago • 0 comments

A common usage pattern for blockchains is to get data as of a certain block height. In Bitcoin, for example, the original client does not consider transactions "confirmed" until they are six blocks deep.

This threshold may be set differently by different users. dApps dealing with less sensitive data may even want to query data while the transactions are still pending.

Will we need to spin up different query nodes or maintain separate indexes for each possible block height we wish to support. Is there a way to efficiently access past versions of an index using something like structural sharing?

Zerim avatar Apr 13 '18 21:04 Zerim