-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
Yes the logic has changed, that is right. However, why does keep-blofks=archive needs to be specified? Could you please go more into detail. You are also talking about benchmarks, which kind of benchmarks are you talking about and how are they broken? |
substrate/client/db/src/lib.rs Lines 1704 to 1738 in fbd7e5a
The origin logic is that if Now its default value is
|
This means that it will keep all blocks of the finalized chain. |
It is also about block bodies, not state. |
@bkchr, if the docs are okay as-is, should we close this issue or would it be more useful to add some examples about the use of the |
We don't need this cli flag specified everywhere. So, I don't think we need to change any issue. Keeping non canonical block bodies is just wasting disk space. |
I don't know 100%, but I think you don't need to change anything. |
a0ec652?diff=unified#diff-0e523389a21c9bd9fc1da47816eb73a5ad21637337bb938abecedfe7f936d824R1720
The logic of
prune_blocks
has changed, and the--keep-blocks=archive
needs to be specified.