package conex

  1. Overview
  2. Docs
Establishing trust in community repositories

Install

Dune Dependency

Authors

Maintainers

Sources

conex-v0.11.1.tbz
sha256=997966693236d1ab2930ff8bb24cce175e88279b99aaacd39fa022d5e45dd3b1
sha512=af207a3e6f35c81745d36fa8759846ed7ac357e9d8dfe0a7f3e0918e2a7f709d48d21ff15d6ee7b399a72c52d9c920cea478b1c7d7ad0d693637983f6dcb8033

doc/conex/Conex_resource/Wire/index.html

Module Conex_resource.WireSource

The wire encoding is abstract here, one suitable decoding and encoding engine is Conex_opam_encoding. The wire encoding is used for digest computations, and persistent storage on disk.

Sourcetype s =
  1. | Map of s Conex_utils.M.t
  2. | List of s list
  3. | Identifier of identifier
  4. | Data of string
  5. | Bigint of Conex_utils.Uint.t
  6. | Smallint of int
  7. | Pair of s * s
  8. | And of s * s
  9. | Or of s * s

The values in the key value store: either a map, a list, an identifier, data (represented as string), or an unsigned integer.

The toplevel node, a Map

Sourceval to_string : t -> string

to_string t is a string representing t. This is used by Conex_verify.S to compute digests and signatures. There is no parser for this string encoding available.

OCaml

Innovation. Community. Security.