2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
(* Tezos Protocol Implementation - Protocol Signature Instance *)
|
|
|
|
|
|
|
|
type operation = Tezos_context.operation
|
|
|
|
|
|
|
|
let parse_operation = Tezos_context.Operation.parse
|
|
|
|
|
|
|
|
let max_operation_data_length =
|
|
|
|
Tezos_context.Operation.max_operation_data_length
|
|
|
|
|
2016-10-19 22:47:04 +04:00
|
|
|
type block =
|
2016-09-08 21:13:10 +04:00
|
|
|
Tezos_context.Block.header
|
|
|
|
|
2016-10-19 22:47:04 +04:00
|
|
|
let parse_block =
|
2016-09-08 21:13:10 +04:00
|
|
|
Tezos_context.Block.parse_header
|
|
|
|
|
|
|
|
let max_number_of_operations =
|
|
|
|
Tezos_context.Constants.max_number_of_operations
|
|
|
|
|
2016-10-19 22:47:04 +04:00
|
|
|
let max_block_length =
|
2016-09-08 21:13:10 +04:00
|
|
|
Tezos_context.Block.max_header_length
|
|
|
|
|
|
|
|
let rpc_services = Services_registration.rpc_services
|
|
|
|
|
|
|
|
let apply ctxt header ops = Apply.apply ctxt true header ops
|
|
|
|
|
|
|
|
let preapply = Apply.preapply
|
|
|
|
|
|
|
|
let configure_sandbox = Tezos_context.configure_sandbox
|