Database key for an index entry looked up by block height.
Synopsis
Declared in <index/db_key.h>
struct DBHeightKey;
Member Functions
Name |
Description |
|
Construct a height key for the given block height. |
Serialize the key as a prefix byte followed by the big‐endian height. |
|
Read the key back, verifying the prefix and decoding the height. |