86 Commits (7635b24a29e274a9e85cf9a8c963d364fa3fadec)

Author SHA1 Message Date
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 6254d15efd param: upgraded json_tok_sha256 6 years ago
Mark Beckwith 2a0c2601c0 param: upgraded json_tok_newaddr 6 years ago
Mark Beckwith bab8ff991a param: upgraded json_tok_u64 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Mark Beckwith 1fca7ab562 Added json_tok_sha256 (#1779) 7 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 7 years ago
Rusty Russell ef33dd2998 jsonrpc: reduce debug log spam for JSON commands. 7 years ago
Christian Decker d6048de100 json-rpc: Shutdown the JSON-RPC in the context of a DB transaction 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 years ago
arowser 2eab1b66ff add alias and color to getinfo 7 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
Rusty Russell af065417e1 gossipd: handle wildcard addresses correctly. 7 years ago
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
Rusty Russell fe96fe10c7 Clean up network options. 7 years ago
Rusty Russell ed466a8523 lightningd: make explicit listen and reconnect flags. 7 years ago
Mark Beckwith 7767b68ee9 Removed redundancies in withdraw and fundchannel. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
Corné Plooy f32ebb7dca Indentation fix. 7 years ago
Corné Plooy 1e879de89e json-rpc: connection_complete_ok and json_command_malformed should never receive NULL arguments. Pass "null" instead, where needed. 7 years ago
Corné Plooy d86ad15b53 json-rpc: translate NULL into "null" instead of "(null)". 7 years ago
practicalswift dbb7ea1e41 Adjust log level for logging disconnected RPC users ("Command failed after jcon close") 7 years ago
practicalswift a20cf5463d Adjust log level for logging disconnected RPC users ("Abandoning command" + "Command returned result after jcon close") 7 years ago
ZmnSCPxj bd07a91782 jsonrpc: Let Base58 '2..' address work on both regtest and testnet. 7 years ago
John Barboza b028a0a439 invoice: add fallback address to invoice command 7 years ago
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