Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
btck Namespace Reference

Classes

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

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 Toperator|= (T &lhs, T rhs)
template<BitmaskEnum T>
constexpr Toperator&= (T &lhs, T rhs)
template<BitmaskEnum T>
constexpr Toperator^= (T &lhs, T rhs)
template<typename T>
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 70 of file bitcoinkernel_wrapper.h.

◆ ChainType

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

Definition at line 45 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 25 of file bitcoinkernel_wrapper.h.

◆ LogLevel

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

Definition at line 39 of file bitcoinkernel_wrapper.h.

◆ ScriptVerificationFlags

Enumerator
NONE 
P2SH 
DERSIG 
NULLDUMMY 
CHECKLOCKTIMEVERIFY 
CHECKSEQUENCEVERIFY 
WITNESS 
TAPROOT 
ALL 

Definition at line 88 of file bitcoinkernel_wrapper.h.

◆ ScriptVerifyStatus

Enumerator
OK 
ERROR_INVALID_FLAGS_COMBINATION 
ERROR_SPENT_OUTPUTS_REQUIRED 

Definition at line 82 of file bitcoinkernel_wrapper.h.

◆ SynchronizationState

Enumerator
INIT_REINDEX 
INIT_DOWNLOAD 
POST_INIT 

Definition at line 53 of file bitcoinkernel_wrapper.h.

◆ ValidationMode

Enumerator
VALID 
INVALID 
INTERNAL_ERROR 

Definition at line 64 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 59 of file bitcoinkernel_wrapper.h.

Function Documentation

◆ check()

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

Definition at line 157 of file bitcoinkernel_wrapper.h.

Here is the caller graph for this function:

◆ logging_disable()

void btck::logging_disable ( )
inline

Definition at line 808 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 828 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 823 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 818 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 813 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>
T btck::operator& ( T lhs,
T rhs )
constexpr

Definition at line 119 of file bitcoinkernel_wrapper.h.

◆ operator&=()

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

Definition at line 145 of file bitcoinkernel_wrapper.h.

◆ operator^()

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

Definition at line 126 of file bitcoinkernel_wrapper.h.

◆ operator^=()

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

Definition at line 151 of file bitcoinkernel_wrapper.h.

◆ operator|()

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

Definition at line 112 of file bitcoinkernel_wrapper.h.

◆ operator|=()

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

Definition at line 139 of file bitcoinkernel_wrapper.h.

◆ operator~()

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

Definition at line 133 of file bitcoinkernel_wrapper.h.

◆ write_bytes()

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

Definition at line 267 of file bitcoinkernel_wrapper.h.

Here is the caller graph for this function: