Skip to content

Releases: sedited/rust-bitcoinkernel

v0.2.1

20 May 13:54
v0.2.1
4b51ffd

Choose a tag to compare

Added

  • Added BlockTreeEntry::ancestor to look up an ancestor block at a given height. Returns None if the height is out of range. This operation is O(log N).
  • Added Transaction::locktime() to retrieve a transaction's nLockTime value as a u32.
  • Added TxIn::sequence() to retrieve an input's nSequence value as a u32.
  • Added TryFrom<&[u8]> for BlockHeader to align with the exisitng TryFrom<&[u8]> implementation for Block.
  • Added BlockHeaderExt::consensus_encode to serialize a block header to its Bitcoin wire format, returning a fixed [u8; 80] array.
  • Added From<BlockHeader> and From<&BlockHeader> for [u8; 80] to align with existing block conversions.

Dependencies

  • The sys crate no longer uses auto-generated bindings from bindgen. This removes some build-time dependencies for this crate.

Changelog

v0.2.0

26 Jan 16:11
0eadd82

Choose a tag to compare

A release introducing more efficient script validation, and block header handling and validation.

Changelog

v0.1.1

24 Nov 21:46
f848260

Choose a tag to compare

A patch release fixing a libbitcoinkernel-sys packaging issue.

Changelog

v0.1.0

13 Nov 19:28
ae80912

Choose a tag to compare

This is a first beta release of rust-bitcoinkernel. It is based on the libbitcoinkernel library at Bitcoin Core's master@3789215f73466606eb111714f596a2a5e9bb1933.

Crate available from https://crates.io/crates/bitcoinkernel .

Documentation is at https://docs.rs/bitcoinkernel/latest/bitcoinkernel .

v0.0.2

13 Nov 12:57
6fe72f0

Choose a tag to compare

Use Arc'ed context

v0.0.1

08 Nov 20:57
930be15

Choose a tag to compare