2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2017-11-14 03:36:14 +04:00
|
|
|
(* Copyright (c) 2014 - 2017. *)
|
2016-09-08 21:13:10 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
type operation = {
|
|
|
|
hash: Operation_hash.t ;
|
2017-04-19 21:21:23 +04:00
|
|
|
content: Operation.t option ;
|
2016-09-08 21:13:10 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
val monitor:
|
2017-11-07 20:38:11 +04:00
|
|
|
#Client_rpcs.rpc_sig ->
|
2016-09-08 21:13:10 +04:00
|
|
|
?contents:bool -> ?check:bool -> unit ->
|
2017-04-05 01:35:41 +04:00
|
|
|
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:
|
2017-11-07 20:38:11 +04:00
|
|
|
#Client_rpcs.rpc_sig ->
|
2017-04-05 01:35:41 +04:00
|
|
|
valid_endorsement tzresult Lwt_stream.t tzresult Lwt.t
|
2017-04-27 03:01:05 +04:00
|
|
|
|