| 224 | } |
| 225 | |
| 226 | void bitcoin_block_blkid(const struct bitcoin_block *b, |
| 227 | struct bitcoin_blkid *out) |
| 228 | { |
| 229 | *out = b->hdr.hash; |
| 230 | } |
| 231 | |
| 232 | static bool bitcoin_blkid_to_hex(const struct bitcoin_blkid *blockid, |
| 233 | char *hexstr, size_t hexstr_len) |