coinbase / mesh-specifications

Specification files for the Mesh Blockchain Standard
Apache License 2.0
324 stars 92 forks source link

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

Closed Pana closed 2 years ago

Pana commented 2 years ago

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 ?

shrimalmadhur commented 2 years ago

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