package tezos-store
Tezos: store for `octez-node`
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-store.unix/Tezos_store_unix/Protocol_store/index.html
Module Tezos_store_unix.Protocol_store
Source
Protocol store
The type for the protocol store.
mem pstore proto_hash
tests the existence of the protocol indexed by proto_hash
in the store.
all pstore
returns the set of all stored protocols in pstore
.
Source
val raw_store :
t ->
Tezos_base.TzPervasives.Protocol_hash.t ->
bytes ->
Tezos_base.TzPervasives.Protocol_hash.t option Lwt.t
raw_store pstore proto_hash proto_bytes
stores on disk the protocol proto_bytes
(encoded bytes) indexed as proto_hash
. Returns None
if the protocol already exists.
Source
val store :
t ->
Tezos_base.TzPervasives.Protocol_hash.t ->
Tezos_base.TzPervasives.Protocol.t ->
Tezos_base.TzPervasives.Protocol_hash.t option Lwt.t
store pstore proto_hash protocol
stores on disk the protocol protocol
indexed as proto_hash
. Returns None
if the protocol already exists.
Source
val read :
t ->
Tezos_base.TzPervasives.Protocol_hash.t ->
Tezos_base.TzPervasives.Protocol.t option Lwt.t
read pstore proto_hash
reads from pstore
and returns the protocol indexed by proto_hash
. Returns None
if the protocol cannot be read.
init store_dir
creates a store relatively to store_dir
path or loads it if it already exists.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>