package octez-shell-libs

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

Given RPCs specific to the light mode, obtain the consensus algorithm

Parameters

Signature

val consensus : input -> (Uri.t * Tezos_rpc.Context.simple) list -> bool Lwt.t

Whether consensus on data can be achieved. Parameters are:

  • The data to consider
  • The endpoints to contact for validating

Returns: whether consensus was attained or an error message.

OCaml

Innovation. Community. Security.