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. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-01-29 04:06:47 +04:00
|
|
|
open Proto_alpha
|
2018-02-11 22:17:39 +04:00
|
|
|
open Alpha_context
|
2018-01-29 04:06:47 +04:00
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
val inject_seed_nonce_revelation:
|
2018-02-11 22:17:40 +04:00
|
|
|
#Proto_alpha.rpc_context ->
|
2018-02-11 22:17:39 +04:00
|
|
|
Block_services.block ->
|
2017-03-30 15:08:33 +04:00
|
|
|
?async:bool ->
|
2016-09-08 21:13:10 +04:00
|
|
|
(Raw_level.t * Nonce.t) list ->
|
|
|
|
Operation_hash.t tzresult Lwt.t
|
|
|
|
|
|
|
|
val forge_seed_nonce_revelation:
|
2018-02-16 21:10:18 +04:00
|
|
|
#Proto_alpha.full ->
|
2018-02-11 22:17:39 +04:00
|
|
|
Block_services.block ->
|
2016-09-08 21:13:10 +04:00
|
|
|
(Raw_level.t * Nonce.t) list ->
|
|
|
|
unit tzresult Lwt.t
|