22 Commits (2b6cdfeb5a980ec070ae0339820b9327d8be9791)

Author SHA1 Message Date
Christian Decker 47b8b46d54 cleanup: Remove stdio header from param.c 4 years ago
Christian Decker 32000b6660 json: Add two param functions to parse string arrs and outpoint arrs 4 years ago
Rusty Russell 5c167d16ab tools/generate-wire.py: use helpers. 4 years ago
Rusty Russell ca2bd98082 unittest: use common_setup / common_shutdown almost everywhere. 4 years ago
Rusty Russell 39e4796ae3 json_command: command_fail_badparam helper. 4 years ago
Rusty Russell 869fa082d4 common/json_tok: expose param_txid. 5 years ago
Rusty Russell 31b2865791 common/json_tok: expose routines to parse addresses. 5 years ago
Vasil Dimov 89ceb273f5 wire: remove towire_double() 5 years ago
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
Christian Decker 55d8dcc907 param: Encapsulate hops parsing in a param_hops_array helper 5 years ago
lisa neigut af4ffe5fcd dev-forget-channel: accept passing in channel_id 5 years ago
lisa neigut 19e65068a9 json: move param node_id parser to common 5 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Rusty Russell a25e22737c common/json_tok: add param_msat / param_sat. 6 years ago
Rusty Russell be8006a4fc common/test/run-param: fix parsing test. 6 years ago
Rusty Russell 7b7a1b7040 test/run-param: fix malformed JSON. 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 d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 3f16c9a665 param: abstract 'struct command' so param doesn't need to access it. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Mark Beckwith 164c76454c test: add json_tok_remove unit tests 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 6 years ago
Rusty Russell c403415caa lightningd: format JSON directly into json connection membuf. 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 12adcda370 test/run-param: don't reach into json_result to get the string. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Mark Beckwith 30b67c0334 param: call param() all the time 6 years ago
Mark Beckwith d91b94a812 param: add command mode 6 years ago
Christian Decker cf52b7161f json-rpc: Remove upper limit for percentage 6 years ago
Mark Beckwith ca40cfa0ce param: started adding callback unit tests 6 years ago
Mark Beckwith 8590dbedfb param: make json_tok_label non-static 6 years ago
Mark Beckwith 4f81cd3852 param: added json_tok_msat 6 years ago
Rusty Russell db3c387264 feerate: allow names 'urgent' 'normal' and 'slow'. 6 years ago
Rusty Russell e0952ceff2 feerate: use suffix, not separate argument. 6 years ago
Rusty Russell 2db77f5d1d gossipd: minor modifications for memleak detection to work. 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 2a0c2601c0 param: upgraded json_tok_newaddr 6 years ago
Mark Beckwith 47555efc0d param: rebased master 6 years ago
Mark Beckwith e5918f4e5a param: upgraded json_tok_double 6 years ago
Mark Beckwith bab8ff991a param: upgraded json_tok_u64 6 years ago
Mark Beckwith 294dc06de9 param: upgraded json_tok_number 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Mark Beckwith bd5bf1f168 Enhanced param parsing 6 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 7 years ago
Mark Beckwith 1851ebbc56 programer -> developer 7 years ago
Mark Beckwith 381c32af75 Remove sigaction from run-param 7 years ago