From 08d4b770473627526f7b47f92d2ae8aaadd01ce6 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Wed, 16 Nov 2016 16:22:59 +0100 Subject: Change commit length field to 64-bit in permdb data file --- doc/permdb.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/permdb.md') diff --git a/doc/permdb.md b/doc/permdb.md index 716d384..66184d2 100644 --- a/doc/permdb.md +++ b/doc/permdb.md @@ -44,7 +44,7 @@ bytes. Therefore, the data in an entry is chunked. All values are in big-endian byte order. - file - - file cookie [64-bit] = 0xd53551ba539a4252 + - file cookie [64-bit] = 0x99c99d588b1e7983 - parameters - commits - commit @@ -58,7 +58,7 @@ All values are in big-endian byte order. - ... - commit start cookie [64-bit] = 0x75c2e4b3d5f643a1 - padding to 4-byte boundary - - length [32-bit] + - length [64-bit] - checksum = SHA-256 of whole commit except checksum and end cookie - commit end cookie [64-bit] = 0x2b05eed61b5af550 -- cgit v1.1