aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/doc/log_format.txt
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-12-12 02:17:17 +0100
committerGavin Andresen <gavinandresen@gmail.com>2013-01-23 10:41:44 -0500
commit4786302fb99f930afca1e778255b72c6999ca480 (patch)
tree8c92a473f0c8772d152561d909fedce4b8ed5d2f /src/leveldb/doc/log_format.txt
parentc429f2b062140843f42b78d70278279c6be74441 (diff)
downloadbitcoin-4786302fb99f930afca1e778255b72c6999ca480.tar.xz
Replace leveldb/ with vanilla 1.7.0
Diffstat (limited to 'src/leveldb/doc/log_format.txt')
-rw-r--r--src/leveldb/doc/log_format.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leveldb/doc/log_format.txt b/src/leveldb/doc/log_format.txt
index 3a0414b65a..5228f624de 100644
--- a/src/leveldb/doc/log_format.txt
+++ b/src/leveldb/doc/log_format.txt
@@ -4,8 +4,8 @@ exception is that the tail of the file may contain a partial block.
Each block consists of a sequence of records:
block := record* trailer?
record :=
- checksum: uint32 // crc32c of type and data[]
- length: uint16
+ checksum: uint32 // crc32c of type and data[] ; little-endian
+ length: uint16 // little-endian
type: uint8 // One of FULL, FIRST, MIDDLE, LAST
data: uint8[length]