Discussion: Add canonical status for all blocks in archive node #12015
Replies: 2 comments 18 replies
-
I fully support the proposal. We also consider the implemented function of determining the canonical chain in the archive node to be absolutely inapplicable. |
Beta Was this translation helpful? Give feedback.
-
How much overhead do you see from performing a recursive query? Hard numbers, if you have them. |
Beta Was this translation helpful? Give feedback.
-
Anyone working with the archive node has to deal with recursive queries to determine the canonical chain. The archive node now processes blocks older than 290, and they are marked as canonical / orphaned but could this be implemented for all blocks up to the current chain tip?
Clearly, any blocks less than 290 from the current height are subject to a reorg, and so there would be overhead in implementing this - but this could potentially dramatically improve the usability of the archive node if blocks had a canonical state without invoking a recursive query. It would also make integrating it into services that expose the archive data easier to deliver.
Beta Was this translation helpful? Give feedback.
All reactions