Schema

SchemaV1

class eth.db.schema.SchemaV1
static make_block_hash_to_score_lookup_key(block_hash: Hash32) bytes

Return the lookup key to retrieve the score from a block hash.

static make_block_number_to_hash_lookup_key(block_number: BlockNumber) bytes

Return the lookup key to retrieve a block hash from a block number.

static make_canonical_head_hash_lookup_key() bytes

Return the lookup key to retrieve the canonical head from the database.

static make_chain_gaps_lookup_key() bytes
static make_checkpoint_headers_key() bytes

Checkpoint header hashes stored as concatenated 32 byte values

static make_header_chain_gaps_lookup_key() bytes

Return the lookup key to retrieve the header chain integrity info from the database.

static make_transaction_hash_to_block_lookup_key(transaction_hash: Hash32) bytes

Return the lookup key to retrieve a transaction key from a transaction hash.

static make_withdrawal_hash_to_block_lookup_key(withdrawal_hash: Hash32) bytes

Return the lookup key to retrieve a withdrawal key from a withdrawal hash.