2016-09-08 19:13:10 +02:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-05 21:17:03 +01:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-09-08 19:13:10 +02:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-01-29 01:06:47 +01:00
|
|
|
open Proto_alpha
|
2018-02-11 19:17:39 +01:00
|
|
|
open Alpha_context
|
2018-01-29 01:06:47 +01:00
|
|
|
|
2016-09-08 19:13:10 +02:00
|
|
|
val inject_seed_nonce_revelation:
|
2018-02-11 19:17:40 +01:00
|
|
|
#Proto_alpha.rpc_context ->
|
2018-04-16 00:44:24 +02:00
|
|
|
?chain: Chain_services.chain ->
|
2018-02-11 19:17:39 +01:00
|
|
|
Block_services.block ->
|
2017-03-30 13:08:33 +02:00
|
|
|
?async:bool ->
|
2016-09-08 19:13:10 +02:00
|
|
|
(Raw_level.t * Nonce.t) list ->
|
2018-04-30 19:06:06 +02:00
|
|
|
Operation_hash.t list tzresult Lwt.t
|
2016-09-08 19:13:10 +02:00
|
|
|
|
|
|
|
val forge_seed_nonce_revelation:
|
2018-02-16 18:10:18 +01:00
|
|
|
#Proto_alpha.full ->
|
2018-04-16 00:44:24 +02:00
|
|
|
?chain: Chain_services.chain ->
|
2018-02-11 19:17:39 +01:00
|
|
|
Block_services.block ->
|
2016-09-08 19:13:10 +02:00
|
|
|
(Raw_level.t * Nonce.t) list ->
|
|
|
|
unit tzresult Lwt.t
|