package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-libs.crypto-dal/Tezos_crypto_dal/Cryptobox/Config/index.html
Module Cryptobox.Config
Source
node parameters for the DAL.
Source
type t = Tezos_crypto_dal_octez_dal_config.Dal_config.t = {
activated : bool;
use_mock_srs_for_testing : parameters option;
bootstrap_peers : string list;
}
Source
val init_dal :
find_srs_files:
(unit -> (string * string) Tezos_error_monad.Error_monad.tzresult) ->
?srs_size_log2:int ->
t ->
unit Tezos_error_monad.Error_monad.tzresult Lwt.t
init_dal find_trusted_setup_files ?(srs_size_log2=21) config
initializes the DAL according to the dal configuration config
, a function to find the SRS files find_trusted_setup_files
and the optional log2 of the SRS size srs_size_log2
.
When config.use_mock_srs_for_testing = None
, init_dal
loads initialisation_parameters
from the files at the paths provided by find_trusted_setup_files ()
. It is important that every time the primitives above are used, they are used with the very same initialization parameters. (To ensure this property, an integrity check is run.) In this case, init_dal
can take several seconds to run.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>