rgb-cln/lightningd
Rusty Russell 8f190c673c channel: don't send disable update to gossipd if we haven't announced channel yet.
Valgrind error file: /tmp/lightning-8k06jbb3/test_disconnect/lightning-7/valgrind-errors
==32307== Uninitialised byte(s) found during client check request
==32307==    at 0x11EBAD: memcheck_ (mem.h:247)
==32307==    by 0x11EC18: towire (towire.c:14)
==32307==    by 0x11EF19: towire_short_channel_id (towire.c:92)
==32307==    by 0x12203E: towire_channel_update (gen_peer_wire.c:918)
==32307==    by 0x1148D4: send_channel_update (channel.c:185)
==32307==    by 0x1175C5: peer_conn_broken (channel.c:1010)
==32307==    by 0x13186F: destroy_conn (poll.c:173)
==32307==    by 0x13188F: destroy_conn_close_fd (poll.c:179)
==32307==    by 0x13B279: notify (tal.c:235)
==32307==    by 0x13B721: del_tree (tal.c:395)
==32307==    by 0x13BB3A: tal_free (tal.c:504)
==32307==    by 0x130522: io_close (io.c:415)
==32307==  Address 0xffefff87d is on thread 1's stack
==32307==  in frame #2, created by towire_short_channel_id (towire.c:88)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-05-25 14:24:47 +09:30
..
channel channel: don't send disable update to gossipd if we haven't announced channel yet. 2017-05-25 14:24:47 +09:30
gossip gossip: handle release race. 2017-05-25 14:24:47 +09:30
handshake lightningd/gossip: Move INIT message handling to handshake daemon. 2017-05-25 14:24:47 +09:30
hsm lightningd/utxo: helpers to translate from utxo * <-> utxo ** 2017-05-25 14:24:47 +09:30
opening peer_control: always keep gossip_client_fd. 2017-05-25 14:24:47 +09:30
test struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
.gitignore Update .gitignore files. 2017-05-12 12:59:09 +02:00
Makefile lightningd/peer_control: don't create peer struct until we've connected. 2017-05-25 14:24:47 +09:30
build_utxos.c bitcoin/script: rename bitcoin_redeem_p2wpkh -> bitcoin_redeem_p2sh_p2wpkh 2017-03-07 11:35:48 +10:30
build_utxos.h lightningd/funding_tx: fill in scriptsigs for p2sh UTXOs. 2017-03-07 11:31:55 +10:30
channel.c sphinx: Updating daemon to new sphinx implementation 2017-05-02 11:47:52 +02:00
channel.h sphinx: Updating daemon to new sphinx implementation 2017-05-02 11:47:52 +02:00
channel_config.c lightningd: fix minimum depth. 2017-04-12 09:09:19 -07:00
channel_config.h lightningd: fix minimum depth. 2017-04-12 09:09:19 -07:00
commit_tx.c lightningd/commit_tx: support for printing out actual tx fees. 2017-03-07 16:19:11 +10:30
commit_tx.h lightningd/commit_tx: don't segv on NULL htlcmap. 2017-02-24 16:22:56 +10:30
crypto_sync.c status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
crypto_sync.h crypto_sync: synchronous routines for inter-peer crypto. 2017-02-21 15:15:29 +10:30
cryptomsg.c struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
cryptomsg.h struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
daemon_conn.c lightningd/msg_queue: rename msg_is_fd to msg_extract_fd 2017-03-20 07:50:53 +10:30
daemon_conn.h lightningd/connection: rename to lightningd/daemon_conn 2017-03-20 07:50:53 +10:30
debug.c lightningd: --dev-debugger=<subdaemon> 2017-02-24 16:22:56 +10:30
debug.h lightningd: --dev-debugger=<subdaemon> 2017-02-24 16:22:56 +10:30
derive_basepoints.c derive_basepoints: make arguments optional. 2017-05-25 14:24:47 +09:30
derive_basepoints.h derive_basepoints: make arguments optional. 2017-05-25 14:24:47 +09:30
dev_newhtlc.c lightningd: introduce peer_state enum. 2017-05-25 14:24:47 +09:30
dev_ping.c sphinx: Updating daemon to new sphinx implementation 2017-05-02 11:47:52 +02:00
funding_tx.c lightningd/funding_tx: fix no-change-needed case. 2017-05-25 14:24:47 +09:30
funding_tx.h lightningd/funding_tx: output number is 16 bit. 2017-03-07 11:33:24 +10:30
gossip_control.c subd: use array of fd pointers, not fds, and use take(). 2017-05-25 14:24:47 +09:30
gossip_control.h lightningd/lightningd: wire up lightningd_gossip. 2017-01-10 15:38:33 +10:30
gossip_msg.c routing: Cleaning up old hostname and port handling 2017-05-10 12:37:44 +09:30
gossip_msg.h routing: Cleaning up old hostname and port handling 2017-05-10 12:37:44 +09:30
hsm_control.c subd: use array of fd pointers, not fds, and use take(). 2017-05-25 14:24:47 +09:30
hsm_control.h lightningd/lightningd: start HSM at initialization time. 2017-01-10 15:38:33 +10:30
htlc_end.c lightningd/htlc_end: fix key for stricter compiler. 2017-04-02 09:36:29 +09:30
htlc_end.h struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
htlc_tx.c bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 2017-03-07 16:16:59 +10:30
htlc_tx.h bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 2017-03-07 16:16:59 +10:30
key_derive.c struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
key_derive.h struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
lightningd.c bitcoind: Respect testnet for bitcoin-cli 2017-05-20 19:59:16 +09:30
lightningd.h struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
msg_queue.c lightningd/msg_queue: add msg_wake helper. 2017-04-25 22:00:28 +02:00
msg_queue.h lightningd/msg_queue: add msg_wake helper. 2017-04-25 22:00:28 +02:00
new_connection.c subd: use array of fd pointers, not fds, and use take(). 2017-05-25 14:24:47 +09:30
new_connection.h lightningd: set up reconnect timer if we don't want to forget peer. 2017-05-25 14:24:47 +09:30
pay.c struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
pay.h lightning/pay: fix missing include. 2017-04-03 06:07:56 +09:30
peer_control.c peer_control: always keep gossip_client_fd. 2017-05-25 14:24:47 +09:30
peer_control.h openingd: fundee: don't send watch command to master. 2017-05-25 14:24:47 +09:30
peer_failed.c lightningd: peer_fail helper to fail/reconnect peer. 2017-05-25 14:24:47 +09:30
peer_failed.h lightningd/peer_failed: helper to send PKT_ERR and exit daemon. 2017-02-24 16:22:55 +10:30
peer_state.h openingd: fundee: don't send watch command to master. 2017-05-25 14:24:47 +09:30
ping.c lightningd: add dev_ping command for channeld. 2017-04-25 22:00:28 +02:00
ping.h lightningd/ping: ping support. 2017-04-25 22:00:28 +02:00
sphinx.c struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
sphinx.h struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
status.c lightningd/status: reuse wire code for sending status. 2017-03-20 07:50:53 +10:30
status.h lightningd/status: support daemon_conn for status_trace and status_failed. 2017-03-20 07:50:53 +10:30
subd.c subd: use array of fd pointers, not fds, and use take(). 2017-05-25 14:24:47 +09:30
subd.h subd: use array of fd pointers, not fds, and use take(). 2017-05-25 14:24:47 +09:30
utxo.c lightningd/utxo: helpers to translate from utxo * <-> utxo ** 2017-05-25 14:24:47 +09:30
utxo.h lightningd/utxo: helpers to translate from utxo * <-> utxo ** 2017-05-25 14:24:47 +09:30