package tezos-protocol-017-PtNairob

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

Errors that may arise while validating a consensus operation.

type consensus_operation_kind =
  1. | Preendorsement
  2. | Endorsement
  3. | Dal_attestation
type Tezos_protocol_environment_017_PtNairob.Error_monad.error +=
  1. | Zero_frozen_deposits of Tezos_protocol_environment_017_PtNairob.Signature.Public_key_hash.t
  2. | Consensus_operation_not_allowed
  3. | Consensus_operation_for_old_level of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Raw_level.t;
    3. provided : Alpha_context.Raw_level.t;
    }
  4. | Consensus_operation_for_future_level of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Raw_level.t;
    3. provided : Alpha_context.Raw_level.t;
    }
  5. | Consensus_operation_for_old_round of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Round.t;
    3. provided : Alpha_context.Round.t;
    }
  6. | Consensus_operation_for_future_round of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Round.t;
    3. provided : Alpha_context.Round.t;
    }
  7. | Wrong_payload_hash_for_consensus_operation of {
    1. kind : consensus_operation_kind;
    2. expected : Block_payload_hash.t;
    3. provided : Block_payload_hash.t;
    }
  8. | Unexpected_preendorsement_in_block
  9. | Unexpected_endorsement_in_block
  10. | Preendorsement_round_too_high of {
    1. block_round : Alpha_context.Round.t;
    2. provided : Alpha_context.Round.t;
    }
  11. | Wrong_slot_used_for_consensus_operation of {
    1. kind : consensus_operation_kind;
    }
  12. | Conflicting_consensus_operation of {
    1. kind : consensus_operation_kind;
    2. conflict : operation_conflict;
    }

Errors for preendorsements and endorsements.

OCaml

Innovation. Community. Security.