lukso-network / lukso-orchestrator

Orchestrating the dance of vanguard and pandora.
Apache License 2.0
6 stars 7 forks source link

Save pandora block header in cache and header hash in DB #23

Closed atif-konasl closed 3 years ago

atif-konasl commented 3 years ago

Overview

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:

DB Operations