package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/tezos_context_disk/Tezos_context_disk/Context_binary/index.html
Module Tezos_context_disk.Context_binary
Source
val equal_config :
Tezos_context_sigs.Config.t ->
Tezos_context_sigs.Config.t ->
bool
val config : t -> Tezos_context_sigs.Config.t
module Proof : sig ... end
Source
val produce_tree_proof :
index ->
kinded_key ->
(tree -> (tree * 'a) Lwt.t) ->
(Proof.tree Proof.t * 'a) Lwt.t
val verify_tree_proof :
Proof.tree Proof.t ->
(tree -> (tree * 'a) Lwt.t) ->
(tree * 'a,
[ `Proof_mismatch of string
| `Stream_too_long of string
| `Stream_too_short of string ])
Stdlib.result
Lwt.t
Source
val produce_stream_proof :
index ->
kinded_key ->
(tree -> (tree * 'a) Lwt.t) ->
(Proof.stream Proof.t * 'a) Lwt.t
val verify_stream_proof :
Proof.stream Proof.t ->
(tree -> (tree * 'a) Lwt.t) ->
(tree * 'a,
[ `Proof_mismatch of string
| `Stream_too_long of string
| `Stream_too_short of string ])
Stdlib.result
Lwt.t
Source
val init :
?patch_context:(context -> context Tezos_base.TzPervasives.tzresult Lwt.t) ->
?readonly:bool ->
?index_log_size:int ->
string ->
index Lwt.t
Source
val compute_testchain_chain_id :
Tezos_base.TzPervasives.Block_hash.t ->
Tezos_base.TzPervasives.Chain_id.t
Source
val compute_testchain_genesis :
Tezos_base.TzPervasives.Block_hash.t ->
Tezos_base.TzPervasives.Block_hash.t
Source
val commit_genesis :
index ->
chain_id:Tezos_base.TzPervasives.Chain_id.t ->
time:Tezos_base.TzPervasives.Time.Protocol.t ->
protocol:Tezos_base.TzPervasives.Protocol_hash.t ->
Tezos_base.TzPervasives.Context_hash.t Tezos_base.TzPervasives.tzresult Lwt.t
Source
val commit_test_chain_genesis :
context ->
Tezos_base.TzPervasives.Block_header.t ->
Tezos_base.TzPervasives.Block_header.t Lwt.t
Source
val merkle_tree :
t ->
Tezos_context_sigs__Context.Proof_types.merkle_leaf_kind ->
key ->
Tezos_context_sigs__Context.Proof_types.merkle_node
Tezos_base.TzPervasives.String.Map.t
Lwt.t
Source
val merkle_tree_v2 :
t ->
Tezos_context_sigs__Context.Proof_types.merkle_leaf_kind ->
key ->
Proof.tree Proof.t Lwt.t
Source
val hash :
time:Tezos_base.TzPervasives.Time.Protocol.t ->
?message:string ->
t ->
Tezos_base.TzPervasives.Context_hash.t
Source
val commit :
time:Tezos_base.TzPervasives.Time.Protocol.t ->
?message:string ->
context ->
Tezos_base.TzPervasives.Context_hash.t Lwt.t
Source
val export_snapshot :
index ->
Tezos_base.TzPervasives.Context_hash.t ->
path:string ->
unit Lwt.t
Source
val set_head :
index ->
Tezos_crypto.Hashed.Chain_id.t ->
Tezos_base.TzPervasives.Context_hash.t ->
unit Lwt.t
Source
val set_hash_version :
context ->
Tezos_base.TzPervasives.Context_hash.Version.t ->
context Tezos_base.TzPervasives.tzresult Lwt.t
Source
val fork_test_chain :
context ->
protocol:Tezos_base.TzPervasives.Protocol_hash.t ->
expiration:Tezos_base.TzPervasives.Time.Protocol.t ->
context Lwt.t
Source
val find_predecessor_block_metadata_hash :
context ->
Tezos_base.TzPervasives.Block_metadata_hash.t option Lwt.t
Source
val add_predecessor_block_metadata_hash :
context ->
Tezos_base.TzPervasives.Block_metadata_hash.t ->
context Lwt.t
Source
val find_predecessor_ops_metadata_hash :
context ->
Tezos_base.TzPervasives.Operation_metadata_list_list_hash.t option Lwt.t
Source
val add_predecessor_ops_metadata_hash :
context ->
Tezos_base.TzPervasives.Operation_metadata_list_list_hash.t ->
context Lwt.t
Source
val restore_context :
index ->
expected_context_hash:Tezos_base.TzPervasives.Context_hash.t ->
nb_context_elements:int ->
fd:Lwt_unix.file_descr ->
in_memory:bool ->
progress_display_mode:Tezos_stdlib_unix.Animation.progress_display_mode ->
unit Tezos_base.TzPervasives.tzresult Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>