package tezt-tezos

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Dac_rpc.V0Source

V0 is experimental DAC API.

Sourceval api_prefix : string

api_prefix is a URL prefix of the V0 API endpoints.

Sourceval get_preimage : string -> (Dac_node.t, string) RPC_core.t

get_preimage hash requests the preimage of hash, consisting of a single page, from cctxt. When the request succeeds, the raw page will be returned as a sequence of bytes.

Sourceval make_put_dac_member_signature_request_body : dac_member_pkh:string -> root_hash:Hex.t -> Tezos_crypto.Aggregate_signature.signature -> Ezjsonm.value

make_put_dac_member_sigature_request_body ~dac_member_pkh ~root_hash signature creates a JSON body for "PUT v0/dac_member_signature".

Sourceval put_dac_member_signature : hex_root_hash:Hex.t -> dac_member_pkh:string -> signature:Tezos_crypto.Aggregate_signature.t -> (Dac_node.t, unit) RPC_core.t

put_dac_member_signature hex_root_hash dac_member_pkh signature stores the signature generated from signing hex_root_hash by dac_member_pkh.

Sourceval get_missing_page : hex_root_hash:Hex.t -> (Dac_node.t, string) RPC_core.t

get_missing_page ~hex_root_hash calls "GET v0/missing_page/page_hash" endpoint.

Sourceval get_certificate : hex_root_hash:Hex.t -> (Dac_node.t, int * string * string * int) RPC_core.t

get_certificate ~hex_root_hash fetches the DAC certificate for the provided hex_root_hash.

Sourceval get_serialized_certificate : hex_root_hash:Hex.t -> (Dac_node.t, string) RPC_core.t

get_serialized_certificate ~hex_root_hash fetches the DAC certificate for the provided hex_root_hash with SDK kernel compatible root_hash encoding.

Sourcemodule Coordinator : sig ... end
OCaml

Innovation. Community. Security.