commit d13482ec75f44aea5e16f7942945a9263d4736f5
parent 4d8c3d50ca614a40275ad223fdfd31fd897b9627
Author: sin <sin@2f30.org>
Date: Tue, 14 May 2019 11:12:33 +0100
Update DESIGN
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/DESIGN b/DESIGN
@@ -23,7 +23,9 @@ bottom these are as follows:
- The storage layer
The generic layer is the one that client code interfaces with. It is
-the top level entrypoint to the block layer.
+the top level entrypoint to the block layer. The generic layer
+calculates the hash of the block and passes it down to the storage
+layer when writing a new block.
The compression layer will prepend a compression descriptor to the
block and then compress the block using snappy or lz4. It is possible