54 Commits (d23650d2edbfe16a21d0e637e507531a60dd2ddd)

Author SHA1 Message Date
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
practicalswift 3dbace3421 Remove redundant casts to same type 7 years ago
Rusty Russell 43ec3f0761 jsonrpc: allow multiple commands in-flight from single JSON connection. 7 years ago
Rusty Russell a08bcfdbd3 jsonrpc: don't crash on multiple commands at once. 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 5a133d2d70 json-rpc: Return a standard compliant error when parsing fails 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
ZmnSCPxj 6d789282c9 jsonrpc_errors.h: Header for JSON-RPC errors. 7 years ago
ZmnSCPxj 4ef168cd97 jsonrpc: Properly report code for detailed errors. 7 years ago
ZmnSCPxj 5b304fce4f jsonrpc: Let freeing of `cmd` free `names` 7 years ago
alaniz b7856e3512 Onboarding: tweak grammar conventions for RPC responses 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 1ee44bdb47 jsonrpc: verbose help for help command. 7 years ago
Rusty Russell 27678dfe6a jsonrpc: add verbose help for individual commands. 7 years ago
ZmnSCPxj d03ca59f80 jsonrpc: Report standard JSON-RPC 2.0 error codes. 7 years ago
ZmnSCPxj e1d17e92e0 jsonrpc: Implement command_fail_detailed. 7 years ago
ZmnSCPxj 551dfedc4a jsonrpc: Internal: Support changing the error code internally. 7 years ago
ZmnSCPxj b2133e969f jsonrpc: Trivial compliance with JSON-RPC Error Object. 7 years ago
Christian Decker a7a6b4646a json-rpc: Remove alarming debug statement 7 years ago
practicalswift 5631054152 Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 7 years ago
Rusty Russell 8797159825 Use consistent names for timestamps. 7 years ago
Rusty Russell 361fdccfca JSONRPC: help returns an object. 7 years ago
Rusty Russell 8cf1870465 jsonrpc: add json_tok_short_channel_id helper. 7 years ago
Rusty Russell 1f6392fa83 lightningd: --deprecated-api option to turn off deprecated APIs. 7 years ago
Christian Decker ced486e727 jsonrpc: Add the network name to the getinfo output 7 years ago
practicalswift e91a8dff12 Change log level for some common debug messages from "info" to "debug" 7 years ago
practicalswift 4214c5ad57 Use consistent formatting for CLI command descriptions 7 years ago
practicalswift caf57b24ea Use correct description for the "help" CLI command 7 years ago
practicalswift ab0c26be91 Check return value of json_get_params(...) call in json_getlog(...) and json_getpeers(...) 7 years ago
practicalswift 4bdd2452f2 Make sure fsync, connect and close are never accidentally passed negative arguments 7 years ago
Christian Decker b13a972929 gossip: Do not return empty address-objects for getnodes 7 years ago
practicalswift d02b890b55 assert(tal_count(log) > 0) in log_to_json(...) 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
Rusty Russell 553ebc936b json: add json_add_txid. 7 years ago
Rusty Russell 38a0ee8638 jsonrpc: current pending commands are not a leak. 7 years ago
Rusty Russell ccb7047291 lightningd: add notleak annotations. 7 years ago
Rusty Russell 8c665835fa jsonrpc: make explicit call to indicate cmd is still pending. 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell 01361ab21b jsonrpc: wrap all calls in transaction. 7 years ago
Rusty Russell 78cd25d620 ipaddr: rename to wireaddr. 7 years ago
Rusty Russell 329269d9d0 lightningd: support multiple addresses. 7 years ago
Rusty Russell bd1cac34ce netaddr: remove. 7 years ago
Rusty Russell 3c6eec87e3 Add DEVELOPER flag, set by default. 7 years ago
Rusty Russell 474887512d gossipd: rewrite to do the handshake internally. 7 years ago
Rusty Russell 79ebb9dfd0 json: helper to parse pubkeys. 7 years ago
Christian Decker eac770760c jsonrpc: Make sure we handle the case where jcon outlives command 7 years ago
Rusty Russell 3564263e12 jsonrpc: use-after-free bug due to unspecified free behavior 1/2 7 years ago