1062 Commits (7f8ae7e0bf284e7befea712f3baec80cde6ab58d)

Author SHA1 Message Date
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 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 6b71654351 lightningd: create new structure `channel` to hold per-channel info. 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
Rusty Russell 15eaf56d79 wallet: add ld pointer. 7 years ago
Rusty Russell fd04fca771 jsonrpc: make lifetimes in error path clearer. 7 years ago
Rusty Russell dec86e0115 jsonrpc: split error and success cases, use json_add_string_escape. 7 years ago
Christian Decker b4ce4d228d JSON-RPC: Fix unquoted error string when parser fails 7 years ago
Christian Decker cb97dfec4e gossip: Fix up some comments on PR #955 7 years ago
Christian Decker 9f8f0ccec9 peer: Store htlc_sigs when they are updated 7 years ago
root 73022d91c6 Fix indentation 7 years ago
root 8b0ed27c43 Add optional from id parameter to getroute call. 7 years ago
Christian Decker 5a133d2d70 json-rpc: Return a standard compliant error when parsing fails 7 years ago
Christian Decker e92e26f84d json-rpc: Check for unprintable characters in JSON-RPC commands 7 years ago
ZmnSCPxj 354fafbf60 pay: Add a limit to the fee. 7 years ago
practicalswift 2a979a2d5c Fix typos 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
practicalswift 5474512c31 Add assertion to clarify assumption made in order to avoid UB 7 years ago
Rusty Russell cc9ca82821 status: separate types for peer failure vs "impossible" failures. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 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
Rusty Russell ad8dfaca1c tools/generate_wire.py: make varlen structs self-allocate. 7 years ago
Christian Decker e04619457b master: Don't crash if peer reconnects before we activate it 7 years ago
ZmnSCPxj d666857aed pay: Recover from unparseable routing failures by random disabling of channels. 7 years ago
ZmnSCPxj 0d0ef2c733 gossipd: Implement gossip_mark_channel_unroutable. 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 c01f3267d5 common: only log io if they set --debug-subdaemon-io=<daemon> or with SIGUSR1. 7 years ago
Rusty Russell de56dc0ffc common: add logging for peer packets, with status_io. 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
Rusty Russell c076534220 logv: preserve errno. 7 years ago
Rusty Russell ad401f3a1c hsm: give it its own log, so it has unique prefix. 7 years ago
Rusty Russell 84bf60f934 status: add multiple levels of logging. 7 years ago
ZmnSCPxj d4478458dd pay: Change origin_index to erring_index, start with local node = 0. 7 years ago