ligo/src/proto_alpha/lib_delegate/client_baking_endorsement.mli

29 lines
1.0 KiB
OCaml
Raw Normal View History

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. *)
(* *)
(**************************************************************************)
open Proto_alpha
open Alpha_context
2016-09-08 21:13:10 +04:00
val forge_endorsement:
#Proto_alpha.full ->
?chain:Chain_services.chain ->
Block_services.block ->
2018-05-22 17:22:38 +04:00
?async: bool ->
src_sk:Client_keys.sk_uri ->
?slots:int list ->
2016-09-08 21:13:10 +04:00
public_key ->
Operation_hash.t tzresult Lwt.t
2017-11-07 20:38:11 +04:00
val create :
#Proto_alpha.full ->
2018-05-22 17:22:38 +04:00
?max_past:Time.t ->
2017-11-07 20:38:11 +04:00
delay:int ->
2016-09-08 21:13:10 +04:00
public_key_hash list ->
Client_baking_blocks.block_info list tzresult Lwt_stream.t -> unit Lwt.t