ethersphere / bee

Bee is a Swarm client implemented in Go. It’s the basic building block for the Swarm network: a private; decentralized; and self-sustaining network for permissionless publishing and access to your (application) data.
https://www.ethswarm.org
BSD 3-Clause "New" or "Revised" License
1.44k stars 338 forks source link

/status endpoint should also return the last synced block height #4699

Closed istae closed 3 days ago

istae commented 1 month ago

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.