The location of a transaction: the sequence number of the block that contains it and the transaction's serialized byte offset from the start of that block (including the header), so the on‐disk position is simply block_data_pos + tx_offset_in_block.
Synopsis
Declared in <index/txindex_key.h>
struct BlockTxPosition;
Data Members
Name |
Description |
Sequence number of the block that contains the transaction. |
|
Byte offset of the transaction from the start of the block, including the header. |
Static Data Members
Name |
Description |
Number of bytes used to encode tx_offset_in_block on disk (3‐byte big‐endian). |
Friends
Name |
Description |
Compare two positions for equality by block sequence and offset. |
Created with MrDocs