You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rusty Russell d5cb0d85b5 utils: use a cleaner pattern to capture wally allocations. 4 years ago
..
test utils: use a cleaner pattern to capture wally allocations. 4 years ago
Makefile build: exclude dualopend from non-experimental builds 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 common/amount: fix OpenBSD compile warning. 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(). 6 years ago
base32.h common/base32: make this a simple tal-wrapper around ccan/base32. 7 years ago
base64.c Init commit to be able to create a tor static service on the fly. 5 years ago
base64.h Init commit to be able to create a tor static service on the fly. 5 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(). 6 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. 4 years ago
bigsize.h Remove varint typedef for bigsize 4 years ago
bip32.c wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
bip32.h wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
blinding.c common: add blinding helpers. 5 years ago
blinding.h common: add blinding helpers. 5 years ago
bolt11.c hsmd: convert to new wire generation style. 4 years ago
bolt11.h cleanup: make 'u8 *features' and 'struct feature_set *fset' more explicit. 5 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) 5 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 4 years ago
close_tx.h tx-psbt: pass in the witness script (if known) when adding an input 4 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 memleak: make "_notleak" names less powerful. 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 5 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. 4 years ago
derive_basepoints.c developer: add --dev-force-channel-secrets. 5 years ago
derive_basepoints.h developer: add --dev-force-channel-secrets. 5 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/dijkstra: routine to calculate shortest/cheapest path. 4 years ago
dijkstra.h common/dijkstra: routine to calculate shortest/cheapest path. 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 dualfund: add feature flag for dual-funding 4 years ago
features.h dualfund: add feature flag for dual-funding 4 years ago
fee_states.c wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
fee_states.h df: rename 'funder' to 'opener' 5 years ago
gossip_constants.h gossipd: prune channels unless *both* peers have refreshed. 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 channeld: tell gossipd what the features are for our local channels. 5 years ago
gossmap.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 4 years ago
gossmap.h common/gossmap: helper to map the gossip store. 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 common: absorb remaining files from daemon/ 7 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: add "json-to-psbt" helper 4 years ago
json_helpers.h json: add "json-to-psbt" helper 4 years ago
json_stream.c common/json_stream.c: Implement a `json_add_jsonstr` to add already-JSON strings to `json_stream` objects. 5 years ago
json_stream.h common/json_stream.c: Implement a `json_add_jsonstr` to add already-JSON strings to `json_stream` objects. 5 years ago
json_tok.c json_command: command_fail_badparam helper. 4 years ago
json_tok.h common: hoist param_bitcoin_address where plugins can use it. 4 years ago
jsonrpc_errors.h delpay: code style changes and fixed docs 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. 4 years ago
node_id.h wire: move remaining bitcoin functions out to bitcoin/ files. 4 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 4 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. 4 years ago
peer_status_wiregen.c update SHA256STAMPs using sorted dependencies 4 years ago
peer_status_wiregen.h update SHA256STAMPs using sorted dependencies 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 4 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
psbt_open.c utils: use a cleaner pattern to capture wally allocations. 4 years ago
psbt_open.h bitcoin/psbt: psbt_input_add_unknown/psbt_output_add_unknown needs a tal ctx. 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/route: routing helpers built on gossmap and dijksra. 4 years ago
route.h Apply @cdecker typo suggestions from code review 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 4 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.h status: separate types for peer failure vs "impossible" failures. 7 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. 4 years ago
status_wire.h status: generate messages rather than marshal/unmarshal manually. 7 years ago
status_wiregen.c update SHA256STAMPs using sorted dependencies 4 years ago
status_wiregen.h update SHA256STAMPs using sorted dependencies 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
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 4 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: Remove gen_version.h from ALL_GEN_HEADERS. 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 5 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. 6 years ago
wireaddr.c common: use tabs everywhere. 5 years ago
wireaddr.h common/wireaddr: don't include lightningd/lightningd. 5 years ago