input-output-hk / ouroboros-high-assurance

High-assurance implementation of the Ouroboros protocol family
Apache License 2.0
1 stars 1 forks source link

Implement a fragment of the chain synchronization protocol #65

Closed jeltsch closed 11 months ago

jeltsch commented 1 year ago

We shall make the first step of implementing the chain synchronization protocol based on a mini-protocol framework. The framework that resulted from #58 and #67 still lacks means for mini-protocol programs communicating with their environments; so we shall for now implement only a fragment of the chain synchronization protocol that doesn’t perform such communication. Concretely, this fragment shall have the following restrictions:

The chain that the client starts with should be passed to it upon startup. Note that this chain may disagree with the server’s chain, so that the protocol cannot just start with the server sending additional blocks for the client chain.