Database key for an index entry looked up by block height.
Declared in <index/db_key.h>
struct DBHeightKey;
| Name | Description |
|---|---|
DBHeightKey [constructor] | Construct a height key for the given block height. |
Serialize | Serialize the key as a prefix byte followed by the big-endian height. |
Unserialize | Read the key back, verifying the prefix and decoding the height. |
| Name | Description |
|---|---|
height | Block height this key refers to. |