Verified Commit e36990ce authored by Philippe B.'s avatar Philippe B. 🏂

Shell/ddb: ddb_functors.ml* moved to lib_cache

parent 91937213
......@@ -739,11 +739,6 @@ opam:tezos-protocol-alpha:
variables:
package: tezos-protocol-alpha
opam:tezos-protocol-004-Pt24m4xi:
<<: *opam_definition
variables:
package: tezos-protocol-004-Pt24m4xi
opam:tezos-protocol-updater:
<<: *opam_definition
variables:
......@@ -784,10 +779,10 @@ opam:tezos-protocol-003-PsddFKi3:
variables:
package: tezos-protocol-003-PsddFKi3
opam:tezos-client-004-Pt24m4xi:
opam:tezos-protocol-004-Pt24m4xi:
<<: *opam_definition
variables:
package: tezos-client-004-Pt24m4xi
package: tezos-protocol-004-Pt24m4xi
opam:tezos-validation:
<<: *opam_definition
......@@ -829,6 +824,11 @@ opam:tezos-client-003-PsddFKi3:
variables:
package: tezos-client-003-PsddFKi3
opam:tezos-client-004-Pt24m4xi:
<<: *opam_definition
variables:
package: tezos-client-004-Pt24m4xi
opam:tezos-protocol-genesis:
<<: *opam_definition
variables:
......@@ -854,31 +854,31 @@ opam:ocplib-resto-json:
variables:
package: ocplib-resto-json
opam:tezos-protocol-demo-noops:
<<: *opam_definition
variables:
package: tezos-protocol-demo-noops
opam:ocplib-resto-cohttp-server:
<<: *opam_definition
variables:
package: ocplib-resto-cohttp-server
opam:tezos-protocol-005-PsBABY5H:
opam:tezos-shell:
<<: *opam_definition
variables:
package: tezos-protocol-005-PsBABY5H
package: tezos-shell
opam:tezos-protocol-demo-noops:
opam:tezos-protocol-005-PsBABY5H:
<<: *opam_definition
variables:
package: tezos-protocol-demo-noops
package: tezos-protocol-005-PsBABY5H
opam:tezos-embedded-protocol-005-PsBabyM1:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-005-PsBabyM1
opam:tezos-shell:
<<: *opam_definition
variables:
package: tezos-shell
opam:tezos-embedded-protocol-006-PsCARTHA:
<<: *opam_definition
variables:
......@@ -964,31 +964,41 @@ opam:ocplib-ezresto:
variables:
package: ocplib-ezresto
opam:tezos-embedded-protocol-004-Pt24m4xi:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-004-Pt24m4xi
opam:tezos-embedded-protocol-alpha:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-alpha
opam:tezos-protocol-alpha-parameters:
opam:tezos-embedded-protocol-demo-noops:
<<: *opam_definition
variables:
package: tezos-protocol-alpha-parameters
package: tezos-embedded-protocol-demo-noops
opam:tezos-protocol-006-PsCARTHA-parameters:
opam:tezos-embedded-protocol-genesis:
<<: *opam_definition
variables:
package: tezos-protocol-006-PsCARTHA-parameters
package: tezos-embedded-protocol-genesis
opam:tezos-rpc-http-server:
<<: *opam_definition
variables:
package: tezos-rpc-http-server
opam:tezos-validator:
<<: *opam_definition
variables:
package: tezos-validator
opam:tezos-protocol-alpha-parameters:
<<: *opam_definition
variables:
package: tezos-protocol-alpha-parameters
opam:tezos-protocol-006-PsCARTHA-parameters:
<<: *opam_definition
variables:
package: tezos-protocol-006-PsCARTHA-parameters
opam:tezos-embedded-protocol-000-Ps9mPmXa:
<<: *opam_definition
variables:
......@@ -1009,20 +1019,15 @@ opam:tezos-embedded-protocol-003-PsddFKi3:
variables:
package: tezos-embedded-protocol-003-PsddFKi3
opam:tezos-embedded-protocol-005-PsBABY5H:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-005-PsBABY5H
opam:tezos-embedded-protocol-demo-noops:
opam:tezos-embedded-protocol-004-Pt24m4xi:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-demo-noops
package: tezos-embedded-protocol-004-Pt24m4xi
opam:tezos-embedded-protocol-genesis:
opam:tezos-embedded-protocol-005-PsBABY5H:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-genesis
package: tezos-embedded-protocol-005-PsBABY5H
opam:tezos-embedded-protocol-genesis-alphanet:
<<: *opam_definition
......@@ -1049,11 +1054,6 @@ opam:tezos-mempool-006-PsCARTHA:
variables:
package: tezos-mempool-006-PsCARTHA
opam:tezos-validator:
<<: *opam_definition
variables:
package: tezos-validator
opam:tezos-protocol-005-PsBabyM1-parameters:
<<: *opam_definition
variables:
......@@ -1064,6 +1064,11 @@ opam:tezos-endorser-alpha-commands:
variables:
package: tezos-endorser-alpha-commands
opam:tezos-cache:
<<: *opam_definition
variables:
package: tezos-cache
opam:tezos-client:
<<: *opam_definition
variables:
......
wrap-fun-args=false
let-binding-spacing=compact
field-space=loose
break-separators=after-and-docked
sequence-style=separator
doc-comments=before
margin=80
module-item-spacing=sparse
parens-tuple=always
parens-tuple-patterns=always
break-string-literals=newlines-and-wrap
(library
(name tezos_cache)
(public_name tezos-cache)
(libraries tezos-base
tezos-stdlib-unix
tezos-shell-services)
(flags (:standard -open Tezos_base__TzPervasives
-open Tezos_stdlib_unix)))
(alias
(name runtest_lint)
(deps (glob_files *.ml{,i}))
(action (run %{lib:tezos-tooling:lint.sh} %{deps})))
opam-version: "2.0"
maintainer: "[email protected]"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"tezos-tooling" { with-test }
"ocamlfind" { build }
"dune" { build & >= "1.7" }
"tezos-base"
"tezos-stdlib-unix"
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "Tezos: generic request scheduler/cache service"
......@@ -24,12 +24,12 @@
(* *)
(*****************************************************************************)
module Message = Distributed_db_message
module Logging = Internal_event.Legacy_logging.Make (struct
let name = "node.distributed_db"
end)
module Message = Distributed_db_message
type p2p = (Message.t, Peer_metadata.t, Connection_metadata.t) P2p.net
type connection =
......
......@@ -27,13 +27,12 @@
(** Tezos Shell - High-level API for the Gossip network and local storage. *)
open Distributed_db_functors
module Message = Distributed_db_message
type t
type db = t
module Message = Distributed_db_message
type p2p = (Message.t, Peer_metadata.t, Connection_metadata.t) P2p.net
val create : State.t -> p2p -> t
......
......@@ -9,7 +9,8 @@
tezos-stdlib-unix
tezos-shell-services
tezos-protocol-updater
tezos-validation)
tezos-validation
tezos-cache)
(flags (:standard -open Tezos_base__TzPervasives
-open Tezos_storage
-open Tezos_shell_context
......@@ -17,7 +18,8 @@
-open Tezos_stdlib_unix
-open Tezos_shell_services
-open Tezos_protocol_updater
-open Tezos_validation)))
-open Tezos_validation
-open Tezos_cache)))
(alias
(name runtest_lint)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment