429 Commits (aa71a822b3665dc68b93a6d72ea69dbfebffecc5)

Author SHA1 Message Date
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
Rusty Russell b7680412e3 lightningd: rename peer_fail functions to channel_fail. 7 years ago
Rusty Russell 8c084d57ff lightningd: channels own the peer. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Rusty Russell 81ca1db347 wallet: delete peers with no channels. 7 years ago
Rusty Russell 38a313af0d wallet: delete channels in state OPENINGD. 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Rusty Russell 780b620cb1 openingd: use wirestring instead of u8 array for why negotiation failed. 7 years ago
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Christian Decker e04619457b master: Don't crash if peer reconnects before we activate it 7 years ago
Christian Decker d05e8ed695 jsonrpc: Add a dev-forget-channel command to remove stale channels 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
Rusty Russell e2eb694619 Use common loglevel JSON parser. 7 years ago
Rusty Russell b7acd93578 log: separate levels for IO directions, allow msg + io data. 7 years ago
Rusty Russell 4856ca5db0 json_log: move command to log.c, share code with listpeers log. 7 years ago
Igor Cota a0dffc7be2 Fix listpeers JSON command description 7 years ago
Rusty Russell de0777cb2c Fix weight calculation, rename cost->weight. 7 years ago
Rusty Russell bd1aa935b9 closingd: don't punish peers who can't negotiate properly. 7 years ago
Rusty Russell 5deebb85c3 closingd: use the final commitment tx fee as the maximum. 7 years ago
Rusty Russell 4ed13401ce lightningd: prefer mutual close over unilateral, even if fee identical. 7 years ago
Rusty Russell 191e7f4c5c lightningd: add more debugging info for closing. 7 years ago
alaniz b7856e3512 Onboarding: tweak grammar conventions for RPC responses 7 years ago
practicalswift ebef98d8be Create log timestamp string from log entry data 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 0600aac68f lightningd: rename --no-reconnect to --dev-no-reconnect. 7 years ago
Christian Decker d9d618aff9 jsonrpc: Fix wrong argument order in failed connection attempt 7 years ago
Rusty Russell c6ce352404 lightningd: actually unwatch txs when onchaind says we should. 7 years ago