Bitcoin Core 30.99.0
P2P Digital Currency
Public Member Functions | List of all members
btck::ChainView Class Reference

#include <bitcoinkernel_wrapper.h>

Inheritance diagram for btck::ChainView:
[legend]
Collaboration diagram for btck::ChainView:
[legend]

Public Member Functions

 ChainView (const btck_Chain *ptr)
 
BlockTreeEntry Tip () const
 
int32_t Height () const
 
int CountEntries () const
 
BlockTreeEntry Genesis () const
 
BlockTreeEntry GetByHeight (int height) const
 
bool Contains (BlockTreeEntry &entry) const
 
- Public Member Functions inherited from btck::View< btck_Chain >
 View (const btck_Chain *ptr)
 
const btck_Chainget () const
 

Additional Inherited Members

- Protected Attributes inherited from btck::View< btck_Chain >
const btck_Chainm_ptr
 

Detailed Description

Definition at line 965 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ ChainView()

btck::ChainView::ChainView ( const btck_Chain ptr)
inlineexplicit

Definition at line 968 of file bitcoinkernel_wrapper.h.

Member Function Documentation

◆ Contains()

bool btck::ChainView::Contains ( BlockTreeEntry entry) const
inline

Definition at line 997 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ CountEntries()

int btck::ChainView::CountEntries ( ) const
inline

Definition at line 980 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ Genesis()

BlockTreeEntry btck::ChainView::Genesis ( ) const
inline

Definition at line 985 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ GetByHeight()

BlockTreeEntry btck::ChainView::GetByHeight ( int  height) const
inline

Definition at line 990 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ Height()

int32_t btck::ChainView::Height ( ) const
inline

Definition at line 975 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ Tip()

BlockTreeEntry btck::ChainView::Tip ( ) const
inline

Definition at line 970 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

The documentation for this class was generated from the following file: