summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/permdb.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/permdb.md b/doc/permdb.md
index 74ce443..c3c035f 100644
--- a/doc/permdb.md
+++ b/doc/permdb.md
@@ -56,10 +56,11 @@ All values are in big-endian byte order.
- entry
- entry
- ...
+ - commit start cookie [64-bit] = 0x75c2e4b3d5f643a1
- padding to 4-byte boundary
- length [32-bit]
- - checksum = SHA-256 of whole commit except checksum and cookie
- - commit cookie [64-bit] = 0x2b05eed61b5af550
+ - checksum = SHA-256 of whole commit except checksum and end cookie
+ - commit end cookie [64-bit] = 0x2b05eed61b5af550
- entry
- entry cookie [64-bit] = 0xe7c1cdc2ba3dc77c