626 Commits (65963bc003212e2340cc354c25f7b16c7fe5df28)

Author SHA1 Message Date
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 7e3928359a listpeers: add all the alternate "msat" and "sat" fields for channels. 6 years ago
Rusty Russell b5dcb93e5f wallet: use amount_msat / amount_sat. 6 years ago
Rusty Russell 83adb94583 lightningd and routing: use struct amount_msat. 6 years ago
Christian Decker 2c443cc0fd plugin: Parse and react to the result of the peer_connected hook 6 years ago
Christian Decker b5085a9c17 hooks: Serialize the peer that connected as hook call payload 6 years ago
Christian Decker 828d088d60 moveonly: Move the channel details into json_add_channel 6 years ago
Christian Decker ca3db290ba plugin: Add `connected` hook 6 years ago
Simon Vrouwe 34e40b9383 lightningd/json_dev_forget_channel: clarify message when both peer_id and scid are given 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell 018a3f1d58 short_channel_id: make mk_short_channel_id return a failure. 6 years ago
Conor Scott 0535cbbc96 [rpc] Add funding allocation to listpeers command 6 years ago
Rusty Russell a00c357854 JSON: remove redundant word "channel" from direction fields. 6 years ago
Rusty Russell 8738940a8f listpeers: show channel direction for each outgoing channel. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Christian Decker 65054ae72e bolt: Updated the BOLT specification to a07dc3df3b4611989e3359f28f96c574f7822850 6 years ago
lisa neigut efa38875b2 listpeers: include `private` field in `channels` output 6 years ago
Rusty Russell e6c68b606d lightningd: add comment on why we have "useless" initialization. 6 years ago
William Casarin 0fa209c64d lightningd: fix compile error in peer_control 6 years ago
Christian Decker 26f17e87a3 plugin: Add connect and disconnect notifications 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 19ecf8c6fb disconnect: add force option to disconnect even with a live channel. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell d9d762170a memleak: don't get stuck if per-peer daemons die. 6 years ago
Rusty Russell 8fb1b609ce closingd: handle our own memleak detection. 6 years ago
Rusty Russell 55306fc3eb onchaind: wire up dev_memleak. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Conor Scott 3f420dc408 [rpc] Add peer stats to getinfo rpc 6 years ago
Conor Scott dd27205ba2 [rpc] move getinfo implementation to peer_control.c 6 years ago
Rusty Russell 8600ba403c wireaddr: remove handling for addr->type == ADDR_TYPE_PADDING 6 years ago
Rusty Russell 171006d17c lightnignd: peer addr is never NULL, adjust new_peer. 6 years ago
Rusty Russell 322d483b36 lightningd: fix crash on failed close. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker f3b4dcb1f6 channel: Set the billboard to reconnecting when we restarted 6 years ago
Rusty Russell 9455331575 json: use bolt naming for features arrays in listnodes, listpeers. 6 years ago
Rusty Russell 41b0872f58 Use localfeatures and globalfeatures consistently. 6 years ago
Rusty Russell 9fa7f5e30e listpeers: include current htlc information. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell 7744c41521 listpeers: add 'scratch_txid' for the tx we would broadcast if necessary. 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell a260849870 moveonly: feerate_min and feerate_max belong in chaintopology.c 6 years ago