package tezos-protocol-011-PtHangz2

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

This module defines protocol parameters, i.e. constants regulating the behaviour of the blockchain under the protocol.

type bootstrap_account = {
  1. public_key_hash : Tezos_crypto.Signature.public_key_hash;
  2. public_key : Tezos_crypto.Signature.public_key option;
  3. amount : Tez_repr.t;
}

An implict contract (account) initially existing on a chain since genesis.

type bootstrap_contract = {
  1. delegate : Tezos_crypto.Signature.public_key_hash;
  2. amount : Tez_repr.t;
  3. script : Script_repr.t;
}

An originated contract initially existing on a chain since genesis.

type t = {
  1. bootstrap_accounts : bootstrap_account list;
  2. bootstrap_contracts : bootstrap_contract list;
  3. commitments : Commitment_repr.t list;
  4. constants : Constants_repr.parametric;
  5. security_deposit_ramp_up_cycles : int option;
  6. no_reward_cycles : int option;
}

Protocol parameters define some constants regulating behaviour of the chain.

val encoding : t Data_encoding.t
val check_params : t -> (unit, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) result
OCaml

Innovation. Community. Security.