rgb-cln/common
W. J. van der Laan dd93f5dd29 Add missing headers for compiling on FreeBSD 13
- `netinet/in.h`: struct sockaddr_in, struct sockaddr_in6
- `unistd.h`: close()
2021-09-24 12:40:09 +09:30
..
test common/blindedpath: enctlv unwrapping primitives. 2021-09-22 09:10:34 +09:30
Makefile common/autodata: autodata replacement which uses __attribute__((constructor)) 2021-09-21 18:04:43 +02:00
addr.c addr: handle P2SH/P2PKH in scriptpubkey encoding 2019-11-13 03:31:20 +00:00
addr.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
amount.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
amount.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
autodata.c common/autodata: autodata replacement which uses __attribute__((constructor)) 2021-09-21 18:04:43 +02:00
autodata.h common/autodata: autodata replacement which uses __attribute__((constructor)) 2021-09-21 18:04:43 +02:00
base32.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
base32.h common/base32: make this a simple tal-wrapper around ccan/base32. 2018-05-10 02:28:44 +00:00
base64.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
base64.h common: remove b64_decode 2020-10-21 19:34:39 +02:00
bech32.c common/bech32: update to bech32m reference. 2021-06-11 13:54:20 +09:30
bech32.h common/bech32: update to bech32m reference. 2021-06-11 13:54:20 +09:30
bech32_util.c common/bech32_util: simple routines for checksumless bech32 charset usage. 2020-12-09 16:40:13 +10:30
bech32_util.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
bigsize.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
bigsize.h Remove varint typedef for bigsize 2020-09-23 16:30:36 +09:30
billboard.c billboard: add in billboard updates from dualopend 2021-01-10 13:44:04 +01:00
billboard.h billboard: break out common method for billboard updates 2021-01-10 13:44:04 +01:00
bip32.c wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
bip32.h wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
blindedpath.c common/blindedpath: enctlv unwrapping primitives. 2021-09-22 09:10:34 +09:30
blindedpath.h common/blindedpath: enctlv unwrapping primitives. 2021-09-22 09:10:34 +09:30
blinding.c common: add blinding helpers. 2020-04-04 16:08:49 +10:30
blinding.h common: add blinding helpers. 2020-04-04 16:08:49 +10:30
blockheight_states.c liquidity-ads: persist channel blockheight states to disk 2021-07-20 13:28:38 -04:00
blockheight_states.h liquidity-ads: persist channel blockheight states to disk 2021-07-20 13:28:38 -04:00
bolt11.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
bolt11.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
bolt11_json.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
bolt11_json.h common/bolt11_json: extract bolt11->json code. 2021-01-09 14:34:35 +10:30
bolt12.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
bolt12.h bolt12: import latest spec (timestamp -> created_at). 2021-07-21 13:27:27 -04:00
bolt12_merkle.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
bolt12_merkle.h common/bolt12: include correct bolt12 wiregen header. 2021-01-13 14:45:36 +01:00
channel_config.c struct channel_config: use amount_sat / amount_msat. 2019-02-21 08:01:37 +00:00
channel_config.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
channel_id.c df-spec: use an empty bit-set as the basepoint for chan-id at start 2021-03-09 14:55:05 +10:30
channel_id.h df-spec: use an empty bit-set as the basepoint for chan-id at start 2021-03-09 14:55:05 +10:30
channel_type.c common/channel_type: fix up bolt quotes now channel-types is merged. 2021-09-13 15:53:23 +02:00
channel_type.h common/channel_type: wrapper for generated 'struct channel_type'. 2021-09-13 15:53:23 +02:00
close_tx.c tx-psbt: pass in the witness script (if known) when adding an input 2020-06-11 13:13:13 +02:00
close_tx.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
closing_fee.h closingd: configurable closing fee negotiation step 2020-04-07 13:52:48 +09:30
coin_mvt.c cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
coin_mvt.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
configdir.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
configdir.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
crypto_state.c crypto_state: move to its own file. 2017-10-20 18:31:32 +02:00
crypto_state.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
crypto_sync.c Fix for Alpine Linux ond OpenBSD 2021-09-20 14:44:27 +02:00
crypto_sync.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
cryptomsg.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
cryptomsg.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
daemon.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
daemon.h Add missing `extern` qualifiers for gcc 10 2020-02-02 12:59:17 +10:30
daemon_conn.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
daemon_conn.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
decode_array.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
decode_array.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
derive_basepoints.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
derive_basepoints.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
descriptor_checksum.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
descriptor_checksum.h common: add a descriptor checksum computation module 2020-11-10 10:34:13 -06:00
dev_disconnect.c Fix for Alpine Linux ond OpenBSD 2021-09-20 14:44:27 +02:00
dev_disconnect.h dev_disconnect: new option to stop using connection, but don't close. 2021-06-25 13:23:28 +09:30
dijkstra.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
dijkstra.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
ecdh.h common: generalize ecdh function. 2020-04-04 16:08:49 +10:30
ecdh_hsmd.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
ecdh_hsmd.h common: generalize ecdh function. 2020-04-04 16:08:49 +10:30
errcode.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
features.c common/features: try to add all proposed feature names. 2021-09-23 15:02:05 +02:00
features.h devtools/features: tool to convert feature bitmap to names. 2021-09-23 15:02:05 +02:00
fee_states.c channeld: tweak function to allow testing for pending *uncommitted* changes. 2021-06-04 16:13:08 +09:30
fee_states.h channeld: tweak function to allow testing for pending *uncommitted* changes. 2021-06-04 16:13:08 +09:30
fp16.c common: extract fp16 routines into their own file. 2021-02-04 12:02:36 +10:30
fp16.h common: extract fp16 routines into their own file. 2021-02-04 12:02:36 +10:30
gossip_constants.h gossipd: signal whether node_ann is updated, are we starting up? 2021-07-20 13:28:38 -04:00
gossip_rcvd_filter.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
gossip_rcvd_filter.h common/gossip_rcvd_filter: cache for received gossip. 2019-09-06 14:35:01 +02:00
gossip_store.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
gossip_store.h gossip_store: make private channels more similar to channel_announcement 2020-10-21 08:58:34 +10:30
gossmap.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
gossmap.h gossmap: don't spew to stderr, include counter for callers. 2021-08-24 06:42:32 +09:30
hash_u5.c common: use tabs everywhere. 2020-02-05 14:19:12 +01:00
hash_u5.h common: use tabs everywhere. 2020-02-05 14:19:12 +01:00
hmac.c common/sphinx: don't make copy to compute packet hmac. 2020-12-11 15:51:24 +01:00
hmac.h common/sphinx: don't make copy to compute packet hmac. 2020-12-11 15:51:24 +01:00
hsm_encryption.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
hsm_encryption.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
htlc.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
htlc_state.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
htlc_state.h Fix a-vs-an typos 2018-02-08 22:49:34 +01:00
htlc_trim.c channeld, openingd: take into account option_anchor_outputs for fees. 2020-08-14 11:51:14 +09:30
htlc_trim.h channeld, openingd: take into account option_anchor_outputs for fees. 2020-08-14 11:51:14 +09:30
htlc_tx.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
htlc_tx.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
htlc_wire.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
htlc_wire.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
initial_channel.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
initial_channel.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
initial_commit_tx.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
initial_commit_tx.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
io_lock.c common/io_lock: add helper to query if lock is taken. 2018-10-19 22:02:11 +00:00
io_lock.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
iso4217.c common/iso4217: make find_iso4217 a little more usable. 2020-12-15 12:05:02 +01:00
iso4217.h common/iso4217: make find_iso4217 a little more usable. 2020-12-15 12:05:02 +01:00
json.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
json.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
json_command.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
json_helpers.c common: json_to_reply_path to helper to handle blindedpath/onion_message hook 2021-09-22 09:10:34 +09:30
json_helpers.h common: json_to_reply_path to helper to handle blindedpath/onion_message hook 2021-09-22 09:10:34 +09:30
json_stream.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
json_stream.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
json_tok.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
json_tok.h lease rates: helpers for parsing, serializing + equating lease_rates 2021-07-20 13:28:38 -04:00
jsonrpc_errors.h datastore: turn keys into arrays 2021-08-25 10:06:31 +02:00
key_derive.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
key_derive.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
keyset.c Makefile: update bolt version to include option_anchors_zero_fee_htlc_tx. 2021-09-09 12:04:48 +09:30
keyset.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
lease_rates.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
lease_rates.h common/lease_rates: more things const. 2021-07-20 13:28:38 -04:00
memleak.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
memleak.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
msg_queue.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
msg_queue.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
node_id.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
node_id.h bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
onion.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
onion.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
onionreply.c wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 2020-05-18 14:51:12 +02:00
onionreply.h common: add struct onionreply 2020-01-23 16:17:42 +10:30
overflows.h overflows: helpers for integer assignment overflows. 2021-07-20 13:28:38 -04:00
param.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
param.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
peer_billboard.c common: log at debug level when we update billboard. 2021-06-30 14:12:24 +09:30
peer_billboard.h common: peer_billboard() helper for updating the billboard. 2018-02-23 18:02:00 +01:00
peer_failed.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
peer_failed.h common: remove peer_failed in favor of peer_failed_warn/peer_failed_err 2021-02-04 12:02:52 +10:30
peer_status_wire.csv common: treat all "all-channels" errors as if they were warnings. 2021-02-04 12:02:52 +10:30
penalty_base.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
penalty_base.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
per_peer_state.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
per_peer_state.h developer: consolidiate gossip timing options into one --dev-fast-gossip. 2019-09-20 06:55:00 +00:00
permute_tx.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
permute_tx.h tx: Change permute_{inputs,outputs} to sort both old and new txs 2019-04-08 00:00:00 +00:00
ping.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
ping.h pong: embed version string into ping replies if DEVELOPER=1. 2018-02-22 12:24:26 +01:00
private_channel_announcement.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
private_channel_announcement.h gossip_store: make private channels more similar to channel_announcement 2020-10-21 08:58:34 +10:30
psbt_internal.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
psbt_internal.h dual-funding: convert to runtime flag, --experimental-dual-fund 2021-03-25 20:05:11 +10:30
psbt_open.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
psbt_open.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
pseudorand.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
pseudorand.h common: expose pseudorand_double 2019-04-16 21:22:13 +00:00
random_select.c common/random_select: central place for reservoir sampling. 2020-08-28 10:56:50 +09:30
random_select.h Apply @cdecker typo suggestions from code review 2020-08-28 10:56:50 +09:30
read_peer_msg.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
read_peer_msg.h common/read_peer_msg: don't try to handle reestablish/reopen. 2021-06-25 13:23:28 +09:30
route.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
route.h dijkstra: add chan pointer argument to path scoring. 2021-05-22 17:53:04 +09:30
setup.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
setup.h setup: create a common setup which will handle the wally-context 2020-05-19 13:35:42 +09:30
shutdown_scriptpubkey.c Makefile: update to latest spec. 2021-05-26 20:01:03 +09:30
shutdown_scriptpubkey.h Makefile: update to latest spec. 2021-05-26 20:01:03 +09:30
socket_close.c closingd: Ensure proper closing of TCP socket. 2018-05-09 04:43:21 +00:00
socket_close.h closingd: Ensure proper closing of TCP socket. 2018-05-09 04:43:21 +00:00
sphinx.c common/sphinx: add helper to prepend length to payload. 2021-09-22 06:44:26 +09:30
sphinx.h common/sphinx: add helper to prepend length to payload. 2021-09-22 06:44:26 +09:30
status.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
status.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
status_levels.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
status_levels.h common: add routines for log level names. 2020-10-23 13:53:16 +10:30
status_wire.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
status_wire.csv cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
status_wire.h status: generate messages rather than marshal/unmarshal manually. 2018-02-08 19:07:12 +01:00
subdaemon.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
subdaemon.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
timeout.c utils: remove tal_tmpctx altogether, use global. 2018-03-16 00:16:10 +00:00
timeout.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
tx_roles.h tx_roles: pull up roles, rename 2020-10-20 12:50:31 +10:30
type_to_string.c type_to_string: detect type failure in DEVELOPER mode. 2021-09-21 18:04:43 +02:00
type_to_string.h common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
utils.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
utils.h offers: make it a runtime option. 2021-01-13 14:45:36 +01:00
utxo.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
utxo.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
version.c cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
version.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
wallet.c wallet: Rip out the txtypes type in favor of enum wallet_tx_type 2019-06-08 02:58:27 +00:00
wallet.h wallet: Add transaction annotation type 2019-10-07 20:03:24 -05:00
wire_error.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
wire_error.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
wireaddr.c Add missing headers for compiling on FreeBSD 13 2021-09-24 12:40:09 +09:30
wireaddr.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30