Home
last modified time | relevance | path

Searched refs:json_add_tok (Results 1 – 8 of 8) sorted by relevance

/dports/net-p2p/c-lightning/lightning-0.10.2/plugins/spender/
H A Dfundchannel.c75 json_add_tok(req->js, "amount", amount, buf); in json_fundchannel()
77 json_add_tok(req->js, "announce", announce, buf); in json_fundchannel()
79 json_add_tok(req->js, "push_msat", push_msat, buf); in json_fundchannel()
81 json_add_tok(req->js, "close_to", close_to, buf); in json_fundchannel()
89 json_add_tok(req->js, "feerate", feerate, buf); in json_fundchannel()
91 json_add_tok(req->js, "minconf", minconf, buf); in json_fundchannel()
93 json_add_tok(req->js, "utxos", utxos, buf); in json_fundchannel()
140 json_add_tok(out, "tx", tx, buf); in fundchannel_get_result()
141 json_add_tok(out, "txid", txid, buf); in fundchannel_get_result()
142 json_add_tok(out, "channel_id", channel_id, buf); in fundchannel_get_result()
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/tests/plugins/
H A Dtest_libplugin.c85 json_add_tok(response, json_strdup(tmpctx, buf, t), t+1, buf); in testrpc_cb()
/dports/net-p2p/c-lightning/lightning-0.10.2/common/
H A Djson.h256 void json_add_tok(struct json_stream *result, const char *fieldname,
H A Djson.c1181 void json_add_tok(struct json_stream *result, const char *fieldname, in json_add_tok() function
/dports/net-p2p/c-lightning/lightning-0.10.2/lightningd/
H A Djsonrpc.c671 json_add_tok(s, "rpc_command", p->request, p->buffer); in rpc_command_hook_serialize()
677 json_add_tok(s, key, tok + 1, p->buffer); in rpc_command_hook_serialize()
H A Dplugin.c483 json_add_tok(n->stream, "payload", paramstok, plugin->buffer); in plugin_notification_handle()
996 json_add_tok(response, "method", methodtok, buffer); in plugin_notify_cb()
/dports/net-p2p/c-lightning/lightning-0.10.2/plugins/
H A Dpay.c1771 json_add_tok(ret, "destination", pm->destination, buf); in add_new_entry()
1785 json_add_tok(ret, "label", pm->label, buf); in add_new_entry()
1787 json_add_tok(ret, "preimage", pm->preimage, buf); in add_new_entry()
H A Doffers.c120 json_add_tok(req->js, in send_onion_reply()