0a7f9a39a9
This is a rewrite of the build system with `jbuilder`, with just a minimal toplevel Makefile for backward compatibility. This first patch preserves the project architecture, we only gain proper dependencies handling and always up-to-date `.merlin` files. A latter patch may split the project in smaller "sub-package", i.e. multiple `.opam` files. The embedded versions of the economic protocol are now compiled with `jbuilder` instead of `tezos-protocol-compiler`, potentially allowing proper inlining at the cost of slightly-less-stricter sandboxing. Nevertheless, dynamically loaded protocol are still compiled with the `tezos-protocol-compiler` and thus strictly sandboxed ; and a CI rule also checks the proper sandboxing of embedded protocols. This patch is coauthored with @hnrgrgr
21 lines
856 B
OCaml
21 lines
856 B
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
(* *)
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
open Tezos_embedded_raw_protocol_genesis
|
|
|
|
val mine:
|
|
Client_rpcs.config ->
|
|
?timestamp: Time.t ->
|
|
Client_node_rpcs.Blocks.block ->
|
|
Data.Command.t ->
|
|
Fitness.t ->
|
|
Environment.Ed25519.Secret_key.t ->
|
|
Block_hash.t tzresult Lwt.t
|
|
|