Casino
Implement:
CasinoGossipEngine, a wrapper over newGossipEngineinstance that upon receivingNth block starts gossiping an estimate of a timestamp in blockN+Kth.NandKare parameters (might be hardcoded). We want to run the casino just once.CasinoBlockImportthat implementsBlockImporttrait. Custom block importer should send all info toCasinoGssipEnginerequired for gossiping logic. Use crate sp_timestamp as a source of timestamps.
Relevant substrate parts:
pallet template as a baseline for the solution.
Last updated
Was this helpful?