coinbase / mesh-specifications

Specification files for the Rosetta Blockchain Standard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it necessary to query account balance at any block number?

Pana opened this issue · comments

commented

Conflux is a high-performance public chain, we are working on integrating with Rosetta. But we have encountered a problem that is Our chain default won’t save all historical states, which means only supporting query account balance in the latest blocks for example latest 5w blocks.

If one want query balance in any block height, the fullnode’s disk storage will be very very big maybe several hundred T

So if it is Ok for the query balance Data-API only support query balance at latest 5w blocks ?

I think this is a duplicate of https://community.rosetta-api.org/t/is-it-necessary-to-query-account-balance-at-any-block-number/651 - so closing this and we can discuss more there. Thanks