View Source Xogmios.ChainSync.Messages (xogmios v0.2.0)

This module contains messages for the Chain Synchronization protocol

Summary

Functions

Syncs the client to the given point in the chain, indicated by slot and id.

Syncs the client to the origin of the chain.

Syncs with a particular era bound.

Request next block.

Initial message to the server.

Functions

Link to this function

find_intersection(slot, id)

View Source

Syncs the client to the given point in the chain, indicated by slot and id.

Syncs the client to the origin of the chain.

Link to this function

last_block_from(era_name)

View Source

Syncs with a particular era bound.

Values accepted are :shelley, :allegra, :mary, :alonzo, :babbage

The client will sync with the first block of the given era.

Request next block.

Initial message to the server.

Once the response from this initial message is received, then the client proceeds with the appropriate syncing strategy.