Mavryk_raw_protocol_demo_noops.Main
Mavryk Protocol Implementation - Protocol Signature Instance
include Mavryk_protocol_environment_demo_noops.Updater.PROTOCOL
with type block_header_data = string
val validation_passes :
Mavryk_protocol_environment_demo_noops.Updater.quota list
val block_header_data_encoding :
block_header_data Mavryk_protocol_environment_demo_noops.Data_encoding.t
type block_header = {
shell : Mavryk_protocol_environment_demo_noops.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_noops.Data_encoding.t
val block_header_metadata_encoding :
block_header_metadata Mavryk_protocol_environment_demo_noops.Data_encoding.t
type operation = {
shell : Mavryk_protocol_environment_demo_noops.Operation.shell_header;
protocol_data : operation_data;
}
val operation_data_encoding :
operation_data Mavryk_protocol_environment_demo_noops.Data_encoding.t
val operation_data_encoding_with_legacy_attestation_name :
operation_data Mavryk_protocol_environment_demo_noops.Data_encoding.t
val operation_receipt_encoding :
operation_receipt Mavryk_protocol_environment_demo_noops.Data_encoding.t
val operation_receipt_encoding_with_legacy_attestation_name :
operation_receipt Mavryk_protocol_environment_demo_noops.Data_encoding.t
val operation_data_and_receipt_encoding :
(operation_data * operation_receipt)
Mavryk_protocol_environment_demo_noops.Data_encoding.t
val operation_data_and_receipt_encoding_with_legacy_attestation_name :
(operation_data * operation_receipt)
Mavryk_protocol_environment_demo_noops.Data_encoding.t
val acceptable_pass : operation -> int option
val compare_operations :
(Mavryk_protocol_environment_demo_noops.Operation_hash.t * operation) ->
(Mavryk_protocol_environment_demo_noops.Operation_hash.t * operation) ->
int
type mode =
| Application of block_header
| Partial_validation of block_header
| Construction of {
predecessor_hash : Mavryk_protocol_environment_demo_noops.Block_hash.t;
timestamp : Mavryk_protocol_environment_demo_noops.Time.t;
block_header_data : block_header_data;
}
| Partial_construction of {
predecessor_hash : Mavryk_protocol_environment_demo_noops.Block_hash.t;
timestamp : Mavryk_protocol_environment_demo_noops.Time.t;
}
val begin_validation :
Mavryk_protocol_environment_demo_noops.Context.t ->
Mavryk_protocol_environment_demo_noops.Chain_id.t ->
mode ->
predecessor:Mavryk_protocol_environment_demo_noops.Block_header.shell_header ->
validation_state Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
val validate_operation :
?check_signature:bool ->
validation_state ->
Mavryk_protocol_environment_demo_noops.Operation_hash.t ->
operation ->
validation_state Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
val finalize_validation :
validation_state ->
unit Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
val begin_application :
Mavryk_protocol_environment_demo_noops.Context.t ->
Mavryk_protocol_environment_demo_noops.Chain_id.t ->
mode ->
predecessor:Mavryk_protocol_environment_demo_noops.Block_header.shell_header ->
application_state Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
val finalize_application :
application_state ->
Mavryk_protocol_environment_demo_noops.Block_header.shell_header option ->
(Mavryk_protocol_environment_demo_noops.Updater.validation_result
* block_header_metadata)
Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
val init :
Mavryk_protocol_environment_demo_noops.Chain_id.t ->
Mavryk_protocol_environment_demo_noops.Context.t ->
Mavryk_protocol_environment_demo_noops.Block_header.shell_header ->
Mavryk_protocol_environment_demo_noops.Updater.validation_result
Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
val value_of_key :
chain_id:Mavryk_protocol_environment_demo_noops.Chain_id.t ->
predecessor_context:Mavryk_protocol_environment_demo_noops.Context.t ->
predecessor_timestamp:Mavryk_protocol_environment_demo_noops.Time.t ->
predecessor_level:Mavryk_protocol_environment_demo_noops.Int32.t ->
predecessor_fitness:Mavryk_protocol_environment_demo_noops.Fitness.t ->
predecessor:Mavryk_protocol_environment_demo_noops.Block_hash.t ->
timestamp:Mavryk_protocol_environment_demo_noops.Time.t ->
(Mavryk_protocol_environment_demo_noops.Context.Cache.key ->
Mavryk_protocol_environment_demo_noops.Context.Cache.value
Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t)
Mavryk_protocol_environment_demo_noops.Error_monad.tzresult
Mavryk_protocol_environment_demo_noops.Lwt.t
module Mempool : sig ... end