145 Commits (4cf274b1c087a9e846cf910d1958589f0a39c54d)

Author SHA1 Message Date
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell dba08f9d1b peer_failed: don't send error ourselves. 7 years ago
Rusty Russell 02d469b3d4 peer_failed: hand fds back to master when we fail. 7 years ago
Rusty Russell f76ff90485 status: split off error messages into a new 'peer_status' type. 7 years ago
Rusty Russell 65ff5f8bb1 read_peer_msg: ignore errors not destined for this channel. 7 years ago
Rusty Russell 201d498e39 peer_failed: automatically hand PEER_FD, GOSSIP_FD; add gossip_index 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell 7c512f91ce memleak: ignore tal_link artifacts. 7 years ago
John Barboza 7a77271922 lightningd: encode fallback address in 5 bits 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
Rusty Russell e76a0b4ddc gossipd: fix race where we can handoff peer with bad cryptostate. 7 years ago
ZmnSCPxj e1284b1df1 common/json: Add json_add_double. 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Rusty Russell eb0603bd13 wireaddr: rework port parsing for weird addresses. 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 c7b693d7ce status: remove unused status_send_sync. 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
Rusty Russell 99e246becd channeld: rely on io_logging, not our own boutique logging. 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 b7acd93578 log: separate levels for IO directions, allow msg + io data. 7 years ago
Rusty Russell 84bf60f934 status: add multiple levels of logging. 7 years ago
Rusty Russell 8be1c1df32 Updates for changed external/jsmn API change. 7 years ago
Saibato 7dcaf27bf5 allow --rpc-file option to change default value 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 47577e5c4e jsonrpc: check that arguments to calls are valid. 7 years ago
Rusty Russell 7f03e15e03 json_add_string_escape: for escaping internally-generated strings. 7 years ago
Rusty Russell ef9b16399c common: read_peer_msg helpers for per-peer subds. 7 years ago
rvandermeer 4c0f7dbd04 Spelling corrections (#824) 7 years ago
practicalswift 689db5b7c1 Onboarding: Make log output texts friendlier to new users 7 years ago
ZmnSCPxj 8c527f3931 common/json: Implement json_add_snum for signed numbers. 7 years ago
Ronald van der Meer fa992ecaab clarified --lightning-dir syntax on help 7 years ago
practicalswift 2c17546cbd Onboarding: Make "lightning-cli" (without arguments) output the equivalent of "lightning-cli --help; lightning-cli help" 7 years ago
Carl Dong 8da65854f0 build: Add needed UNIX standard includes. 7 years ago
Björge Dijkstra 2f4ba73c77 Allocate hex buffer on heap since it can be very large. 7 years ago
Rusty Russell 6b740e78bd json: more sanity checks on JSON output. 7 years ago
practicalswift a87c8a74b5 Avoid segfault on CLI command "decodepay 1111111" (invalid short bech32 string) 7 years ago
Rusty Russell 1950583612 subdaemon: make debugging a bit easier. 7 years ago
William Casarin 4a12cafe7f debugging: add -ex return and cont to gdb command 7 years ago
William Casarin 44f9863192 permute_tx: bail on empty permute_{inputs/outputs} arguments 7 years ago
ZmnSCPxj 83e76e3ac3 features: Move feature-handling code to a common/features.c source. 7 years ago
Björge Dijkstra 648e4feee2 Extend json unit test with tests for json_tok_bitcoin_amount() 7 years ago
Björge Dijkstra 82a2d2f0a6 Fix parsing of txout value. Force decimal base. 7 years ago
Rusty Russell e34ec8da2d peer_failed: use towire_errorfmtv() which doesn't add nul terminator. 7 years ago
Rusty Russell 86e1a61165 json: fix json_tok_bitcoin_amount() 7 years ago
practicalswift dcb4039a96 Check lseek(...) return value 7 years ago
Rusty Russell 0f97b8cf36 subdaemon.c: subdaemon_setup() routine for all daemons. 7 years ago
Christian Decker d9df831a2f Don't attempt to permute a single input 7 years ago