Tezos_raw_protocol_014_PtKathma.Amendment
Amendments and proposals.
Only delegates with at least one roll take part in the amendment procedure. It works as follows:
The current protocol parameters are documented in src/proto_alpha/lib_parameters/default_parameters.ml
In practice, the real constants used are defined in the migration code. In src/proto_alpha/lib_protocol/init_storage.ml, function prepare_first_block
introduces new constants and redefines the existing ones.
val may_start_new_voting_period :
Alpha_context.context ->
Alpha_context.context
Tezos_protocol_environment_014_PtKathma.Error_monad.tzresult
Tezos_protocol_environment_014_PtKathma.Lwt.t
If at the end of a voting period, moves to the next one following the state machine of the amendment procedure.
val record_proposals :
Alpha_context.context ->
Tezos_protocol_environment_014_PtKathma.Chain_id.t ->
Alpha_context.public_key_hash ->
Tezos_protocol_environment_014_PtKathma.Protocol_hash.t list ->
Alpha_context.context
Tezos_protocol_environment_014_PtKathma.Error_monad.tzresult
Tezos_protocol_environment_014_PtKathma.Lwt.t
Records a list of proposals for a delegate.
val record_ballot :
Alpha_context.context ->
Alpha_context.public_key_hash ->
Tezos_protocol_environment_014_PtKathma.Protocol_hash.t ->
Alpha_context.Vote.ballot ->
Alpha_context.context
Tezos_protocol_environment_014_PtKathma.Error_monad.tzresult
Tezos_protocol_environment_014_PtKathma.Lwt.t
Records a vote for a delegate if the current voting period is Exploration or Promotion.