package tezos-store
Tezos: store for `octez-node`
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-store.unix/Tezos_store_unix/Store/Protocol/index.html
Module Store.Protocol
Source
The module for handling protocol-related operations.
mem global_store ph
checks the existence of the protocol ph
in global_store
.
all global_store ph
returns the set of all stored protocol in global_store
.
Source
val read :
store ->
Tezos_base.TzPervasives.Protocol_hash.t ->
Tezos_base.TzPervasives.Protocol.t option Lwt.t
read global_store ph
reads the protocol ph
from the global_store
. Returns None
if it does not exist.
Source
val store :
store ->
Tezos_base.TzPervasives.Protocol_hash.t ->
Tezos_base.TzPervasives.Protocol.t ->
Tezos_base.TzPervasives.Protocol_hash.t option Lwt.t
store global_store ph protocol
stores the protocol
under the hash ph
in the global_store
. Returns None
if it already exists or Some ph
if it was correctly stored.
Warning No hash check is made, the caller must be careful when storing protocols.
Source
val store_raw :
store ->
Tezos_base.TzPervasives.Protocol_hash.t ->
bytes ->
Tezos_base.TzPervasives.Protocol_hash.t option Lwt.t
store_raw global_store ph bytes
raw version of store
.
Source
val protocol_watcher :
store ->
Tezos_base.TzPervasives.Protocol_hash.t Lwt_stream.t * Lwt_watcher.stopper
protocol_watcher global_store
instantiates a new protocol watcher in global_store
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>