235 Commits (85e325cb1faa89972e225b3f505f4fbba2824bd9)

Author SHA1 Message Date
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 ab31f40aa2 gossipd: don't charge ourselves fees when calculating route. 6 years ago
Rusty Russell b48c644e7a listchannels: add `htlc_minimum_msat` and `htlc_maximum_msat` fields. 6 years ago
Rusty Russell 5591c0b5d8 gossipd: don't send gossip stream, let per-peer daemons read it themselves. 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
Rusty Russell 59e75f1b2c gossipd: reply to large listchannels in parts. 6 years ago
Rusty Russell cb9c44ef27 gossipd: remove unnecessary dev_unknown_channel_satoshis arg. 6 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Rusty Russell aa00e26765 JSON: remove fields deprecated in 0.6.2. 6 years ago
Rusty Russell 0b484b111e gossipd: make more compact getchannels entries. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell 7c8f506a0f dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 6 years ago
Rusty Russell 5b12007a4f gossipd: dev option to allow unknown channels. 6 years ago
Rusty Russell f8f6533dba dev: --dev-gossip-time so gossipd doesn't prune old data. 6 years ago
andrewtoth 365dcb211f Update getroute helptext 6 years ago
Rusty Russell 948ca470ad bitcoin: 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 83adb94583 lightningd and routing: use struct amount_msat. 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 662bb0c565 gossipd: fix riskfactor passing. 6 years ago
Rusty Russell afab1f7b3c gossipd: handle onion errors internally. 6 years ago
Rusty Russell 4eddf57fd9 gossipd: don't mark channels unroutable. 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell 9f1f79587e short_channel_id_dir: new primitive for one direction of short_channel_id 6 years ago
Rusty Russell 80753bfbd5 Feedback from @niftynei. 6 years ago
Rusty Russell dc2ee9639b listchannels: allow source arg to list channels by their source node. 6 years ago
Rusty Russell de682f5806 json_getroute: don't return generic error. 6 years ago
Rusty Russell 358b7fda91 getroute: allow caller to specify maximum hops. 6 years ago
Rusty Russell 3d016e7249 getroute: allow array of channels to exclude. 6 years ago
Rusty Russell 599ec5efbe gossipd: allow an array of excluded channels for getroute_request. 6 years ago
Rusty Russell f321b1d35f getroute: remove seed arg, document fromid, make default fuzzpercent match docs. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 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 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 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell ab735dcbe6 gossipd: wire up memleak detection. 6 years ago
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell 66dcba099d gossipd: hand raw pubkeys in getnodes and getchannels entries. 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 afac01380d gossipd: don't initialize broadcast interval, make field name explicit. 6 years ago
Rusty Russell 3991425111 gossipd: don't accept forwarding short_channel_ids we don't own. 6 years ago
Rusty Russell afc92dd757 gossipd: use array[32] not pointer for alias. 6 years ago
Rusty Russell 2f667c5227 gossipd: routine to get route_info for known incoming channels. 6 years ago