Skip to content

Commit

Permalink
Adjust comments to Buckets after PR-1556 (erigontech#1566)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaLanfranchi authored and sam committed Apr 5, 2021
1 parent 2ed1487 commit 2882e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/dbutils/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ var (
HeaderNumberBucket = "H" // headerNumberPrefix + hash -> num (uint64 big endian)

HeaderCanonicalBucket = "canonical_headers" // block_num_u64 -> header hash
HeadersBucket = "headers" // block_num_u64 + hash -> header
HeaderTDBucket = "header_to_td" // block_num_u64 + hash + headerTDSuffix -> td
HeadersBucket = "headers" // block_num_u64 + hash -> header (RLP)
HeaderTDBucket = "header_to_td" // block_num_u64 + hash -> td (RLP)

BlockBodyPrefix = "b" // block_num_u64 + hash -> block body
EthTx = "eth_tx" // tbl_sequence_u64 -> rlp(tx)
Expand Down

0 comments on commit 2882e03

Please sign in to comment.