core-lightning/daemon
Christian Decker 95bc8f6987 gossip: Removing origin from staggered broadcast
Keeping a pointer to the peer that initially sent us a message
could (actually will!) result in dangling pointers. Removing this
results in some additional messages, which will be discarded by the
recipient, so that should not be a problem.
2017-01-03 15:08:05 +10:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test test: make generic driver for unit tests. 2016-12-02 18:10:13 +10:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
bitcoind.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
bitcoind.h bitcoind_sendrawtx: hand error code to callback. 2016-11-07 23:00:02 +10:30
chaintopology.c gossip: Tracking tx index in topology 2017-01-03 15:08:05 +10:30
chaintopology.h broadcast_tx: add optional failed callback. 2016-11-07 23:01:02 +10:30
channel.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10: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 global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
commit_tx.h channel: remove enum channel_side, rename htlc_side to side. 2016-08-31 16:06:32 +09:30
configdir.c config: different defaults for mainnet and testnet. 2016-10-07 14:00:18 +10:30
configdir.h config: different defaults for mainnet and testnet. 2016-10-07 14:00:18 +10:30
cryptopkt.c Fix -Wgnu-variable-sized-type-not-at-end 2016-12-14 08:41:30 +01:00
cryptopkt.h peer: do logging before crypto is on. 2016-08-31 16:06:31 +09:30
db.c Fix -Wenum-conversion 2016-12-14 08:43:48 +01:00
db.h Fix -Wenum-conversion 2016-12-14 08:43:48 +01:00
dns.c dns: simplify code by reaping dns child as soon as we have answers. 2016-11-04 11:17:03 +10:30
dns.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
failure.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
failure.h Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
feechange_state.h daemon: handle feechange requests. 2016-08-26 15:31:19 +09:30
feechange.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
feechange.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
htlc_state.h db.c: database API. 2016-08-18 14:25:13 +09:30
htlc.c db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
htlc.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
invoice.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
invoice.h db: save error, return it when we commit transaction. 2016-09-06 16:47:49 +09:30
irc_announce.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
irc_announce.h routing: Added IRC announcement glue 2016-09-07 23:49:39 +02:00
json.c daemon/json, test/test_protocol: avoid gcc -O warnings. 2016-12-15 11:49:51 +10:30
json.h Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
jsonrpc.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
jsonrpc.h controlled_time: remove 2016-11-09 18:54:15 +10:30
lightning-cli.c opt, utils: new arg for wrappers due to low-level tal change. 2016-11-09 18:56:38 +10:30
lightningd.c gossip: Implemented the staggered broadcast 2017-01-03 15:08:05 +10:30
lightningd.h gossip: Implemented the staggered broadcast 2017-01-03 15:08:05 +10:30
log.c Fix -Wtautological-constant-out-of-range-compare 2016-12-14 08:47:21 +01:00
log.h Fix -Wtautological-constant-out-of-range-compare 2016-12-14 08:47:21 +01:00
Makefile gossip: Broadcasting and handling gossip messages 2017-01-03 15:08:05 +10:30
names.c names: move into daemon/ 2016-11-09 08:04:27 +10:30
names.h names: move into daemon/ 2016-11-09 08:04:27 +10:30
netaddr.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
netaddr.h peer: keep addresses separately from peers. 2016-08-18 14:25:14 +09:30
opt_time.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10: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
p2p_announce.c gossip: Removing origin from staggered broadcast 2017-01-03 15:08:05 +10:30
p2p_announce.h gossip: Broadcasting and handling gossip messages 2017-01-03 15:08:05 +10:30
packets.c proto: Added handling for nested packets 2017-01-03 15:08:05 +10:30
packets.h proto: Added handling for nested packets 2017-01-03 15:08:05 +10:30
pay.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
pay.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
peer.c gossip: Implemented routing table sync with newly connected peers 2017-01-03 15:08:05 +10:30
peer.h proto: Added handling for nested packets 2017-01-03 15:08:05 +10:30
pseudorand.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
pseudorand.h daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
routing.c gossip: Implemented routing table sync with newly connected peers 2017-01-03 15:08:05 +10:30
routing.h gossip: Implemented routing table sync with newly connected peers 2017-01-03 15:08:05 +10:30
secrets.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
secrets.h routing: Added channel_id and directions to connections 2017-01-03 15:08:05 +10:30
sphinx.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
sphinx.h Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
state_types.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
state.h state.h state_types.h: move into daemon/ 2016-11-09 08:04:27 +10:30
timeout.c timers: use time_mono, as that's what ccan/timers now wants. 2016-11-09 18:56:15 +10:30
timeout.h timeout: remove absolute timers. 2016-11-09 18:53:15 +10:30
wallet.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
wallet.h wallet: use pubkey as API, not pointer. 2016-11-09 08:04:28 +10:30
watch.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
watch.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30