0

polkadot UI

This maybe a trivial question:

As you can see here this is my local node that imports some 300 blocks and I was expecting this syncing to say yes instead of no. When does it say yes? I am running with pruning=archive and also tried running with prunig=1000 to see if it made a difference but it didn't.

1 Answer 1

1

The display there is from the system_health RPC which returns a Health struct.

This itself is populated from the networking sync state. The value finally comes from here on the networking layer.

The logic in this code seems to indicate that when current the connected height is 5 blocks behind, it is in sync state.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.