package tezos-context
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-context.encoding/Tezos_context_encoding/Context/Conf/index.html
Module Context.ConfSource
The branching factor of the inode tree. 32 is a good choice for general applications.
This offers a way to conditional base hashing on node entries instead of inodes. It is available for some backwards compatibility applications, but for most applications, this should be set to 0.
Describes the length header of the user's contents values when binary-encoded. Supported modes are:
Some `Varint: the length header is a LEB128-encoded integer at the very beginning of the encoded value.
None: there is no length header, and values have unknown size. NOTE: when usingirmin-packin this mode, the selected indexing strategy must index all contents values (as recovering contents values from the store will require referring to the index for their length information).
The strategy used for sorting entries. `Hash_bits is the recommended choice. `Seeded_hash is vunerable to attacks if storing user-generated keys.
If true, irmin-pack raises Failure if it is asked to save the empty inode. This default is false. It should be set to true if the Schema of the store allows a hash collision between the empty inode and this string of length 1: "\000".
See https://github.com/mirage/irmin/issues/1304