369 Commits (d2f691b288eb704f91271f2b719491dc3855c688)

Author SHA1 Message Date
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
Rusty Russell 57b423625b subd: use peer log for messages (if any). 7 years ago
Rusty Russell 6daa770b0e Minor whitespace/comment spelling fixes. 7 years ago
Christian Decker acc6afc8de gossip: Directly return an error if we don't know a node's address 7 years ago
Christian Decker 61e982c6b7 gossip: Implement connection failed handler in lightningd 7 years ago
ZmnSCPxj 8f5584d7d6 peer_control: Correct roundoff of remote-side msatoshi. 7 years ago
practicalswift 689db5b7c1 Onboarding: Make log output texts friendlier to new users 7 years ago
Christian Decker 6cfc0a6275 fixup! masterd: Disable a channel when channeld fails 7 years ago
Christian Decker e463386d75 masterd: Disable a channel when channeld fails 7 years ago
Christian Decker d14969ce77 masterd: Peer has to know which direction an eventual channel is 7 years ago
Rusty Russell e9328217ff peer_control: better logging when we don't tell peer about locked funding. 7 years ago