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

feat: add last synced block to status endpoint result #4710

Closed martinconic closed 4 days ago

martinconic commented 3 weeks ago

Checklist

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.