406 Commits (76e8a11380d3b9e0d6e256f9ab82f70e782cbdb9)

Author SHA1 Message Date
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
practicalswift 0bf1b01425 Fix typos 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ 044705a547 peer_control: Fix a use-after-free bug. (#1237) 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
ZmnSCPxj d49915cdd2 peer_control: Have listpeers also return channel ID. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
ZmnSCPxj 1de124277b peer_control: Print both `to_self_delay` in listpeers. 7 years ago
Rusty Russell 6c1233de44 channel: reserve a bip32 index as soon as channel is opened. 7 years ago
John Barboza 30b290cb8f Explicit error message when disconnect fails 7 years ago
John Barboza 0a1351fd51 gossipd: command to disconnect from a gossiping peer 7 years ago
John Barboza b50912d8b1 Print node alias when listing peers 7 years ago
Rusty Russell c5d41a23d7 short_channel_id: just use structeq. 7 years ago
Rusty Russell 042d5d13f5 short_channel_id: don't use bitfields. 7 years ago
Christian Decker a90502d917 jsonrpc: Refuse to forget a channel with an open HTLC 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 8aa7a48138 listpeers: display billboard as 'status' array. 7 years ago
practicalswift d873bf60bf Remove unused parameter fieldname in json_add_log(..., const char *fieldname, ...) 7 years ago
practicalswift f24eae60b7 Remove unused parameter why in delete_channel(..., const char *why) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 719290a4c4 txwatch: remove unused callback arg, hide struct definitions. 7 years ago
Rusty Russell ae8fb96d06 lightningd/channel_control: routines to control channeld (move from peer_control.c) 7 years ago
Rusty Russell 36652a3df3 lightningd/peer_control: reorder, move more functions out. 7 years ago
Rusty Russell 372040bbd5 lightningd/onchain_control: routines to control onchaind (move from peer_control.c) 7 years ago
Rusty Russell 9176ee628c lightningd/closing_control: routines to control closingd (move from peer_control.c) 7 years ago
Rusty Russell a83ff83328 lightningd/connect_control: routines to control connecting (move from peer_control.c) 7 years ago
Rusty Russell 4cf274b1c0 lightningd/opening_control: routines to control openingd (move from peer_control.c) 7 years ago
practicalswift 6bacab5e87 Fix typos 7 years ago
ZmnSCPxj ea3ee01215 peer_control: Support xxx@yyy:zzz form for connecting. 7 years ago
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell 02d469b3d4 peer_failed: hand fds back to master when we fail. 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell cc460095ca lightningd: make new_channel a proper constructor. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell 8db8c51201 lightningd: struct uncommitted_channel for opening channels. 7 years ago
Rusty Russell d2f691b288 subd: make functions more generic, don't assume 'struct channel'. 7 years ago
Rusty Russell 1a78efaee5 peer_control: don't refer to peer in copy_to_parent_log 7 years ago
Rusty Russell a2c6ec6c9b lightningd: use tal_link for log_book. 7 years ago
Rusty Russell 72108f0cb9 wallet: don't use rowid for the channel's DBID. 7 years ago
Rusty Russell 6a3ccafaf9 wallet: don't implicitly remove peers, but do it explicitly. 7 years ago
Rusty Russell 98de10b842 channel: rename free_channel to delete_channel. 7 years ago
Rusty Russell d822ba1eee lightningd: allow a new channel open from peer if no *active* channels. 7 years ago
Rusty Russell 8f48a72d74 lightningd: remove peer->log in favor of channel->log. 7 years ago
Rusty Russell e20fff9340 lightningd: remove almost all other peer2channel / channel2peer shims. 7 years ago
Rusty Russell 0e93fb932a lightningd: bitcoind and topology routines take channel, not peer. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago