bitcoindevkit / bdk-ffi

Please consider this project *experimental*.
Other
87 stars 39 forks source link

Add functions to get current block height and hash #151

Closed notmandatory closed 2 years ago

notmandatory commented 2 years ago

Once getting a block hash is supported in bdk then should add ability to get current block height and block hash at a given height to the Blockchain interface. These functions are needed to help support wallets that also use LDK, See https://github.com/bitcoindevkit/bdk-swift/issues/10.

Depends on:

ConorOkus commented 2 years ago

Hi @notmandatory @thunderbiscuit any idea when this might be available in the rest of the bindings?

thunderbiscuit commented 2 years ago

I think get_block_hash was merged in 0.21.0, so it's now ready to be brought in for the next release.