Crate satsnet_primitives

source ·
Expand description

§Rust Bitcoin - primitive types.

Primitive data types that are used throughout the rust-bitcoin ecosystem.

This crate can be used in a no-std environment but requires an allocator.

Modules§

  • Provides type LockTime that implements the logic around nLockTime/OP_CHECKLOCKTIMEVERIFY.
  • Bitcoin amounts.
  • blockalloc
    Block height and interval types.
  • Implements FeeRate and assoctiated features.
  • Provides absolute and relative locktimes.
  • Bitcoin script opcodes.
  • parsealloc
    Parsing utilities.
  • Proof-of-work related integer types.
  • Provides type LockTime that implements the logic around nSequence/OP_CHECKSEQUENCEVERIFY.
  • Bitcoin transaction input sequence number.
  • Bitcoin transactions.
  • weightalloc
    Implements Weight and associated features.

Macros§

Structs§