core-lightning/daemon
Christian Decker d87ca4121d routing: Returning channel_id to getroute requests
The new onion uses the `channel_id` instead of the `node_id` of the
next hop to identify where to forward the payment. So we return the
exact channel chosen by the routing algo, to avoid having to look it
up again later.
2017-05-02 11:47:52 +02:00
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test tests: run valgrind on children. 2017-04-12 09:09:19 -07:00
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
bitcoind.c daemon/bitcoind: wean off struct lightningd_state. 2017-03-02 22:51:49 +10:30
bitcoind.h daemon/bitcoind: wean off struct lightningd_state. 2017-03-02 22:51:49 +10:30
broadcast.c broadcast: Implement replacing messages in the broadcast queue 2017-02-03 05:52:11 +10:30
broadcast.h broadcast: Implement replacing messages in the broadcast queue 2017-02-03 05:52:11 +10:30
chaintopology.c test_lightningd.py: helper to sync blockheight. 2017-05-02 11:46:46 +02:00
chaintopology.h struct topology -> struct chain_topology 2017-03-02 22:51:49 +10:30
channel.c daemon: disable old BOLT checks. 2017-01-04 14:09:20 +10:30
channel.h htlc: move enum side crom daemon/channel.h to daemon/htlc.h 2017-02-02 14:48:00 +10:30
commit_tx.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
commit_tx.h htlc: move enum side crom daemon/channel.h to daemon/htlc.h 2017-02-02 14:48:00 +10: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 a double-free bug in the negotiation phase 2017-04-24 05:17:13 +00:00
cryptopkt.h peer: do logging before crypto is on. 2016-08-31 16:06:31 +09:30
db.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
db.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
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 daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
feechange.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
htlc_state.c daemon/htlc_state: split off from daemon/htlc. 2017-02-02 14:48:00 +10:30
htlc_state.h db.c: database API. 2016-08-18 14:25:13 +09:30
htlc.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
htlc.h htlc: move enum side crom daemon/channel.h to daemon/htlc.h 2017-02-02 14:48:00 +10:30
invoice.c daemon/invoice: wean off dstate (a little), link into new daemon. 2017-04-01 23:59:46 +10:30
invoice.h daemon/invoice: wean off dstate (a little), link into new daemon. 2017-04-01 23:59:46 +10:30
irc_announce.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
irc_announce.h routing: Added IRC announcement glue 2016-09-07 23:49:39 +02:00
json.c routing: Returning channel_id to getroute requests 2017-05-02 11:47:52 +02:00
json.h routing: Returning channel_id to getroute requests 2017-05-02 11:47:52 +02:00
jsonrpc.c daemon/chaintopology: use struct topology for more functions, not lightningd_state 2017-03-02 22:51:49 +10:30
jsonrpc.h jsonrpc: register base on linkage. 2017-01-04 14:08: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 daemon/chaintopology.c: remove last remaining lightningd_state references. 2017-03-02 22:51:49 +10:30
lightningd.h struct topology -> struct chain_topology 2017-03-02 22:51:49 +10:30
log.c lightning/peer_control: set logging level for peers to match global. 2017-02-24 16:22:56 +10:30
log.h lightning/peer_control: set logging level for peers to match global. 2017-02-24 16:22:56 +10:30
Makefile lightningd: fix shachain to be 48-bits, with hack for legacy. 2017-04-01 23:59:46 +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 utils: add tal_hex() helper. 2017-01-10 15:19:25 +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
options.c daemon/chaintopology.c: remove last remaining lightningd_state references. 2017-03-02 22:51:49 +10:30
options.h daemon/options: split option registration and parsing. 2017-02-24 16:22:56 +10:30
output_to_htlc.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
output_to_htlc.h struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
p2p_announce.c Update to new spec: differentiate channel_id and short_channel_id. 2017-03-02 22:51:49 +10:30
p2p_announce.h refactor: Move the gossip handlers to routing 2017-02-03 05:52:11 +10:30
packets.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
packets.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
pay.c daemon/sphinx: support modern v0 hop payload. 2017-04-01 23:59:46 +10:30
pay.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
peer_internal.h daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
peer.c daemon/peer: try reconnecting based on bitcoind poll time, not 15 seconds. 2017-04-25 22:00:28 +02:00
peer.h daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
pseudorand.c daemon/pseudorand: be more paranoid with isaac64 output. 2017-03-02 22:51:49 +10:30
pseudorand.h daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
routing.c routing: Returning channel_id to getroute requests 2017-05-02 11:47:52 +02:00
routing.h routing: Returning channel_id to getroute requests 2017-05-02 11:47:52 +02:00
routingrpc.c refactor: Move JSONRPC methods to separate compilation unit 2017-02-03 05:52:11 +10:30
secrets.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
secrets.h bitcoin/signature.h: remove struct signature. 2017-01-25 11:03:55 +10:30
sphinx.c daemon/sphinx: support modern v0 hop payload. 2017-04-01 23:59:46 +10:30
sphinx.h daemon/sphinx: support modern v0 hop payload. 2017-04-01 23:59:46 +10:30
state_types.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
state.h daemon: disable old BOLT checks. 2017-01-04 14:09:20 +10:30
timeout.c refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
timeout.h refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
wallet.c bitcoin/script: rename bitcoin_redeem_p2wpkh -> bitcoin_redeem_p2sh_p2wpkh 2017-03-07 11:35:48 +10:30
wallet.h wallet: use pubkey as API, not pointer. 2016-11-09 08:04:28 +10:30
watch.c daemon/peer: move struct peer to internal header. 2017-03-02 22:51:49 +10:30
watch.h daemon/watch: fix macro clash. 2017-03-07 11:27:09 +10:30