core-lightning/bitcoin
Rusty Russell 4ffda340d3 check: make sure all files outside contrib/ include "config.h" first.
And turn "" includes into full-path (which makes it easier to put
config.h first, and finds some cases check-includes.sh missed
previously).

config.h sets _GNU_SOURCE which really needs to be done before any
'#includes': we mainly got away with it with glibc, but other platforms
like Alpine may have stricter requirements.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-12-06 10:05:39 +10:30
..
test check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
address.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
base58.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
base58.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
block.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
block.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
chainparams.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
chainparams.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
feerate.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
feerate.h feerate: remove duplicate method 2020-10-20 14:27:19 +10:30
locktime.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
locktime.h Remove unused functions not covered by unit tests 2018-03-26 23:35:56 +00:00
Makefile Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
preimage.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
preimage.h wire: move towire/fromwire_preimage out to bitcoin/preimage.c. 2020-05-18 14:51:12 +02:00
privkey.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
privkey.h wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
psbt.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
psbt.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
pubkey.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
pubkey.h BOLT12: use point32 instead of pubkey32. 2021-10-08 13:47:30 +02:00
README Fix typo. 2015-06-25 13:48:05 +09:30
script.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
script.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
shadouble.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
shadouble.h wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
short_channel_id.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
short_channel_id.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
signature.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
signature.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
tx_parts.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
tx_parts.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
tx.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
tx.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
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.