package tezos-protocol-015-PtLimaPt
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Delegate_consensus_key/index.html
Module Tezos_raw_protocol_015_PtLimaPt.Delegate_consensus_key
Source
Source
type Tezos_protocol_environment_015_PtLimaPt.Error_monad.error +=
| Invalid_consensus_key_update_noop of Cycle_repr.t
| Invalid_consensus_key_update_active
Source
type pk = Raw_context.consensus_pk = {
delegate : Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t;
consensus_pk : Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key.t;
consensus_pkh : Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t;
}
The public key of a consensus key and the associated delegate.
Source
type t = {
delegate : Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t;
consensus_pkh : Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t;
}
The public key hash of a consensus key and the associated delegate.
Source
val init :
Raw_context.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key.t ->
Raw_context.t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Initialize the consensus key when registering a delegate.
Source
val active_pubkey :
Raw_context.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t ->
pk Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Returns the active consensus key for the current cycle.
Source
val active_key :
Raw_context.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t ->
t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Returns the active consensus key for the current cycle.
Source
val active_pubkey_for_cycle :
Raw_context.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t ->
Cycle_repr.t ->
pk Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Returns the active consensus key for the given cycle.
Source
val pending_updates :
Raw_context.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t ->
(Cycle_repr.t
* Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t)
list
Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Returns the list of pending consensus-key updates in upcoming cycles.
Source
val register_update :
Raw_context.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key_hash.t ->
Tezos_protocol_environment_015_PtLimaPt.Signature.Public_key.t ->
Raw_context.t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Register a consensus-key update.
Source
val activate :
Raw_context.t ->
new_cycle:Cycle_repr.t ->
Raw_context.t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Tezos_protocol_environment_015_PtLimaPt.Lwt.t
Activate consensus keys at the beginning of cycle new_cycle
. This function iterates on all registered delegates.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>