2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-09-08 21:13:10 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-01-29 04:06:47 +04:00
|
|
|
open Proto_alpha
|
2018-02-11 22:17:39 +04:00
|
|
|
open Alpha_context
|
2018-01-29 04:06:47 +04:00
|
|
|
|
2018-03-22 21:37:23 +04:00
|
|
|
module Endorser : sig
|
|
|
|
val run:
|
|
|
|
#Proto_alpha.full ->
|
|
|
|
delay: int ->
|
|
|
|
?min_date: Time.t ->
|
|
|
|
public_key_hash list -> unit tzresult Lwt.t
|
|
|
|
end
|
|
|
|
|
|
|
|
module Baker : sig
|
|
|
|
val run:
|
|
|
|
#Proto_alpha.full ->
|
2018-06-19 11:28:35 +04:00
|
|
|
?threshold: Tez.tez ->
|
2018-03-22 21:37:23 +04:00
|
|
|
?max_priority: int ->
|
|
|
|
?min_date: Time.t ->
|
2018-06-14 14:16:17 +04:00
|
|
|
context_path: string ->
|
2018-03-22 21:37:23 +04:00
|
|
|
public_key_hash list -> unit tzresult Lwt.t
|
|
|
|
end
|
|
|
|
|
|
|
|
module Accuser : sig
|
|
|
|
val run:
|
2018-06-25 18:40:49 +04:00
|
|
|
#Proto_alpha.full ->
|
|
|
|
preserved_levels: int ->
|
|
|
|
unit tzresult Lwt.t
|
2018-03-22 21:37:23 +04:00
|
|
|
end
|