View Source Xogmios.ChainSync.Messages (xogmios v0.8.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.

Initial message to the server.

Syncs with a particular mainnet era bound.

Request next block.

Request first block which preceeds the initial rollback received as a response from Ogmios.

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.

Initial message to the server.

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

Link to this function

last_block_from(era_name)

View Source

Syncs with a particular mainnet era bound.

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

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

Request next block.

Request first block which preceeds the initial rollback received as a response from Ogmios.