Bitcoin Core 30.99.0
P2P Digital Currency
Classes | Concepts | Enumerations | Functions
btck Namespace Reference

Classes

class  Block
 
class  BlockHash
 
class  BlockHashApi
 
class  BlockHashView
 
class  BlockSpentOutputs
 
class  BlockTreeEntry
 
class  BlockValidationState
 
class  ChainMan
 
class  ChainParams
 
class  ChainstateManagerOptions
 
class  ChainView
 
class  Coin
 
class  CoinApi
 
class  CoinView
 
class  Context
 
class  ContextOptions
 
class  Handle
 
struct  is_bitmask_enum
 
struct  is_bitmask_enum< ScriptVerificationFlags >
 
class  Iterator
 
class  KernelNotifications
 
class  Logger
 
class  OutPoint
 
class  OutPointApi
 
class  OutPointView
 
class  Range
 
class  ScriptPubkey
 
class  ScriptPubkeyApi
 
class  ScriptPubkeyView
 
class  Transaction
 
class  TransactionApi
 
class  TransactionInput
 
class  TransactionInputApi
 
class  TransactionInputView
 
class  TransactionOutput
 
class  TransactionOutputApi
 
class  TransactionOutputView
 
class  TransactionSpentOutputs
 
class  TransactionSpentOutputsApi
 
class  TransactionSpentOutputsView
 
class  TransactionView
 
class  Txid
 
class  TxidApi
 
class  TxidView
 
class  UniqueHandle
 
class  ValidationInterface
 
class  View
 

Concepts

concept  BitmaskEnum
 
concept  IndexedContainer
 
concept  Log
 

Enumerations

enum class  LogCategory : btck_LogCategory {
  ALL = btck_LogCategory_ALL , BENCH = btck_LogCategory_BENCH , BLOCKSTORAGE = btck_LogCategory_BLOCKSTORAGE , COINDB = btck_LogCategory_COINDB ,
  LEVELDB = btck_LogCategory_LEVELDB , MEMPOOL = btck_LogCategory_MEMPOOL , PRUNE = btck_LogCategory_PRUNE , RAND = btck_LogCategory_RAND ,
  REINDEX = btck_LogCategory_REINDEX , VALIDATION = btck_LogCategory_VALIDATION , KERNEL = btck_LogCategory_KERNEL
}
 
enum class  LogLevel : btck_LogLevel { TRACE_LEVEL = btck_LogLevel_TRACE , DEBUG_LEVEL = btck_LogLevel_DEBUG , INFO_LEVEL = btck_LogLevel_INFO }
 
enum class  ChainType : btck_ChainType {
  MAINNET = btck_ChainType_MAINNET , TESTNET = btck_ChainType_TESTNET , TESTNET_4 = btck_ChainType_TESTNET_4 , SIGNET = btck_ChainType_SIGNET ,
  REGTEST = btck_ChainType_REGTEST
}
 
enum class  SynchronizationState : btck_SynchronizationState { INIT_REINDEX = btck_SynchronizationState_INIT_REINDEX , INIT_DOWNLOAD = btck_SynchronizationState_INIT_DOWNLOAD , POST_INIT = btck_SynchronizationState_POST_INIT }
 
enum class  Warning : btck_Warning { UNKNOWN_NEW_RULES_ACTIVATED = btck_Warning_UNKNOWN_NEW_RULES_ACTIVATED , LARGE_WORK_INVALID_CHAIN = btck_Warning_LARGE_WORK_INVALID_CHAIN }
 
enum class  ValidationMode : btck_ValidationMode { VALID = btck_ValidationMode_VALID , INVALID = btck_ValidationMode_INVALID , INTERNAL_ERROR = btck_ValidationMode_INTERNAL_ERROR }
 
enum class  BlockValidationResult : btck_BlockValidationResult {
  UNSET = btck_BlockValidationResult_UNSET , CONSENSUS = btck_BlockValidationResult_CONSENSUS , CACHED_INVALID = btck_BlockValidationResult_CACHED_INVALID , INVALID_HEADER = btck_BlockValidationResult_INVALID_HEADER ,
  MUTATED = btck_BlockValidationResult_MUTATED , MISSING_PREV = btck_BlockValidationResult_MISSING_PREV , INVALID_PREV = btck_BlockValidationResult_INVALID_PREV , TIME_FUTURE = btck_BlockValidationResult_TIME_FUTURE ,
  HEADER_LOW_WORK = btck_BlockValidationResult_HEADER_LOW_WORK
}
 
enum class  ScriptVerifyStatus : btck_ScriptVerifyStatus { OK = btck_ScriptVerifyStatus_OK , ERROR_INVALID_FLAGS_COMBINATION = btck_ScriptVerifyStatus_ERROR_INVALID_FLAGS_COMBINATION , ERROR_SPENT_OUTPUTS_REQUIRED = btck_ScriptVerifyStatus_ERROR_SPENT_OUTPUTS_REQUIRED }
 
enum class  ScriptVerificationFlags : btck_ScriptVerificationFlags {
  NONE = btck_ScriptVerificationFlags_NONE , P2SH = btck_ScriptVerificationFlags_P2SH , DERSIG = btck_ScriptVerificationFlags_DERSIG , NULLDUMMY = btck_ScriptVerificationFlags_NULLDUMMY ,
  CHECKLOCKTIMEVERIFY = btck_ScriptVerificationFlags_CHECKLOCKTIMEVERIFY , CHECKSEQUENCEVERIFY = btck_ScriptVerificationFlags_CHECKSEQUENCEVERIFY , WITNESS = btck_ScriptVerificationFlags_WITNESS , TAPROOT = btck_ScriptVerificationFlags_TAPROOT ,
  ALL = btck_ScriptVerificationFlags_ALL
}
 

Functions

template<BitmaskEnum T>
constexpr T operator| (T lhs, T rhs)
 
template<BitmaskEnum T>
constexpr T operator& (T lhs, T rhs)
 
template<BitmaskEnum T>
constexpr T operator^ (T lhs, T rhs)
 
template<BitmaskEnum T>
constexpr T operator~ (T value)
 
template<BitmaskEnum T>
constexpr T & operator|= (T &lhs, T rhs)
 
template<BitmaskEnum T>
constexpr T & operator&= (T &lhs, T rhs)
 
template<BitmaskEnum T>
constexpr T & operator^= (T &lhs, T rhs)
 
template<typename T >
check (T ptr)
 
template<typename T >
std::vector< std::byte > write_bytes (const T *object, int(*to_bytes)(const T *, btck_WriteBytes, void *))
 
void logging_disable ()
 
void logging_set_options (const btck_LoggingOptions &logging_options)
 
void logging_set_level_category (LogCategory category, LogLevel level)
 
void logging_enable_category (LogCategory category)
 
void logging_disable_category (LogCategory category)
 

Enumeration Type Documentation

◆ BlockValidationResult

Enumerator
UNSET 
CONSENSUS 
CACHED_INVALID 
INVALID_HEADER 
MUTATED 
MISSING_PREV 
INVALID_PREV 
TIME_FUTURE 
HEADER_LOW_WORK 

Definition at line 69 of file bitcoinkernel_wrapper.h.

◆ ChainType

enum class btck::ChainType : btck_ChainType
strong
Enumerator
MAINNET 
TESTNET 
TESTNET_4 
SIGNET 
REGTEST 

Definition at line 44 of file bitcoinkernel_wrapper.h.

◆ LogCategory

enum class btck::LogCategory : btck_LogCategory
strong
Enumerator
ALL 
BENCH 
BLOCKSTORAGE 
COINDB 
LEVELDB 
MEMPOOL 
PRUNE 
RAND 
REINDEX 
VALIDATION 
KERNEL 

Definition at line 24 of file bitcoinkernel_wrapper.h.

◆ LogLevel

enum class btck::LogLevel : btck_LogLevel
strong
Enumerator
TRACE_LEVEL 
DEBUG_LEVEL 
INFO_LEVEL 

Definition at line 38 of file bitcoinkernel_wrapper.h.

◆ ScriptVerificationFlags

Enumerator
NONE 
P2SH 
DERSIG 
NULLDUMMY 
CHECKLOCKTIMEVERIFY 
CHECKSEQUENCEVERIFY 
WITNESS 
TAPROOT 
ALL 

Definition at line 87 of file bitcoinkernel_wrapper.h.

◆ ScriptVerifyStatus

Enumerator
OK 
ERROR_INVALID_FLAGS_COMBINATION 
ERROR_SPENT_OUTPUTS_REQUIRED 

Definition at line 81 of file bitcoinkernel_wrapper.h.

◆ SynchronizationState

Enumerator
INIT_REINDEX 
INIT_DOWNLOAD 
POST_INIT 

Definition at line 52 of file bitcoinkernel_wrapper.h.

◆ ValidationMode

Enumerator
VALID 
INVALID 
INTERNAL_ERROR 

Definition at line 63 of file bitcoinkernel_wrapper.h.

◆ Warning

enum class btck::Warning : btck_Warning
strong
Enumerator
UNKNOWN_NEW_RULES_ACTIVATED 
LARGE_WORK_INVALID_CHAIN 

Definition at line 58 of file bitcoinkernel_wrapper.h.

Function Documentation

◆ check()

template<typename T >
T btck::check ( ptr)

Definition at line 156 of file bitcoinkernel_wrapper.h.

Here is the caller graph for this function:

◆ logging_disable()

void btck::logging_disable ( )
inline

Definition at line 737 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ logging_disable_category()

void btck::logging_disable_category ( LogCategory  category)
inline

Definition at line 757 of file bitcoinkernel_wrapper.h.

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

◆ logging_enable_category()

void btck::logging_enable_category ( LogCategory  category)
inline

Definition at line 752 of file bitcoinkernel_wrapper.h.

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

◆ logging_set_level_category()

void btck::logging_set_level_category ( LogCategory  category,
LogLevel  level 
)
inline

Definition at line 747 of file bitcoinkernel_wrapper.h.

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

◆ logging_set_options()

void btck::logging_set_options ( const btck_LoggingOptions logging_options)
inline

Definition at line 742 of file bitcoinkernel_wrapper.h.

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

◆ operator&()

template<BitmaskEnum T>
constexpr T btck::operator& ( lhs,
rhs 
)
constexpr

Definition at line 118 of file bitcoinkernel_wrapper.h.

◆ operator&=()

template<BitmaskEnum T>
constexpr T & btck::operator&= ( T &  lhs,
rhs 
)
constexpr

Definition at line 144 of file bitcoinkernel_wrapper.h.

◆ operator^()

template<BitmaskEnum T>
constexpr T btck::operator^ ( lhs,
rhs 
)
constexpr

Definition at line 125 of file bitcoinkernel_wrapper.h.

◆ operator^=()

template<BitmaskEnum T>
constexpr T & btck::operator^= ( T &  lhs,
rhs 
)
constexpr

Definition at line 150 of file bitcoinkernel_wrapper.h.

◆ operator|()

template<BitmaskEnum T>
constexpr T btck::operator| ( lhs,
rhs 
)
constexpr

Definition at line 111 of file bitcoinkernel_wrapper.h.

◆ operator|=()

template<BitmaskEnum T>
constexpr T & btck::operator|= ( T &  lhs,
rhs 
)
constexpr

Definition at line 138 of file bitcoinkernel_wrapper.h.

◆ operator~()

template<BitmaskEnum T>
constexpr T btck::operator~ ( value)
constexpr

Definition at line 132 of file bitcoinkernel_wrapper.h.

◆ write_bytes()

template<typename T >
std::vector< std::byte > btck::write_bytes ( const T *  object,
int(*)(const T *, btck_WriteBytes, void *)  to_bytes 
)

Definition at line 266 of file bitcoinkernel_wrapper.h.

Here is the caller graph for this function: