package tezos-proxy

  1. Overview
  2. Docs

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

Parameters

Signature

val consensus : input -> (Uri.t * Tezos_rpc.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.