Get the last inserted masterchain block from the masterchain hashtable.
Insert a new masterchain block into the masterchain hashtable.
Insert new shardchain blocks into the shardchains hashtable.
Process a shardchain block in the sharchains hashtable.
Clean up the hashtables.