Non-owning view over a btck_Chain, a sequence of block tree entries by height.
| Name | Description |
|---|---|
View<btck_Chain> | Non-owning view over a const C handle of type CType. |
| Name | Description |
|---|---|
ChainView [constructor] | Constructs a view over ptr. |
Contains | Tests whether an entry belongs to this chain. |
CountEntries | Returns the number of entries in the chain. |
Entries | Returns a range over all entries in the chain, ordered by height. |
GetByHeight | Returns the chain entry at a given height. |
Height | Returns the height of the chain tip. |
get | Returns the borrowed C handle. |
| Name | Description |
|---|---|
m_ptr | The borrowed C handle. |