feat: Introduce append-only log file I/O for SignedEntry messages using a new LogRecord protobuf, including read/write utilities and documentation.

This commit is contained in:
2025-12-20 14:29:08 +01:00
parent f153cba267
commit b64afa063f
3 changed files with 547 additions and 0 deletions
+6
View File
@@ -65,3 +65,9 @@ message Frontier {
uint64 max_seq = 2; // Highest sequence number seen from this author
bytes last_hash = 3; // Hash of the last entry (for chain verification)
}
// 5. Log File Record (wrapper for storage)
message LogRecord {
bytes hash = 1; // BLAKE3 hash of entry_bytes (32 bytes)
bytes entry_bytes = 2; // Serialized SignedEntry
}