cln/bitcoin
Rusty Russell bf5ee2a6b6 common: add helpers for bitcoin blockids.
Like bitcoin_txid, they are special backwards-printed snowflakes.

Thanks Obama!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-05-11 15:51:05 +09:30
..
test common: add helpers for bitcoin blockids. 2026-05-11 15:51:05 +09:30
address.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
base58.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
base58.h bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
block.c common: add helpers for bitcoin blockids. 2026-05-11 15:51:05 +09:30
block.h common: add helpers for bitcoin blockids. 2026-05-11 15:51:05 +09:30
chainparams.c Remove litecoin support. 2025-10-26 20:31:45 +10:30
chainparams.h Fix incorrect hex value for Signet port 2024-02-16 15:54:29 +01:00
feerate.c lightningd: clarify uses of dynamic (mempool) feerate floor, and static. 2023-04-10 07:31:12 +09:30
feerate.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
locktime.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
locktime.h bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
Makefile Makefiles: remove redundant dependencies, and have objects depend on their Makefile. 2025-10-23 06:44:04 +10:30
preimage.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
preimage.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
privkey.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
privkey.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
psbt.c common: implement tal_arr_append and tal_arr_appendn, and use them. 2026-05-11 13:51:52 +09:30
psbt.h splice: Fix weight calculations & use opening feerate 2026-03-21 07:28:30 +10:00
pubkey.c secp256k1 pubkey constant fix 2024-11-17 10:55:28 +10:30
pubkey.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
README Fix typo. 2015-06-25 13:48:05 +09:30
script.c common: implement tal_arr_append and tal_arr_appendn, and use them. 2026-05-11 13:51:52 +09:30
script.h Fix C comments which will accidentally trigger Python BOLT quote checker. 2026-04-30 12:17:43 +09:30
shadouble.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
shadouble.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
short_channel_id.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
short_channel_id.h BOLT quotes: split cross-section quotes; prepare for new ... semantics. 2026-04-30 12:17:43 +09:30
signature.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
signature.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
tx.c bitcoin/tx.c: use 330 sat dust limit for P2TR/P2WPKH change outputs Fixes #8395 2026-05-08 21:08:41 +09:30
tx.h tx: make bitcoin_tx_output_get_amount_sat() return amount_sat. 2026-03-23 09:22:04 +10:30
tx_parts.c tx_parts: use wally to clone tx inputs 2024-02-21 12:01:33 +01:00
tx_parts.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
varint.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
varint.h varint: Add helper function for getting varlen size 2019-10-10 05:57:45 +00:00

These are standard bitcoin manipulation routines which should be
provided by any normal bitcoin library in whatever language you choose.

The ones here are standalone ones taken from bitcoin core and some I
wrote, many taken from bitcoin-iterate and pasted in here.