Mavryk_protocol_genesis.Protocol
val hash : Mavryk_crypto.Hashed.Protocol_hash.t
include module type of struct include Mavryk_raw_protocol_genesis end
module Data = Mavryk_raw_protocol_genesis.Data
module Main = Mavryk_raw_protocol_genesis.Main
module Services = Mavryk_raw_protocol_genesis.Services
include module type of struct include Mavryk_raw_protocol_genesis.Main end
type block_header_data = Mavryk_raw_protocol_genesis.Main.block_header_data = {
command : Mavryk_raw_protocol_genesis.Data.Command.t;
signature : Mavryk_protocol_environment_genesis.Signature.t;
}
include Mavryk_protocol_environment_genesis.Updater.PROTOCOL
with type block_header_data := block_header_data
val validation_passes : Mavryk_protocol_environment_genesis.Updater.quota list
val block_header_data_encoding :
block_header_data Mavryk_protocol_environment_genesis.Data_encoding.t
type block_header = Mavryk_raw_protocol_genesis.Main.block_header = {
shell : Mavryk_protocol_environment_genesis.Block_header.shell_header;
protocol_data : block_header_data;
}
type block_header_metadata =
Mavryk_raw_protocol_genesis.Main.block_header_metadata
val block_header_metadata_encoding :
block_header_metadata Mavryk_protocol_environment_genesis.Data_encoding.t
type operation_data = Mavryk_raw_protocol_genesis.Main.operation_data
type operation_receipt = Mavryk_raw_protocol_genesis.Main.operation_receipt
type operation = Mavryk_raw_protocol_genesis.Main.operation = {
shell : Mavryk_protocol_environment_genesis.Operation.shell_header;
protocol_data : operation_data;
}
val operation_data_encoding :
operation_data Mavryk_protocol_environment_genesis.Data_encoding.t
val operation_receipt_encoding :
operation_receipt Mavryk_protocol_environment_genesis.Data_encoding.t
val operation_data_and_receipt_encoding :
(operation_data * operation_receipt)
Mavryk_protocol_environment_genesis.Data_encoding.t
val acceptable_passes : operation -> int list
type validation_state = Mavryk_raw_protocol_genesis.Main.validation_state
val begin_partial_application :
chain_id:Mavryk_protocol_environment_genesis.Chain_id.t ->
ancestor_context:Mavryk_protocol_environment_genesis.Context.t ->
predecessor_timestamp:Mavryk_protocol_environment_genesis.Time.t ->
predecessor_fitness:Mavryk_protocol_environment_genesis.Fitness.t ->
block_header ->
validation_state Mavryk_protocol_environment_genesis.Error_monad.tzresult
Mavryk_protocol_environment_genesis.Lwt.t
val begin_application :
chain_id:Mavryk_protocol_environment_genesis.Chain_id.t ->
predecessor_context:Mavryk_protocol_environment_genesis.Context.t ->
predecessor_timestamp:Mavryk_protocol_environment_genesis.Time.t ->
predecessor_fitness:Mavryk_protocol_environment_genesis.Fitness.t ->
block_header ->
validation_state Mavryk_protocol_environment_genesis.Error_monad.tzresult
Mavryk_protocol_environment_genesis.Lwt.t
val begin_construction :
chain_id:Mavryk_protocol_environment_genesis.Chain_id.t ->
predecessor_context:Mavryk_protocol_environment_genesis.Context.t ->
predecessor_timestamp:Mavryk_protocol_environment_genesis.Time.t ->
predecessor_level:Mavryk_protocol_environment_genesis.Int32.t ->
predecessor_fitness:Mavryk_protocol_environment_genesis.Fitness.t ->
predecessor:Mavryk_protocol_environment_genesis.Block_hash.t ->
timestamp:Mavryk_protocol_environment_genesis.Time.t ->
?protocol_data:block_header_data ->
unit ->
validation_state Mavryk_protocol_environment_genesis.Error_monad.tzresult
Mavryk_protocol_environment_genesis.Lwt.t