package octez-proto-libs
Octez protocol libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V11/Make/Timelock/index.html
Module Make.Timelock
Source
Contains a value (the decryption of the ciphertext) that can be provably recovered in time
sequential operation or with the rsa secret.
val chest_encoding : chest Data_encoding.t
val chest_key_encoding : chest_key Data_encoding.t
Result of the opening of a chest. The opening can fail if one provides a false unlocked_value or unlocked_proof, in which case we return Bogus_opening
and the provider of the chest key is at fault. Otherwise we return Correct payload
where payload was what had originally been put in the chest.
val open_chest : chest -> chest_key -> time:int -> opening_result
Takes a chest, chest key and time and tries to recover the underlying plaintext. See the documentation of opening_result.
val get_plaintext_size : chest -> int
Gives the size of the underlying plaintext in a chest in bytes. Used for gas accounting
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>