Crate bitcoinkernel

Source

Structs§

Enums§

  • A granular reason why a block was invalid.
  • The ChainType used to configure the kernel Context.
  • A collection of errors emitted by this library
  • Warning state emitted by the kernel warning notification.
  • A collection of errors that may occur during script verification
  • The current synch state, i.e. whether in reindex, ibd, or complete. Emitted by the block tip notification.
  • Whether a validated data structure is valid, invalid, or an error was encountered during processing.

Constants§

Traits§

  • Exposes the result after validating a block.
  • The chain’s tip was updated to the provided block hash.
  • An un-recoverable system error was encountered by the library.
  • An error was encountered when flushing data to disk.
  • A new best block header was added.
  • A function for handling log messages produced by the kernel library.
  • Reports on the current synchronization progress.
  • A warning state issued by the kernel during validation.
  • A previous condition leading to the issuance of a warning is no longer given.

Functions§

  • Permanently disable logging and stop buffering.
  • Verifies a transaction input against its corresponding output script.