package tezos-dal-node-lib
class type cctxt = object ... end
Instance of Tezos_client_base.Client_context
that only handles IOs and RPCs. Can be used for keys and RPCs related commands.
class unix_cctxt : rpc_config:Tezos_rpc_http_client_unix.RPC_client_unix.config -> cctxt
Instance of cctxt
for linux systems. Relies on Tezos_rpc_http_client_unix
.
make_unix_context endpoint
generates a cctxt with the provided endpoint
.
val get_slot_pages :
cctxt ->
Tezos_crypto_dal.Cryptobox.Commitment.t ->
bytes list Tezos_base.TzPervasives.tzresult Lwt.t
get_slot_pages cctxt header
fetches from the dal node the pages of the slot with header header
.
val get_page_proof :
cctxt ->
int ->
bytes ->
Tezos_crypto_dal.Cryptobox.page_proof Tezos_base.TzPervasives.tzresult Lwt.t
get_page_proof cctxt page_index slot_data
computes and returns the proof of the page whose index and slot are given.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>