89 Commits (586b9aa7428e9f76f6c36cb26ad9aa143e8aee77)

Author SHA1 Message Date
Rusty Russell 39e4796ae3 json_command: command_fail_badparam helper. 4 years ago
Rusty Russell 5e0b03fba9 common: hoist param_bitcoin_address where plugins can use it. 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
Rusty Russell a9427f1a8d bitcoin/feerate: new exposure for feerate parsing outside lightningd. 5 years ago
Antoine Poinsot 4302afd9a5 rpc: don't go below feerate_floor when converting vbytes 5 years ago
Rusty Russell fda5f0b427 common/channel_id: move channel_id into its own file. 5 years ago
darosior dce2e87928 chaintopology: better feerate targets differentiation 5 years ago
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
darosior d35387f489 common: move json_stream from lightningd/ to common/ 5 years ago
Saibato f6006f43a9 Init commit to be able to create a tor static service on the fly. 5 years ago
fiatjaf 770789684c jsonrpc: Add json_add_preimage helper 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
Rusty Russell 997e3f7fe6 lightningd: move json_add_route into gossip_control.c and make static. 5 years ago
darosior dd10b543da lightningd/json: Add a json helper to append any jsmn token to a stream 5 years ago
trueptolemy 75e946d256 json: Move `param_bitcoin_address` from wallet/walletrpc.c to lightningd/json.c 5 years ago
trueptolemy 8346d5c353 josn: Move `json_tok_address_scriptpubkey` from lightningd/jsonrpc.c to lightningd/json.c 5 years ago
lisa neigut 19e65068a9 json: move param node_id parser to common 5 years ago
Rusty Russell acf3952acc JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 5 years ago
trueptolemy a9e346a1f4 json: Add the json interface for `struct sha256` 5 years ago
lisa neigut eb0b3d7b09 json: correct error message for param parser 6 years ago
Rusty Russell 7f75043ab2 lightningd: tighten interal json_stream API. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Christian Decker c91483f605 json: Add wrapper to add a secret to a JSON result 6 years ago
trueptolemy 231703cc7f plugin: Add new notification type: warning 6 years ago
Rusty Russell 7e02fbe6ec lightningd: add json_add_tx helper. 6 years ago
lisa neigut a4a193840f json: add a param parser for a txid 6 years ago
Christian Decker 80b3d8aef3 json: Add some more methods to add integers of various size to json 6 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Christian Decker 06f090c6a5 json: Add timestampt primitives to print timestamps in results 6 years ago
Rusty Russell 4811024518 lightingd: optimize json_add_short_channel_id a little. 6 years ago
Rusty Russell 465065691f json_add_hex: wire in at a lower level. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell 83adb94583 lightningd and routing: use struct amount_msat. 6 years ago
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell 28ec65fd79 lightningd: add json_add_amount_msat and json_add_amount_sat helpers. 6 years ago
Christian Decker ff0ddee56e json: Add utility to add a null-member 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 a45a62aff6 lightningd: move pay internals back into pay.c 6 years ago
Rusty Russell e2777642c0 getroute: add direction to route returned. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 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 d7e233e47d Move json and param core functionality into common, for plugins. 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