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 001b5d6416 offers: make it a runtime option. 4 years ago
..
test common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 4 years ago
Makefile offers: make it a runtime option. 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: make fmt_amount_sat / fmt_amount_msat etc take copy. 4 years ago
amount.h common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 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 common/bech32_util: simple routines for checksumless bech32 charset usage. 4 years ago
bech32_util.h common/bech32_util: simple routines for checksumless bech32 charset usage. 4 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
billboard.c billboard: add in billboard updates from dualopend 4 years ago
billboard.h billboard: break out common method for billboard updates 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
blindedpath.c common/blindedpath: fix type of enctlv. 4 years ago
blindedpath.h offers: make it a runtime option. 4 years ago
blinding.c common: add blinding helpers. 5 years ago
blinding.h common: add blinding helpers. 5 years ago
bolt11.c common/bolt11_json: extract bolt11->json code. 4 years ago
bolt11.h bolt11: expose routine to parse bolt11 string except signature. 4 years ago
bolt11_json.c common/bolt11_json: extract bolt11->json code. 4 years ago
bolt11_json.h common/bolt11_json: extract bolt11->json code. 4 years ago
bolt12.c decode: new generic API to decode bolt11 and bolt12. 4 years ago
bolt12.h common/bolt12: include correct bolt12 wiregen header. 4 years ago
bolt12_merkle.c hsmd: code to sign bolt12 messages with a tweaked key. 4 years ago
bolt12_merkle.h common/bolt12: include correct bolt12 wiregen header. 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 temp_channel_id: move to common 4 years ago
channel_id.h temp_channel_id: move to common 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 common: change default network to mainnet for all 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 common/daemon: remove notifiers on root at cleanup. 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
descriptor_checksum.c common: add a descriptor checksum computation module 4 years ago
descriptor_checksum.h common: add a descriptor checksum computation module 4 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 lightningd: control onion messages by `experimental-onion-messages` option. 4 years ago
features.h lightningd: control onion messages by `experimental-onion-messages` option. 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: helper to try to map x-only nodeid into 33-byte pubkey id. 4 years ago
gossmap.h gossmap: helper to try to map x-only nodeid into 33-byte pubkey id. 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/sphinx: don't make copy to compute packet hmac. 4 years ago
hmac.h common/sphinx: don't make copy to compute packet hmac. 4 years ago
hsm_encryption.c hsmd: regroup hsm_secret decryption logic 4 years ago
hsm_encryption.h hsmd: regroup hsm_secret decryption logic 4 years ago
htlc.h htlc.h: move NUM_SIDES to define, not enum member 4 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 common/sphinx: make TOTAL_PACKET_SIZE a macro. 4 years ago
htlc_wire.h common/sphinx: make TOTAL_PACKET_SIZE a macro. 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
iso4217.c common/iso4217: make find_iso4217 a little more usable. 4 years ago
iso4217.h common/iso4217: make find_iso4217 a little more usable. 4 years ago
json.c offers: make it a runtime option. 4 years ago
json.h common/json: make json_scan return an error string. 4 years ago
json_command.h json_command: command_fail_badparam helper. 4 years ago
json_helpers.c decode: new generic API to decode bolt11 and bolt12. 4 years ago
json_helpers.h decode: new generic API to decode bolt11 and bolt12. 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/json_tok: minor cleanup to bitcoin_outpoint array parsing. 4 years ago
json_tok.h json: Add two param functions to parse string arrs and outpoint arrs 4 years ago
jsonrpc_errors.h plugins/fetchinvoice: handle sendinvoice timeout, error or payment. 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 bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 4 years ago
node_id.h bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 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 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 add a note to "unknown parameter" error about -k autodetect failure. 4 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 tools/generate-wire.py: include digits in #ifndef idempotent header. 4 years ago
peer_status_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 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 common/private_channel_announcement: don't include wire/peer_wiregen directly 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 mfc-psbt: mark all of our inputs as "ours", then only sign those 4 years ago
psbt_open.h mfc-psbt: mark all of our inputs as "ours", then only sign those 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 common: check for outstanding taken() pointers in common_shutdown. 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 common/sphinx: remove assertion that onions we parse must be 1366 bytes. 4 years ago
sphinx.h common/sphinx: make onionpacket.routinginfo a dynamic member. 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 tools/generate-wire.py: include digits in #ifndef idempotent header. 4 years ago
status_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 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 bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 4 years ago
utils.c common/utils: simple utf8 helpers. 4 years ago
utils.h offers: make it a runtime option. 4 years ago
utxo.c fundpsbt/utxopsbt: new `min_witness_weight` param 4 years ago
utxo.h fundpsbt/utxopsbt: new `min_witness_weight` param 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