| 458 | } |
| 459 | |
| 460 | void json_add_bitcoin_blkid(struct json_stream *result, const char *fieldname, |
| 461 | const struct bitcoin_blkid *blkid) |
| 462 | { |
| 463 | char hex[hex_str_size(sizeof(*blkid))]; |
| 464 | |
| 465 | bitcoin_blkid_to_hex(blkid, hex, sizeof(hex)); |
| 466 | json_add_string(result, fieldname, hex); |
| 467 | } |
| 468 | |
| 469 | void json_add_outpoint(struct json_stream *result, const char *fieldname, |
| 470 | const struct bitcoin_outpoint *out) |
nothing calls this directly
no test coverage detected