When orchestrator gets pending block header from pandora client, it needs to be stored into cache and hash and status(pending) will be stored in db and cache. When that header gets validated and confirmed, then the status will be changed to pending to verified and update header hash and status into db(slot -> (headerHash, status)).
Implementation Overview
Cache Operations:
Add block header into cache.
Get status of the header from cache using slot number.
Get header from cache using slot number for performing consensus task.
Update header status into cache.
DB Operations
Add verified header hash and status into DB(slot -> (headerHash, status))
Overview
When
orchestrator
gets pending block header frompandora
client, it needs to be stored into cache and hash and status(pending
) will be stored in db and cache. When that header gets validated and confirmed, then the status will be changed topending
toverified
and update header hash and status into db(slot -> (headerHash, status)
).Implementation Overview
Cache Operations:
DB Operations
slot -> (headerHash, status)
)