Expand description
Raw FFI bindings to libbitcoinkernel.
For documentation on the underlying API, refer to the upstream C header: https://github.com/bitcoin/bitcoin/blob/master/src/kernel/bitcoinkernel.h
Structs§
- btck_
Block - btck_
Block Hash - btck_
Block Header - btck_
Block Spent Outputs - btck_
Block Tree Entry - btck_
Block Validation State - btck_
Chain - btck_
Chain Parameters - btck_
Chainstate Manager - btck_
Chainstate Manager Options - btck_
Coin - btck_
Consensus Params - btck_
Context - btck_
Context Options - btck_
Logging Connection - btck_
Logging Options - btck_
Notification Interface Callbacks - btck_
Precomputed Transaction Data - btck_
Script Pubkey - btck_
Transaction - btck_
Transaction Input - btck_
Transaction OutPoint - btck_
Transaction Output - btck_
Transaction Spent Outputs - btck_
Txid - btck_
Validation Interface Callbacks
Constants§
- btck_
Block Validation Result_ CACHED_ INVALID - btck_
Block Validation Result_ CONSENSUS - btck_
Block Validation Result_ HEADER_ LOW_ WORK - btck_
Block Validation Result_ INVALID_ HEADER - btck_
Block Validation Result_ INVALID_ PREV - btck_
Block Validation Result_ MISSING_ PREV - btck_
Block Validation Result_ MUTATED - btck_
Block Validation Result_ TIME_ FUTURE - btck_
Block Validation Result_ UNSET - btck_
Chain Type_ MAINNET - btck_
Chain Type_ REGTEST - btck_
Chain Type_ SIGNET - btck_
Chain Type_ TESTNET - btck_
Chain Type_ TESTNET_ 4 - btck_
LogCategory_ ALL - btck_
LogCategory_ BENCH - btck_
LogCategory_ BLOCKSTORAGE - btck_
LogCategory_ COINDB - btck_
LogCategory_ KERNEL - btck_
LogCategory_ LEVELDB - btck_
LogCategory_ MEMPOOL - btck_
LogCategory_ PRUNE - btck_
LogCategory_ RAND - btck_
LogCategory_ REINDEX - btck_
LogCategory_ VALIDATION - btck_
LogLevel_ DEBUG - btck_
LogLevel_ INFO - btck_
LogLevel_ TRACE - btck_
Script Verification Flags_ ALL - btck_
Script Verification Flags_ CHECKLOCKTIMEVERIFY - btck_
Script Verification Flags_ CHECKSEQUENCEVERIFY - btck_
Script Verification Flags_ DERSIG - btck_
Script Verification Flags_ NONE - btck_
Script Verification Flags_ NULLDUMMY - btck_
Script Verification Flags_ P2SH - btck_
Script Verification Flags_ TAPROOT - btck_
Script Verification Flags_ WITNESS - btck_
Script Verify Status_ ERROR_ INVALID_ FLAGS_ COMBINATION - btck_
Script Verify Status_ ERROR_ SPENT_ OUTPUTS_ REQUIRED - btck_
Script Verify Status_ OK - btck_
Synchronization State_ INIT_ DOWNLOAD - btck_
Synchronization State_ INIT_ REINDEX - btck_
Synchronization State_ POST_ INIT - btck_
Validation Mode_ INTERNAL_ ERROR - btck_
Validation Mode_ INVALID - btck_
Validation Mode_ VALID - btck_
Warning_ LARGE_ WORK_ INVALID_ CHAIN - btck_
Warning_ UNKNOWN_ NEW_ RULES_ ACTIVATED
Functions§
- btck_
block_ ⚠check - btck_
block_ ⚠copy - btck_
block_ ⚠count_ transactions - btck_
block_ ⚠create - btck_
block_ ⚠destroy - btck_
block_ ⚠get_ hash - btck_
block_ ⚠get_ header - btck_
block_ ⚠get_ transaction_ at - btck_
block_ ⚠hash_ copy - btck_
block_ ⚠hash_ create - btck_
block_ ⚠hash_ destroy - btck_
block_ ⚠hash_ equals - btck_
block_ ⚠hash_ to_ bytes - btck_
block_ ⚠header_ copy - btck_
block_ ⚠header_ create - btck_
block_ ⚠header_ destroy - btck_
block_ ⚠header_ get_ bits - btck_
block_ ⚠header_ get_ hash - btck_
block_ ⚠header_ get_ nonce - btck_
block_ ⚠header_ get_ prev_ hash - btck_
block_ ⚠header_ get_ timestamp - btck_
block_ ⚠header_ get_ version - btck_
block_ ⚠header_ to_ bytes - btck_
block_ ⚠read - btck_
block_ ⚠spent_ outputs_ copy - btck_
block_ ⚠spent_ outputs_ count - btck_
block_ ⚠spent_ outputs_ destroy - btck_
block_ ⚠spent_ outputs_ get_ transaction_ spent_ outputs_ at - btck_
block_ ⚠spent_ outputs_ read - btck_
block_ ⚠to_ bytes - btck_
block_ ⚠tree_ entry_ equals - btck_
block_ ⚠tree_ entry_ get_ ancestor - btck_
block_ ⚠tree_ entry_ get_ block_ hash - btck_
block_ ⚠tree_ entry_ get_ block_ header - btck_
block_ ⚠tree_ entry_ get_ height - btck_
block_ ⚠tree_ entry_ get_ previous - btck_
block_ ⚠validation_ state_ copy - btck_
block_ ⚠validation_ state_ create - btck_
block_ ⚠validation_ state_ destroy - btck_
block_ ⚠validation_ state_ get_ block_ validation_ result - btck_
block_ ⚠validation_ state_ get_ validation_ mode - btck_
chain_ ⚠contains - btck_
chain_ ⚠get_ by_ height - btck_
chain_ ⚠get_ height - btck_
chain_ ⚠parameters_ copy - btck_
chain_ ⚠parameters_ create - btck_
chain_ ⚠parameters_ destroy - btck_
chain_ ⚠parameters_ get_ consensus_ params - btck_
chainstate_ ⚠manager_ create - btck_
chainstate_ ⚠manager_ destroy - btck_
chainstate_ ⚠manager_ get_ active_ chain - btck_
chainstate_ ⚠manager_ get_ best_ entry - btck_
chainstate_ ⚠manager_ get_ block_ tree_ entry_ by_ hash - btck_
chainstate_ ⚠manager_ import_ blocks - btck_
chainstate_ ⚠manager_ options_ create - btck_
chainstate_ ⚠manager_ options_ destroy - btck_
chainstate_ ⚠manager_ options_ set_ wipe_ dbs - btck_
chainstate_ ⚠manager_ options_ set_ worker_ threads_ num - btck_
chainstate_ ⚠manager_ options_ update_ block_ tree_ db_ in_ memory - btck_
chainstate_ ⚠manager_ options_ update_ chainstate_ db_ in_ memory - btck_
chainstate_ ⚠manager_ process_ block - btck_
chainstate_ ⚠manager_ process_ block_ header - btck_
coin_ ⚠confirmation_ height - btck_
coin_ ⚠copy - btck_
coin_ ⚠destroy - btck_
coin_ ⚠get_ output - btck_
coin_ ⚠is_ coinbase - btck_
context_ ⚠copy - btck_
context_ ⚠create - btck_
context_ ⚠destroy - btck_
context_ ⚠interrupt - btck_
context_ ⚠options_ create - btck_
context_ ⚠options_ destroy - btck_
context_ ⚠options_ set_ chainparams - btck_
context_ ⚠options_ set_ notifications - btck_
context_ ⚠options_ set_ validation_ interface - btck_
logging_ ⚠connection_ create - btck_
logging_ ⚠connection_ destroy - btck_
logging_ ⚠disable - btck_
logging_ ⚠disable_ category - btck_
logging_ ⚠enable_ category - btck_
logging_ ⚠set_ level_ category - btck_
logging_ ⚠set_ options - btck_
precomputed_ ⚠transaction_ data_ copy - btck_
precomputed_ ⚠transaction_ data_ create - btck_
precomputed_ ⚠transaction_ data_ destroy - btck_
script_ ⚠pubkey_ copy - btck_
script_ ⚠pubkey_ create - btck_
script_ ⚠pubkey_ destroy - btck_
script_ ⚠pubkey_ to_ bytes - btck_
script_ ⚠pubkey_ verify - btck_
transaction_ ⚠copy - btck_
transaction_ ⚠count_ inputs - btck_
transaction_ ⚠count_ outputs - btck_
transaction_ ⚠create - btck_
transaction_ ⚠destroy - btck_
transaction_ ⚠get_ input_ at - btck_
transaction_ ⚠get_ locktime - btck_
transaction_ ⚠get_ output_ at - btck_
transaction_ ⚠get_ txid - btck_
transaction_ ⚠input_ copy - btck_
transaction_ ⚠input_ destroy - btck_
transaction_ ⚠input_ get_ out_ point - btck_
transaction_ ⚠input_ get_ sequence - btck_
transaction_ ⚠out_ point_ copy - btck_
transaction_ ⚠out_ point_ destroy - btck_
transaction_ ⚠out_ point_ get_ index - btck_
transaction_ ⚠out_ point_ get_ txid - btck_
transaction_ ⚠output_ copy - btck_
transaction_ ⚠output_ create - btck_
transaction_ ⚠output_ destroy - btck_
transaction_ ⚠output_ get_ amount - btck_
transaction_ ⚠output_ get_ script_ pubkey - btck_
transaction_ ⚠spent_ outputs_ copy - btck_
transaction_ ⚠spent_ outputs_ count - btck_
transaction_ ⚠spent_ outputs_ destroy - btck_
transaction_ ⚠spent_ outputs_ get_ coin_ at - btck_
transaction_ ⚠to_ bytes - btck_
txid_ ⚠copy - btck_
txid_ ⚠destroy - btck_
txid_ ⚠equals - btck_
txid_ ⚠to_ bytes
Type Aliases§
- btck_
Block Check Flags - btck_
Block Validation Result - btck_
Chain Type - btck_
Destroy Callback - btck_
LogCallback - btck_
LogCategory - btck_
LogLevel - btck_
Notify Block Tip - btck_
Notify Fatal Error - btck_
Notify Flush Error - btck_
Notify Header Tip - btck_
Notify Progress - btck_
Notify Warning Set - btck_
Notify Warning Unset - btck_
Script Verification Flags - btck_
Script Verify Status - btck_
Synchronization State - btck_
Validation Interface Block Checked - btck_
Validation Interface Block Connected - btck_
Validation Interface Block Disconnected - btck_
Validation Interface PoWValid Block - btck_
Validation Mode - btck_
Warning - btck_
Write Bytes