28 lines
1.0 KiB
OCaml
28 lines
1.0 KiB
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2018. *)
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
(* *)
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
open Proto_alpha
|
|
open Alpha_context
|
|
|
|
val forge_endorsement:
|
|
#Proto_alpha.full ->
|
|
?chain:Chain_services.chain ->
|
|
Block_services.block ->
|
|
?async: bool ->
|
|
src_sk:Client_keys.sk_uri ->
|
|
public_key ->
|
|
Operation_hash.t tzresult Lwt.t
|
|
|
|
val create :
|
|
#Proto_alpha.full ->
|
|
?max_past:int64 (* number of seconds *) ->
|
|
delay:int ->
|
|
public_key_hash list ->
|
|
Client_baking_blocks.block_info tzresult Lwt_stream.t -> unit Lwt.t
|