bee icon indicating copy to clipboard operation
bee copied to clipboard

feat: add last synced block to status endpoint result

Open martinconic opened this issue 1 year ago • 0 comments

Checklist

  • [ ] I have read the coding guide.
  • [ ] My change requires a documentation update, and I have done it.
  • [ ] I have added tests to cover my changes.
  • [ ] I have filled out the description and linked the related issues.

Description

A new field, called lastSyncedBlock should be added to the status report that shows the last synced block of the postage worker. It is the same value as the block field under the /chainstate endpoint.

This will make it easier to detect if the node or it's peer are lagging behind in syncing batches from the contract.

martinconic avatar Jun 13 '24 09:06 martinconic