Mavryk_raw_protocol_demo_counter.Main
Tezos Protocol Implementation - Protocol Signature Instance.
This module implements the economic protocol signature. It also exports the RPC services defined in module Services.
include Mavryk_protocol_environment_demo_counter.Updater.PROTOCOL
with type block_header_data = Header.t
and type operation_receipt = Receipt.t
and type operation_data = Proto_operation.t
val validation_passes :
Mavryk_protocol_environment_demo_counter.Updater.quota list
type block_header_data = Header.t
val block_header_data_encoding :
block_header_data Mavryk_protocol_environment_demo_counter.Data_encoding.t
type block_header = {
shell : Mavryk_protocol_environment_demo_counter.Block_header.shell_header;
protocol_data : block_header_data;
}
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 = Proto_operation.t
type operation_receipt = Receipt.t
type 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 =
| 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;
}
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 : sig ... end