57 Commits (e11ddfc99282c865989da5883d4027f26d5671e2)

Author SHA1 Message Date
Rusty Russell 5770e0c700 jsonrpc: probe sites for usage information once, at start. 6 years ago
Rusty Russell dabdefefae jsonrpc: populate ld->jsonrpc ourselves, so we can use it. 6 years ago
Rusty Russell cc76416447 jsonrpc: use tal destructor to remove json commands when required. 6 years ago
Christian Decker ff897f8788 jsonrpc: Generalize plugin_request to jsonrpc_request 6 years ago
Christian Decker 9ad2f57e46 jsonrpc: Create a struct for notifications that we send 6 years ago
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell 93bf7c4839 param: make command sinks (fail/success) return a special type. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell c28cbf4a61 jsonrpc: remove ok pointer. 6 years ago
Rusty Russell 3f16c9a665 param: abstract 'struct command' so param doesn't need to access it. 6 years ago
Rusty Russell 10260e2f24 lightningd: expose lower-level APIs. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Mark Beckwith 70707bf767 rpc: add check command 6 years ago
Mark Beckwith 542f529ed1 param: add support for unused parameters 6 years ago
Christian Decker a71208b2a0 plugin: Remove added JSON-RPC methods if a plugin gets killed 6 years ago
Christian Decker 83775e7cea jsonrpc: Split the jsonrpc object creation from starting to listen 6 years ago
Christian Decker 01c7bc5884 jsonrpc: Make an explicit jsonrpc struct 6 years ago
Rusty Russell e0d14bddb9 jsonrpc: allow multiple commands at once. 6 years ago
Rusty Russell f9fd802147 jsonrpc: make struct json_connection definition private. 6 years ago
Rusty Russell 47d2a71ef0 json.c and jsonrpc.c: move functions between them. 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell c403415caa lightningd: format JSON directly into json connection membuf. 6 years ago
Rusty Russell 03e7be5bce json_connection: keep pointer to the conn. 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 39f0dfb664 jsonrpc: use ccan/membuf instead of a string for our output buffer. 6 years ago
Rusty Russell ce0bd7abd3 jsonrpc: only allow a single command at a time. 6 years ago
Christian Decker b86edf3cf1 jsonrpc: Simple demonstration on how jcon can be locked for streams 6 years ago
Rusty Russell c8c3294a23 json-invoice: add routeboost, warnings. 6 years ago
Mark Beckwith 1a4f355a7b param: add ok flag to struct command 6 years ago
Mark Beckwith d91b94a812 param: add command mode 6 years ago
Mark Beckwith 2a0c2601c0 param: upgraded json_tok_newaddr 6 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 6 years ago
Rusty Russell ef33dd2998 jsonrpc: reduce debug log spam for JSON commands. 6 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
Mark Beckwith 7767b68ee9 Removed redundancies in withdraw and fundchannel. 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 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
Rusty Russell 43ec3f0761 jsonrpc: allow multiple commands in-flight from single JSON connection. 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 27678dfe6a jsonrpc: add verbose help for individual commands. 7 years ago
ZmnSCPxj e1d17e92e0 jsonrpc: Implement command_fail_detailed. 7 years ago
practicalswift 5631054152 Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 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
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago