Mavryk_protocol_demo_counter.Protocol
val hash : Mavryk_crypto.Hashed.Protocol_hash.t
include module type of struct include Mavryk_raw_protocol_demo_counter end
module Apply = Mavryk_raw_protocol_demo_counter.Apply
module Error = Mavryk_raw_protocol_demo_counter.Error
module Header = Mavryk_raw_protocol_demo_counter.Header
module Main = Mavryk_raw_protocol_demo_counter.Main
module Proto_operation = Mavryk_raw_protocol_demo_counter.Proto_operation
module Proto_params = Mavryk_raw_protocol_demo_counter.Proto_params
module Receipt = Mavryk_raw_protocol_demo_counter.Receipt
module Services = Mavryk_raw_protocol_demo_counter.Services
module State = Mavryk_raw_protocol_demo_counter.State
include module type of struct include Mavryk_raw_protocol_demo_counter.Main end
include Mavryk_protocol_environment_demo_counter.Updater.PROTOCOL
with type block_header_data = Mavryk_raw_protocol_demo_counter.Header.t
and type operation_receipt = Mavryk_raw_protocol_demo_counter.Receipt.t
and type operation_data = Mavryk_raw_protocol_demo_counter.Proto_operation.t
val validation_passes :
Mavryk_protocol_environment_demo_counter.Updater.quota list
type block_header_data = Mavryk_raw_protocol_demo_counter.Header.t
val block_header_data_encoding :
block_header_data Mavryk_protocol_environment_demo_counter.Data_encoding.t
type block_header = Mavryk_raw_protocol_demo_counter.Main.block_header = {
shell : Mavryk_protocol_environment_demo_counter.Block_header.shell_header;
protocol_data : block_header_data;
}
type block_header_metadata =
Mavryk_raw_protocol_demo_counter.Main.block_header_metadata
val block_header_metadata_encoding_with_legacy_attestation_name :
block_header_metadata
Mavryk_protocol_environment_demo_counter.Data_encoding.t
val block_header_metadata_encoding :
block_header_metadata
Mavryk_protocol_environment_demo_counter.Data_encoding.t
type operation_data = Mavryk_raw_protocol_demo_counter.Proto_operation.t
type operation_receipt = Mavryk_raw_protocol_demo_counter.Receipt.t
type operation = Mavryk_raw_protocol_demo_counter.Main.operation = {
shell : Mavryk_protocol_environment_demo_counter.Operation.shell_header;
protocol_data : operation_data;
}
val operation_data_encoding :
operation_data Mavryk_protocol_environment_demo_counter.Data_encoding.t
val operation_data_encoding_with_legacy_attestation_name :
operation_data Mavryk_protocol_environment_demo_counter.Data_encoding.t
val operation_receipt_encoding :
operation_receipt Mavryk_protocol_environment_demo_counter.Data_encoding.t
val operation_receipt_encoding_with_legacy_attestation_name :
operation_receipt Mavryk_protocol_environment_demo_counter.Data_encoding.t
val operation_data_and_receipt_encoding :
(operation_data * operation_receipt)
Mavryk_protocol_environment_demo_counter.Data_encoding.t
val operation_data_and_receipt_encoding_with_legacy_attestation_name :
(operation_data * operation_receipt)
Mavryk_protocol_environment_demo_counter.Data_encoding.t
val acceptable_pass : operation -> int option
val compare_operations :
(Mavryk_protocol_environment_demo_counter.Operation_hash.t * operation) ->
(Mavryk_protocol_environment_demo_counter.Operation_hash.t * operation) ->
int
type mode = Mavryk_raw_protocol_demo_counter.Main.mode =
| Application of block_header
| Partial_validation of block_header
| Construction of {
predecessor_hash : Mavryk_protocol_environment_demo_counter.Block_hash.t;
timestamp : Mavryk_protocol_environment_demo_counter.Time.t;
block_header_data : block_header_data;
}
| Partial_construction of {
predecessor_hash : Mavryk_protocol_environment_demo_counter.Block_hash.t;
timestamp : Mavryk_protocol_environment_demo_counter.Time.t;
}
type validation_state = Mavryk_raw_protocol_demo_counter.Main.validation_state
type application_state =
Mavryk_raw_protocol_demo_counter.Main.application_state
val begin_validation :
Mavryk_protocol_environment_demo_counter.Context.t ->
Mavryk_protocol_environment_demo_counter.Chain_id.t ->
mode ->
predecessor:
Mavryk_protocol_environment_demo_counter.Block_header.shell_header ->
validation_state
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
val validate_operation :
?check_signature:bool ->
validation_state ->
Mavryk_protocol_environment_demo_counter.Operation_hash.t ->
operation ->
validation_state
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
val finalize_validation :
validation_state ->
unit Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
val begin_application :
Mavryk_protocol_environment_demo_counter.Context.t ->
Mavryk_protocol_environment_demo_counter.Chain_id.t ->
mode ->
predecessor:
Mavryk_protocol_environment_demo_counter.Block_header.shell_header ->
application_state
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
val finalize_application :
application_state ->
Mavryk_protocol_environment_demo_counter.Block_header.shell_header option ->
(Mavryk_protocol_environment_demo_counter.Updater.validation_result
* block_header_metadata)
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
val init :
Mavryk_protocol_environment_demo_counter.Chain_id.t ->
Mavryk_protocol_environment_demo_counter.Context.t ->
Mavryk_protocol_environment_demo_counter.Block_header.shell_header ->
Mavryk_protocol_environment_demo_counter.Updater.validation_result
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
val value_of_key :
chain_id:Mavryk_protocol_environment_demo_counter.Chain_id.t ->
predecessor_context:Mavryk_protocol_environment_demo_counter.Context.t ->
predecessor_timestamp:Mavryk_protocol_environment_demo_counter.Time.t ->
predecessor_level:Mavryk_protocol_environment_demo_counter.Int32.t ->
predecessor_fitness:Mavryk_protocol_environment_demo_counter.Fitness.t ->
predecessor:Mavryk_protocol_environment_demo_counter.Block_hash.t ->
timestamp:Mavryk_protocol_environment_demo_counter.Time.t ->
(Mavryk_protocol_environment_demo_counter.Context.Cache.key ->
Mavryk_protocol_environment_demo_counter.Context.Cache.value
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t)
Mavryk_protocol_environment_demo_counter.Error_monad.tzresult
Mavryk_protocol_environment_demo_counter.Lwt.t
module Mempool = Mavryk_raw_protocol_demo_counter.Main.Mempool