144 Commits (162cea265c1c47c794b0a826d5a8f53033c04c19)

Author SHA1 Message Date
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
trueptolemy 7db3f1b8a6 json: Rename `json_tok_address_scriptpubkey` to `json_to_address_scriptpubkey` 5 years ago
Rusty Russell acf3952acc JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 5 years ago
Rusty Russell a134062f98 bolt11: handle `9` fields for new features. 5 years ago
trueptolemy 4929034a40 json: Make payment_hash use `json_add_sha256` 5 years ago
trueptolemy 31e2e70f17 invoice: a cleanup for the json of struct sha256 6 years ago
Simon Vrouwe 1ae8b73f0e doc: invoice manpage: add some details about route hint selection 5 years ago
Rusty Russell 875854f71c invoice: fix up internal help msg to match updated expiry default. 6 years ago
Rusty Russell dd79813a75 common: add peer_error flag to treat this error as "soft". 6 years ago
darosior b5bb7f191f Plugins: Add a notification for invoice payment 6 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Rusty Russell fae593c448 lightningd: fix uninitialized variable in DEVELOPER path 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
Rusty Russell 4370ffa978 autoclean: make this a plugin. 6 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Christian Decker 0d19d04def wallet: Pass chainparams to address serialization 6 years ago
Rusty Russell ca7864f2f3 invoice_hook: remove nested result. 6 years ago
Rusty Russell a314bc62fc lightningd: remove deserialize step for plugin hooks. 6 years ago
Simon Vrouwe c053dc9a6a lightningd: fix/refactor select_inchan for invoice route-hint, use fractional excess as weight 6 years ago
Rusty Russell 43d07aaed2 lightningd: implement invoice hook. 6 years ago
Rusty Russell 6630b99cf7 lightningd: move local invoice resolution into invoice.c function. 6 years ago
Rusty Russell ba41238df9 invoice: allow suffixes. 6 years ago
Rusty Russell 1d6584e733 invoice: change default expiry to 7 days. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell b5dcb93e5f wallet: use amount_msat / amount_sat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell a25e22737c common/json_tok: add param_msat / param_sat. 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell 6bd1e46b25 invoice: don't allow creation of unpayable invoices. 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell 2a8a8c64e9 invoice: add DEVELOPER-only optional dev-routes param. 6 years ago
Rusty Russell 1567238dd9 invoice: option to expose/not-expose private channels. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 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 bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Rusty Russell c8c3294a23 json-invoice: add routeboost, warnings. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago