coinbase / mesh-specifications

Specification files for the Mesh Blockchain Standard
Apache License 2.0
327 stars 93 forks source link

Return `Synced` Status #71

Closed patrick-ogrady closed 3 years ago

patrick-ogrady commented 3 years ago

This PR introduces a new field to SyncStatus that lets implementations return a boolean indicating if they are fully synced. This field is particularly useful for quiescent blockchains (blocks only produced when there are pending transactions). In these blockchains, the most recent block could have a timestamp far behind the current time but the node could be at tip.

Changes