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
+1
View File
@@ -22,5 +22,6 @@ blob_allocate(struct data_stream *stmp)
memcpy(bp->data, stmp->data, stmp->length);
}
memcpy(bp->hash, stmp->hash, SHA256_N_BYTES);
return bp;
}