Non‐owning view over a btck_Chain, a sequence of block tree entries by height.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
class ChainView
: public View<btck_Chain>
Base Classes
Name |
Description |
Non‐owning view over a const C handle of type |
Member Functions
Name |
Description |
|
Constructs a view over |
Tests whether an entry belongs to this chain. |
|
Returns the number of entries in the chain. |
|
Returns a range over all entries in the chain, ordered by height. |
|
Returns the chain entry at a given height. |
|
Returns the height of the chain tip. |
|
Returns the borrowed C handle. |
Protected Data Members
Name |
Description |
The borrowed C handle. |
Created with MrDocs