MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_add_num

Function json_add_num

common/json_stream.c:281–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void json_add_num(struct json_stream *result, const char *fieldname, unsigned int value)
282{
283 json_add_primitive_fmt(result, fieldname, "%u", value);
284}
285
286void json_add_u64(struct json_stream *result, const char *fieldname,
287 uint64_t value)

Callers 15

json_add_utxoFunction · 0.85
json_listfundsFunction · 0.85
process_utxo_resultFunction · 0.85
json_transaction_detailsFunction · 0.85
finish_psbtFunction · 0.85
json_addpsbtoutputFunction · 0.85
json_addpsbtinputFunction · 0.85
build_commit_responseFunction · 0.85
json_feeratesFunction · 0.85
json_parse_feerateFunction · 0.85

Calls 1

json_add_primitive_fmtFunction · 0.85

Tested by 1

mainFunction · 0.68