This PR adds a new block_headers.parent_hash column.
This means fetching the parent hash from storage no longer requires access to the parent's header. In particular, this is helpful for p2p header sync where we wish to sync backwards which meant the parent header wasn't necessarily present.
This PR adds a new
block_headers.parent_hash
column.This means fetching the parent hash from storage no longer requires access to the parent's header. In particular, this is helpful for p2p header sync where we wish to sync backwards which meant the parent header wasn't necessarily present.