diff options
author | Magnus Ahltorp <map@kth.se> | 2016-11-16 16:22:59 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2016-11-16 16:22:59 +0100 |
commit | 08d4b770473627526f7b47f92d2ae8aaadd01ce6 (patch) | |
tree | 8908d943eec9a7d34d18f9acf80c262d2248530f /doc/permdb.md | |
parent | 807c421aa8b1a3b1910add50fb0ffa47f6d6140f (diff) |
Change commit length field to 64-bit in permdb data file
Diffstat (limited to 'doc/permdb.md')
-rw-r--r-- | doc/permdb.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 |