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

Function json_add_bip340sig

common/json_stream.c:428–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428void json_add_bip340sig(struct json_stream *response,
429 const char *fieldname,
430 const struct bip340sig *sig)
431{
432 json_add_hex(response, fieldname, sig->u8, sizeof(sig->u8));
433}
434
435void json_add_txid(struct json_stream *result, const char *fieldname,
436 const struct bitcoin_txid *txid)

Callers 2

json_add_offerFunction · 0.85
json_add_b12_invoiceFunction · 0.85

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected