package octez-protocol-017-PtNairob-libs

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

Module RPC.Attestation_rightsSource

Sourcetype delegate_rights = {
  1. delegate : Tezos_protocol_017_PtNairob.Environment.Signature.Public_key_hash.t;
  2. consensus_key : Tezos_protocol_017_PtNairob.Environment.Signature.Public_key_hash.t;
  3. first_slot : Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Slot.t;
  4. attestation_power : int;
}
Sourcetype t = {
  1. level : Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Raw_level.t;
  2. delegates_rights : delegate_rights list;
  3. estimated_time : Tezos_protocol_017_PtNairob.Environment.Time.t option;
}
Sourceval delegate_rights_encoding : bool -> delegate_rights Tezos_protocol_017_PtNairob.Environment.Data_encoding.encoding
Sourceval encoding : use_endorsement:bool -> t Tezos_protocol_017_PtNairob.Environment.Data_encoding.encoding
Sourcemodule S : sig ... end
Sourceval attestation_rights_at_level : Tezos_raw_protocol_017_PtNairob.Alpha_context.context -> Tezos_raw_protocol_017_PtNairob.Alpha_context.Level.t -> (Tezos_raw_protocol_017_PtNairob.Alpha_context.context * t, Tezos_protocol_environment_017_PtNairob.Error_monad.error Tezos_protocol_environment_017_PtNairob.Error_monad.trace) Tezos_protocol_environment_017_PtNairob.Pervasives.result Tezos_protocol_environment_017_PtNairob.Lwt.t
Sourceval get_attestation_rights : Tezos_raw_protocol_017_PtNairob__Alpha_context.context -> S.attestation_rights_query -> (t list, Tezos_protocol_environment_017_PtNairob.Error_monad.error Tezos_protocol_environment_017_PtNairob.Error_monad.trace) Tezos_protocol_environment_017_PtNairob.Pervasives.result Tezos_protocol_environment_017_PtNairob.Lwt.t
Sourceval register : unit -> unit
Sourceval get : 'a Tezos_protocol_017_PtNairob.Environment.RPC_context.simple -> ?levels:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Raw_level.t list -> ?cycle:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Cycle.t -> ?delegates: Tezos_protocol_017_PtNairob.Environment.Signature.Public_key_hash.t list -> ?consensus_keys: Tezos_protocol_017_PtNairob.Environment.Signature.Public_key_hash.t list -> 'a -> t list Tezos_protocol_environment_017_PtNairob.Error_monad.shell_tzresult Tezos_protocol_environment_017_PtNairob.Lwt.t
OCaml

Innovation. Community. Security.