rgb-cln/lightningd
Rusty Russell c8c68cfb7c JSONRPC: listpeers multiple channels, output improvements.
We're going to have to support multiple channels per peer, even if only
when some are onchain.  This would break the current listpeers, so
change it to an array (single element for now).

Other cleanups:

1. Only set connected true if daemon is not onchaind.
2. Only show netaddr if connected; don't make it an array, call it `address`
   in comparison with `addresses` in listnodes.
3. Rename `channel` to `short_channel_id`
4. Add `funding_txid` field for voyeurism.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-01-19 22:23:45 +00:00
..
test invoices: Extensive reorganization of invoice system. 2018-01-16 13:03:54 +01:00
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
Makefile features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
bitcoind.c bitcoind: if callback says don't call on error, dont. 2018-01-17 23:55:35 +01:00
bitcoind.h bitcoind: getoutput so we can check short_channel_ids. 2018-01-11 23:13:23 +01:00
build_utxos.c wallet: Use newindex primitive to generate change key index 2018-01-08 17:19:25 +01:00
build_utxos.h build_utxos: fix weight calculation, and make more accurate. 2017-12-20 12:56:15 +01:00
chaintopology.c lightningd/chaintopology: remove unneeded chain_topology pointer from block. 2018-01-11 21:39:13 +01:00
chaintopology.h lightningd/chaintopology: remove unneeded chain_topology pointer from block. 2018-01-11 21:39:13 +01:00
dev_ping.c dev-ping: use id not peerid as argument name. 2018-01-19 22:23:45 +00:00
gossip_control.c JSONRPC: add optional short_channel_id argument to listchannels 2018-01-19 22:23:45 +00:00
gossip_control.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
gossip_msg.c JSONRPC listnodes: return timestamp, alias and color. 2018-01-19 22:23:45 +00:00
gossip_msg.h JSONRPC listnodes: return timestamp, alias and color. 2018-01-19 22:23:45 +00:00
hsm_control.c hsm: Cleanup after merging control and client libraries 2017-12-03 17:06:13 +01:00
hsm_control.h lightningd/hsm_control: use a simple fd for HSM. 2017-06-27 10:25:53 +09:30
htlc_end.c wallet: abstract away delayed entry of wallet_payment. 2018-01-17 23:55:35 +01:00
htlc_end.h wallet: abstract away delayed entry of wallet_payment. 2018-01-17 23:55:35 +01:00
invoice.c listinvoices: deprecate 'complete' in favor of 'status' trinary. 2018-01-19 22:23:45 +00:00
invoice.h invoices: Extensive reorganization of invoice system. 2018-01-16 13:03:54 +01:00
jsonrpc.c JSONRPC: help returns an object. 2018-01-19 22:23:45 +00:00
jsonrpc.h jsonrpc: add json_tok_short_channel_id helper. 2018-01-19 22:23:45 +00:00
lightningd.c pay: remove struct pay_command. 2018-01-17 23:55:35 +01:00
lightningd.h pay: remove struct pay_command. 2018-01-17 23:55:35 +01:00
log.c log: mark ltmp as notleak. 2017-12-20 12:43:10 +01:00
log.h memleak: add backtrace to allocations. 2017-12-20 12:43:10 +01:00
memdump.c Avoid segfault on CLI command "dev-memleak" when $LIGHTNINGD_DEV_MEMLEAK is not set 2018-01-15 02:42:59 +00:00
netaddress.c wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
netaddress.h wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
opt_time.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
opt_time.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
options.c lightningd: --deprecated-api option to turn off deprecated APIs. 2018-01-19 22:23:45 +00:00
options.h lightningd: --deprecated-api option to turn off deprecated APIs. 2018-01-19 22:23:45 +00:00
pay.c JSONRPC: listpayments not return a naked array. 2018-01-19 22:23:45 +00:00
pay.h lightningd: unify pay vs forward path when handling failures. 2017-06-23 09:29:42 +09:30
peer_control.c JSONRPC: listpeers multiple channels, output improvements. 2018-01-19 22:23:45 +00:00
peer_control.h channeld: --ignore-fee-limits as a hack for fee disparities. 2018-01-16 12:22:06 +01:00
peer_htlcs.c wallet: abstract away delayed entry of wallet_payment. 2018-01-17 23:55:35 +01:00
peer_htlcs.h wallet: abstract away delayed entry of wallet_payment. 2018-01-17 23:55:35 +01:00
peer_state.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
subd.c Change log level for some common debug messages from "info" to "debug" 2018-01-16 03:20:27 +00:00
subd.h subd: wrap all message callbacks in a transaction. 2017-11-06 10:24:34 +01:00
txfilter.c txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
txfilter.h txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
watch.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
watch.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00