rgb-cln/daemon
Christian Decker 2a5a114f27 irc: Handle node announcements
lightningd now uses a WHOIS query on itself to learn its external IP
address and announces that on the channel with the NODE message. It also
tracks other nodes in the routing table.

Refactored the signature verification to reuse it for both CHAN and NODE
messages.
2016-10-02 14:52:14 +02:00
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test getinfo: add version information 2016-09-14 05:28:51 +09:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
Makefile routing: Wiring in the IRC peer discovery 2016-09-07 23:49:39 +02:00
bitcoind.c bitcoind: keep running fee estimate. 2016-08-18 14:23:46 +09:30
bitcoind.h chaintopology: only report active chaintip. 2016-07-07 13:36:39 +09:30
chaintopology.c routing: Added IRC announcement glue 2016-09-07 23:49:39 +02:00
chaintopology.h routing: Added IRC announcement glue 2016-09-07 23:49:39 +02:00
channel.c peer: give more sensible error if anchor is too large. 2016-09-13 12:40:32 +09:30
channel.h peer: give more sensible error if anchor is too large. 2016-09-13 12:40:32 +09:30
commit_tx.c Use "msatoshi" not "msatoshis" everywhere. 2016-09-06 16:47:49 +09:30
commit_tx.h channel: remove enum channel_side, rename htlc_side to side. 2016-08-31 16:06:32 +09:30
configdir.c daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
configdir.h daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
controlled_time.c daemon: rename all the low-level commands to dev- 2016-09-06 16:47:49 +09:30
controlled_time.h daemon: test restarting. 2016-08-18 14:25:14 +09:30
cryptopkt.c log: add easy way to log hex blobs. 2016-08-31 16:06:32 +09:30
cryptopkt.h peer: do logging before crypto is on. 2016-08-31 16:06:31 +09:30
db.c db: always call db_update_our_closing in a transaction. 2016-09-06 16:47:49 +09:30
db.h db: always call db_update_our_closing in a transaction. 2016-09-06 16:47:49 +09:30
dns.c dns: don't allow non-stream sockets. 2016-01-22 06:41:49 +10:30
dns.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
failure.c htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
failure.h htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
feechange.c db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
feechange.h db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
feechange_state.h daemon: handle feechange requests. 2016-08-26 15:31:19 +09:30
htlc.c db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
htlc.h db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
htlc_state.h db.c: database API. 2016-08-18 14:25:13 +09:30
invoice.c db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
invoice.h db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
irc_announce.c irc: Handle node announcements 2016-10-02 14:52:14 +02:00
irc_announce.h routing: Added IRC announcement glue 2016-09-07 23:49:39 +02:00
json.c getroute: add a risk factor. 2016-09-06 16:47:48 +09:30
json.h getroute: add a risk factor. 2016-09-06 16:47:48 +09:30
jsonrpc.c log/jsonrpc: getlog was returning invalid JSON. 2016-09-19 14:10:44 +02:00
jsonrpc.h daemon: rename all the low-level commands to dev- 2016-09-06 16:47:49 +09:30
lightning-cli.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
lightningd.c getinfo: new RPC command 2016-09-13 03:37:07 +09:30
lightningd.h irc: Handle node announcements 2016-10-02 14:52:14 +02:00
log.c Use "msatoshi" not "msatoshis" everywhere. 2016-09-06 16:47:49 +09:30
log.h log: add channel_state logging ability. 2016-08-31 16:06:32 +09:30
netaddr.c peer: keep addresses separately from peers. 2016-08-18 14:25:14 +09:30
netaddr.h peer: keep addresses separately from peers. 2016-08-18 14:25:14 +09:30
onion.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
onion.h pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
opt_time.c daemon: test restarting. 2016-08-18 14:25:14 +09:30
opt_time.h daemon: test restarting. 2016-08-18 14:25:14 +09:30
output_to_htlc.c channel: remove enum channel_side, rename htlc_side to side. 2016-08-31 16:06:32 +09:30
output_to_htlc.h channel: remove enum channel_side, rename htlc_side to side. 2016-08-31 16:06:32 +09:30
packets.c peer: give more sensible error if anchor is too large. 2016-09-13 12:40:32 +09:30
packets.h db: Always fail HTLC inside a transaction. 2016-09-02 12:02:18 +09:30
pay.c getroute: add a risk factor. 2016-09-06 16:47:48 +09:30
pay.h db: save and restore "sendpay" commands. 2016-09-05 13:29:48 +09:30
peer.c peer: do not send anchor depth input twice. 2016-09-13 15:26:44 +09:30
peer.h db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
pseudorand.c daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
pseudorand.h daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
routing.c irc: Add contact information to nodes 2016-10-02 14:30:25 +02:00
routing.h irc: Add contact information to nodes 2016-10-02 14:30:25 +02:00
secrets.c db.c: database API. 2016-08-18 14:25:13 +09:30
secrets.h db.c: database API. 2016-08-18 14:25:13 +09:30
timeout.c timeout: make all timers one-shot. 2016-05-10 06:26:09 +09:30
timeout.h timeout: make all timers one-shot. 2016-05-10 06:26:09 +09:30
wallet.c peer: save/load results in database. 2016-08-18 14:25:14 +09:30
wallet.h db.c: database API. 2016-08-18 14:25:13 +09:30
watch.c watch: make it easier for them to self-delete. 2016-07-01 12:00:17 +09:30
watch.h watch: make it easier for them to self-delete. 2016-07-01 12:00:17 +09:30