Crate follow_chains
source ยทExpand description
This example shows how to use the chain follower to follow all chains, until they have all reached tip. It will report on how many blocks for each chain exist between eras, and also how long each chain took to reach its tip.
Constantsยง
- The interval between showing a block, even if nothing else changed.
Functionsยง
- follow_
for ๐Try and follow a chain continuously, from Genesis until Tip. - log_
bad_ ๐cip36_ info Helper function for logging bad CIP36. - log_
cip509_ ๐info Helper function for logging CIP509 validation. - main ๐
- process_
argument ๐Process our CLI Arguments - start_
sync_ ๐for Start syncing a particular network - Helper function for updating the biggest aux data.