Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
blockindex.cpp File Reference
#include <blockindex.h>
#include <tinyformat.h>
Include dependency graph for blockindex.cpp:

Go to the source code of this file.

Functions

static int InvertLowestOne (int n)
 Turn the lowest '1' bit in the binary representation of a number into a '0'.
 
static int GetSkipHeight (int height)
 Compute what height to jump back to with the CBlockIndex::pskip pointer.
 

Function Documentation

◆ GetSkipHeight()

static int GetSkipHeight ( int  height)
inlinestatic

Compute what height to jump back to with the CBlockIndex::pskip pointer.

Definition at line 16 of file blockindex.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InvertLowestOne()

static int InvertLowestOne ( int  n)
inlinestatic

Turn the lowest '1' bit in the binary representation of a number into a '0'.

Definition at line 11 of file blockindex.cpp.

Here is the caller graph for this function: