ligo/src/proto_alpha/lib_client/client_baking_operations.mli

34 lines
1.1 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
type operation = {
hash: Operation_hash.t ;
content: Operation.t option ;
2016-09-08 21:13:10 +04:00
}
val monitor:
#RPC_context.t ->
2016-09-08 21:13:10 +04:00
?contents:bool -> ?check:bool -> unit ->
operation list tzresult Lwt_stream.t tzresult Lwt.t
2016-09-08 21:13:10 +04:00
type valid_endorsement = {
hash: Operation_hash.t ;
source: public_key_hash ;
block: Block_hash.t ;
slots: int list ;
}
val monitor_endorsement:
#RPC_context.t ->
valid_endorsement tzresult Lwt_stream.t tzresult Lwt.t