Verified Commit 1cabf776 authored by Vincent Botbol's avatar Vincent Botbol Committed by Grégoire Henry

Alpha/Baker: remove priority slots, add mechanism to await operations

Alpha/Baker: select only consistent endorsements before choosing to wait
parent b99d3be1
......@@ -26,6 +26,19 @@
open Proto_alpha
open Alpha_context
module State : sig
val get:
#Client_context.wallet ->
Signature.Public_key_hash.t ->
Raw_level.t option tzresult Lwt.t
val record:
#Client_context.wallet ->
Signature.Public_key_hash.t ->
Raw_level.t ->
unit tzresult Lwt.t
end
val generate_seed_nonce: unit -> Nonce.t
(** [generate_seed_nonce ()] is a random nonce that is typically used
in block headers. When baking, bakers generate random nonces whose
......@@ -89,20 +102,6 @@ val forge_block:
are not added to the block.
*)
module State : sig
val get:
#Client_context.wallet ->
Signature.Public_key_hash.t ->
Raw_level.t option tzresult Lwt.t
val record:
#Client_context.wallet ->
Signature.Public_key_hash.t ->
Raw_level.t ->
unit tzresult Lwt.t
end
val create:
#Proto_alpha.full ->
?fee_threshold:Tez.t ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment