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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user