170 Commits (a9e346a1f4ba1b5a6a96618f16286b0ecba84507)

Author SHA1 Message Date
trueptolemy 5f6196a42d cleanup: Use the most common abbreviation of 'ctx' in `json_tok_address_scriptpubkey` 5 years ago
Rusty Russell 4274b9f0af lightingd: increase listen queue on rpc socket. 5 years ago
darosior 5fbb15bd59 Document the 'dev' command 5 years ago
darosior f3f33dceb1 lightningd/jsonrpc: Remove unused dev-rhash command code 5 years ago
Rusty Russell 6da420a65b lightning-cli: change default printing in response to "format-hint": "simple". 5 years ago
Rusty Russell b03369ea2d common: generalize json_tok_remove. 5 years ago
Rusty Russell 39e8e98b49 options: make option registration a single function. 5 years ago
Karl-Johan Alm 918e130448 add signet support 5 years ago
Rusty Russell fb6870c139 param: implement helpers for multiplex commands. 5 years ago
Rusty Russell ef541afd8a lightningd: free strmap of commands on shutdown. 5 years ago
Rusty Russell d5bd1682f5 lightningd: free timers on shutdown. 5 years ago
Rusty Russell 841fba7295 lightningd: restore ' ' before '}' for older pylightning. 5 years ago
Rusty Russell c6ec9443b9 jsonrpc: don't return "stop" until we actually have freed resources. 5 years ago
Rusty Russell 7f75043ab2 lightningd: tighten interal json_stream API. 5 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 5 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 5 years ago
Simon Vrouwe db57d9c5d2 lightningd: suppress IO_OUT logging for getlog command 5 years ago
darosior f65eecee27 Rpc: sort help output by command name 6 years ago
Christian Decker 7c3e441cc8 json-rpc: Use chainparams when parsing bech32 addresses 6 years ago
Christian Decker aa9284eaa3 base58: Simplified the address parsing 6 years ago
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 53423e8a55 lightningd: re-enable IO logging for JSON output. 6 years ago
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
Rusty Russell da355284de jsonrpc: help, even for a single item, should be in an array. 6 years ago
Christian Decker 5d05694920 json-rpc: Remove double-quoting on errors in JSON-RPC 6 years ago
Christian Decker ff897f8788 jsonrpc: Generalize plugin_request to jsonrpc_request 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Christian Decker 9ad2f57e46 jsonrpc: Create a struct for notifications that we send 6 years ago
lisa neigut b2ee53fd89 lightning-cli: add jsonrpc version to cmd json packet 6 years ago
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell e5c61fcb0c jsonrpc: plumb through dispatch result to avoid command_its_complicated(). 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 93bf7c4839 param: make command sinks (fail/success) return a special type. 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 3773251d4e jsonrpc: mark all JSONRPC connections as notleak. 6 years ago
Rusty Russell db58d089e2 jsonrpc: use tal_arr_remove(). 6 years ago
Rusty Russell 0a3b38fb20 jsonrpc: fix leak. 6 years ago
Mark Beckwith 816840e9c4 rpc: check error now consistent with lightning-cli 6 years ago
Rusty Russell 001e215064 check: rename returned result to match incoming, remove redundant 'parameters': 'OK'. 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 86c517ac9b common/json: add context arg to json_parse_input. 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
Rusty Russell aee2197a66 jsonrpc: make sure even errors are valid json. 6 years ago