package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-protocol-alpha-libs.plugin/Tezos_protocol_plugin_alpha/RPC/Attestation_rights/index.html

Module RPC.Attestation_rightsSource

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

Innovation. Community. Security.