..
test
chore: fixes a cppcheck false positive
4 years ago
Makefile
Makefile: add status_levels.c to $(COMMON_SRC_NOGEN)
4 years ago
addr.c
addr: handle P2SH/P2PKH in scriptpubkey encoding
5 years ago
addr.h
common: use tabs everywhere.
5 years ago
amount.c
amount: correctly parse amount strings we generate
4 years ago
amount.h
amount: add amount_msat_scale, amount_msat_ratio, amount_{msat,sat}_div
4 years ago
base32.c
Remove tal_len, use tal_count() or tal_bytelen().
7 years ago
base32.h
common/base32: make this a simple tal-wrapper around ccan/base32.
7 years ago
base64.c
common: remove b64_decode
4 years ago
base64.h
common: remove b64_decode
4 years ago
bech32.c
bech32: fix overflow bug.
6 years ago
bech32.h
Use expected LIGHTNING_DIR_FILE_H define
7 years ago
bech32_util.c
Remove tal_len, use tal_count() or tal_bytelen().
7 years ago
bech32_util.h
common: Moving some bech32 related utilities to bech32_util
7 years ago
bigsize.c
wire: update to latest version of the spec.
5 years ago
bigsize.h
Remove varint typedef for bigsize
4 years ago
bip32.c
wire: move remaining bitcoin functions out to bitcoin/ files.
5 years ago
bip32.h
wire: move remaining bitcoin functions out to bitcoin/ files.
5 years ago
blinding.c
common: add blinding helpers.
5 years ago
blinding.h
common: add blinding helpers.
5 years ago
bolt11.c
bolt11: have caller supply preferred chain.
4 years ago
bolt11.h
bolt11: have caller supply preferred chain.
4 years ago
channel_config.c
struct channel_config: use amount_sat / amount_msat.
6 years ago
channel_config.h
bolt: update to BOLT spec changes (extract format + type specifications)
6 years ago
channel_id.c
channel_id: add v2 channel_id derivtion helper
4 years ago
channel_id.h
channel_id: add v2 channel_id derivtion helper
4 years ago
close_tx.c
tx-psbt: pass in the witness script (if known) when adding an input
5 years ago
close_tx.h
tx-psbt: pass in the witness script (if known) when adding an input
5 years ago
closing_fee.h
closingd: configurable closing fee negotiation step
5 years ago
coin_mvt.c
channel_id: save to database, dont derive from funding_txid
4 years ago
coin_mvt.h
channel_id: save to database, dont derive from funding_txid
4 years ago
configdir.c
doc: reorder --mainnet before --testnet
4 years ago
configdir.h
config: explicitly disallow nonsensical options.
5 years ago
crypto_state.c
crypto_state: move to its own file.
7 years ago
crypto_state.h
crypto_state: move to its own file.
7 years ago
crypto_sync.c
common: allow subdaemons to specify the node_id in status messages.
5 years ago
crypto_sync.h
common/per_per_state: generalize lightningd/peer_comm Part 1
6 years ago
cryptomsg.c
transition from status_trace() to status_debug
5 years ago
cryptomsg.h
common/cryptomsg: remove unused async routines.
6 years ago
daemon.c
utils: use a cleaner pattern to capture wally allocations.
4 years ago
daemon.h
Add missing `extern` qualifiers for gcc 10
5 years ago
daemon_conn.c
status: suppress status_trace/status_debug messages if queue too long.
6 years ago
daemon_conn.h
status: suppress status_trace/status_debug messages if queue too long.
6 years ago
decode_array.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
decode_array.h
wire: update to latest version of the spec.
5 years ago
derive_basepoints.c
developer: add --dev-force-channel-secrets.
6 years ago
derive_basepoints.h
developer: add --dev-force-channel-secrets.
6 years ago
dev_disconnect.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
dev_disconnect.h
Add DEVELOPER flag, set by default.
7 years ago
dijkstra.c
common: cleanups suggested by Christian Decker's review.
4 years ago
dijkstra.h
dijkstra: fix heap ordering.
4 years ago
ecdh.h
common: generalize ecdh function.
5 years ago
ecdh_hsmd.c
hsmd: convert to new wire generation style.
4 years ago
ecdh_hsmd.h
common: generalize ecdh function.
5 years ago
errcode.h
Use dedicated type for error codes
5 years ago
features.c
features: add 'feature_bit_sub', which will subtract/unset bits
4 years ago
features.h
features: add 'feature_bit_sub', which will subtract/unset bits
4 years ago
fee_states.c
wire: move remaining bitcoin functions out to bitcoin/ files.
5 years ago
fee_states.h
df: rename 'funder' to 'opener'
5 years ago
gossip_constants.h
libplugin-pay: incorporate gossip store.
4 years ago
gossip_rcvd_filter.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
gossip_rcvd_filter.h
common/gossip_rcvd_filter: cache for received gossip.
5 years ago
gossip_store.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
gossip_store.h
gossip_store: make private channels more similar to channel_announcement
4 years ago
gossmap.c
gossmap: fix reutrn of gossmap_xxx_has_feature, rename.
4 years ago
gossmap.h
gossmap: fix reutrn of gossmap_xxx_has_feature, rename.
4 years ago
hash_u5.c
common: use tabs everywhere.
5 years ago
hash_u5.h
common: use tabs everywhere.
5 years ago
hmac.c
common: new file hmac for hmac calculation.
5 years ago
hmac.h
common: new file hmac for hmac calculation.
5 years ago
htlc.h
Remove unused functions not covered by unit tests
7 years ago
htlc_state.c
Makefile: unify generated files definition.
4 years ago
htlc_state.h
Fix a-vs-an typos
7 years ago
htlc_trim.c
channeld, openingd: take into account option_anchor_outputs for fees.
4 years ago
htlc_trim.h
channeld, openingd: take into account option_anchor_outputs for fees.
4 years ago
htlc_tx.c
doc: update BOLT now option_anchor_outputs is merged.
4 years ago
htlc_tx.h
doc: update BOLT now option_anchor_outputs is merged.
4 years ago
htlc_wire.c
Makefile: use generic rules to make spec-derived sources.
4 years ago
htlc_wire.h
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
initial_channel.c
channel_id: save to database, dont derive from funding_txid
4 years ago
initial_channel.h
channel_id: save to database, dont derive from funding_txid
4 years ago
initial_commit_tx.c
doc: update BOLT now option_anchor_outputs is merged.
4 years ago
initial_commit_tx.h
openingd: pull out check_configs into a common place
4 years ago
io_lock.c
common/io_lock: add helper to query if lock is taken.
6 years ago
io_lock.h
common: use tabs everywhere.
5 years ago
json.c
json_add_tok: simplify, don't try to canonicalize.
4 years ago
json.h
common: make json_parse_input API retry friendly.
4 years ago
json_command.h
json_command: command_fail_badparam helper.
4 years ago
json_helpers.c
json nit: use const for json_add_psbt
4 years ago
json_helpers.h
json nit: use const for json_add_psbt
4 years ago
json_stream.c
common/json_stream: add generic double-cr helper.
4 years ago
json_stream.h
common/json_stream: add generic double-cr helper.
4 years ago
json_tok.c
common: pull up `param_psbt`
4 years ago
json_tok.h
common: pull up `param_psbt`
4 years ago
jsonrpc_errors.h
df-open: use channel_id for openchannel_update and openchannel_signed
4 years ago
key_derive.c
doc: update BOLT now option_anchor_outputs is merged.
4 years ago
key_derive.h
headers: fix up header idempotent lines.
7 years ago
keyset.c
doc: update BOLT now option_anchor_outputs is merged.
4 years ago
keyset.h
derive_keyset: don't rotate key for remote iff option_static_remotekey.
5 years ago
memleak.c
common/memleak: simplify and document API.
4 years ago
memleak.h
common/memleak: simplify and document API.
4 years ago
msg_queue.c
common: tal_dup_talarr() helper.
5 years ago
msg_queue.h
status: suppress status_trace/status_debug messages if queue too long.
6 years ago
node_id.c
wire: move remaining bitcoin functions out to bitcoin/ files.
5 years ago
node_id.h
wire: move remaining bitcoin functions out to bitcoin/ files.
5 years ago
onion.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
onion.h
common/onion: add blinding and enctlv encoding.
5 years ago
onionreply.c
wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c
5 years ago
onionreply.h
common: add struct onionreply
5 years ago
overflows.h
The overflow check mul_overflows_s64(int64_t, int64_t) overflows and triggers UB :-) Remove it
7 years ago
param.c
common: tal_dup_talarr() helper.
5 years ago
param.h
common: use tabs everywhere.
5 years ago
peer_billboard.c
common: convert to new wire generation style.
4 years ago
peer_billboard.h
common: peer_billboard() helper for updating the billboard.
7 years ago
peer_failed.c
common: convert to new wire generation style.
4 years ago
peer_failed.h
channeld: treat all incoming errors as "soft", so we retry.
5 years ago
peer_status_wire.csv
common/channel_id: move channel_id into its own file.
5 years ago
peer_status_wiregen.c
wires: towire/fromwire for wally_tx
4 years ago
peer_status_wiregen.h
wires: towire/fromwire for wally_tx
4 years ago
penalty_base.c
amount: use initializers everywhere.
4 years ago
penalty_base.h
watchtower: Add a struct containing the penalty base information
5 years ago
per_peer_state.c
Move gossip_constants.h into common/
5 years ago
per_peer_state.h
developer: consolidiate gossip timing options into one --dev-fast-gossip.
5 years ago
permute_tx.c
psbt: remove input_amounts from bitcoin tx
5 years ago
permute_tx.h
tx: Change permute_{inputs,outputs} to sort both old and new txs
6 years ago
ping.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
ping.h
pong: embed version string into ping replies if DEVELOPER=1.
7 years ago
private_channel_announcement.c
gossip_store: make private channels more similar to channel_announcement
4 years ago
private_channel_announcement.h
gossip_store: make private channels more similar to channel_announcement
4 years ago
psbt_internal.c
df: incorporate a few spec changes -- serial_id is now 64-bits
4 years ago
psbt_internal.h
df: finalize redeemscript at the same time as witness stack
4 years ago
psbt_open.c
df: incorporate a few spec changes -- serial_id is now 64-bits
4 years ago
psbt_open.h
df: incorporate a few spec changes -- serial_id is now 64-bits
4 years ago
pseudorand.c
common: expose pseudorand_double
6 years ago
pseudorand.h
common: expose pseudorand_double
6 years ago
random_select.c
common/random_select: central place for reservoir sampling.
4 years ago
random_select.h
Apply @cdecker typo suggestions from code review
4 years ago
read_peer_msg.c
Makefile: use generic rules to make spec-derived sources.
4 years ago
read_peer_msg.h
channeld: treat all incoming errors as "soft", so we retry.
5 years ago
route.c
common: cleanups suggested by Christian Decker's review.
4 years ago
route.h
route: return NULL if destination is unreachable.
4 years ago
setup.c
utils: use a cleaner pattern to capture wally allocations.
4 years ago
setup.h
setup: create a common setup which will handle the wally-context
5 years ago
socket_close.c
closingd: Ensure proper closing of TCP socket.
7 years ago
socket_close.h
closingd: Ensure proper closing of TCP socket.
7 years ago
sphinx.c
Makefile: use generic rules to make spec-derived sources.
4 years ago
sphinx.h
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
status.c
Makefile: use generic rules to make spec-derived sources.
4 years ago
status.h
common: allow subdaemons to specify the node_id in status messages.
5 years ago
status_levels.c
common: add routines for log level names.
4 years ago
status_levels.h
common: add routines for log level names.
4 years ago
status_wire.c
status: generate messages rather than marshal/unmarshal manually.
7 years ago
status_wire.csv
wire: move remaining bitcoin functions out to bitcoin/ files.
5 years ago
status_wire.h
status: generate messages rather than marshal/unmarshal manually.
7 years ago
status_wiregen.c
wires: towire/fromwire for wally_tx
4 years ago
status_wiregen.h
wires: towire/fromwire for wally_tx
4 years ago
subdaemon.c
common: allow subdaemons to specify the node_id in status messages.
5 years ago
subdaemon.h
common: reduce header differences for DEVELOPER vs non-DEVELOPER.
5 years ago
timeout.c
utils: remove tal_tmpctx altogether, use global.
7 years ago
timeout.h
headers: fix up header idempotent lines.
7 years ago
tx_roles.h
tx_roles: pull up roles, rename
4 years ago
type_to_string.c
type_to_string: return const char *.
6 years ago
type_to_string.h
wally-tx: add type-to-string for a wally-tx
5 years ago
utils.c
utils: use a cleaner pattern to capture wally allocations.
4 years ago
utils.h
utils: use a cleaner pattern to capture wally allocations.
4 years ago
utxo.c
common: remove funding_tx.
4 years ago
utxo.h
utxo: expose is_reserved, make enum constants upper case.
4 years ago
version.c
Makefile: unify generated files definition.
4 years ago
version.h
Onboarding: Make log output texts friendlier to new users
7 years ago
wallet.c
wallet: Rip out the txtypes type in favor of enum wallet_tx_type
6 years ago
wallet.h
wallet: Add transaction annotation type
5 years ago
wire_error.c
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
4 years ago
wire_error.h
common: fix up BOLT 1 references.
7 years ago
wireaddr.c
common: use tabs everywhere.
5 years ago
wireaddr.h
common/wireaddr: don't include lightningd/lightningd.
5 years ago