ligo/src/proto_alpha/lib_baking/client_baking_endorsement.mli
Grégoire Henry fc2cd7ce5c Alpha: smaller endorsement operations
We don't include the delegate pkh in the operation anymore, and we
allow to group multiple endorsements in the same operations.
2018-02-28 14:48:47 +01:00

27 lines
1008 B
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 ->
Block_services.block ->
src_sk:Client_keys.sk_locator ->
?slots:int list ->
?max_priority:int ->
public_key ->
Operation_hash.t tzresult Lwt.t
val create :
#Proto_alpha.full ->
delay:int ->
public_key_hash list ->
Client_baking_blocks.block_info list tzresult Lwt_stream.t -> unit Lwt.t