Mavryk_dac_client_lib.Dac_observer_client
type Mavryk_base.TzPervasives.error +=
| Failed_to_initialize_dac_plugin
| Failed_to_fetch_missing_page_from_observer of Mavryk_dac_lib.Dac_plugin.raw_hash
| Timeout of Z.t
| Wrong_hash of {
found : Mavryk_dac_lib.Dac_plugin.raw_hash;
expected : Mavryk_dac_lib.Dac_plugin.raw_hash;
}
module Configuration : sig ... end
val init : Configuration.t -> t Mavryk_base.TzPervasives.tzresult Lwt.t
init configuration
initializes a Dac_observer_client.t
from configuration
.
val fetch_preimage :
t ->
Mavryk_dac_lib.Dac_plugin.t ->
Mavryk_dac_lib.Dac_plugin.hash ->
string Mavryk_base.TzPervasives.tzresult Lwt.t
fetch_preimage dac_observer_client dac_plugin hash
requests the preimage of hash
from a Dac Observer Node.