core: blob+stream: Store stream/blob hashes

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-04-30 21:28:09 -04:00
parent 1d4bb8769a
commit e35d8cf136
7 changed files with 18 additions and 1 deletions
+3
View File
@@ -95,6 +95,9 @@ blob_list_dump(struct blob_list *lp)
while (blob != NULL) {
printf("blob %zd/%zd\n", count++, lp->count);
printf("... length :: %zd\n", blob->length);
printf("... hash :: ");
dump_bytes(blob->hash, SHA256_N_BYTES);
printf("... data :: ");
dump_bytes(blob->data, blob->length < DUMP_SIZE
? blob->length