Mina_base.Pending_coinbaseinclude Pending_coinbase_intf.S
with type State_stack.Stable.V1.t =
Mina_wire_types.Mina_base.Pending_coinbase.State_stack.V1.t
and type Stack_versioned.Stable.V1.t =
Mina_wire_types.Mina_base.Pending_coinbase.Stack_versioned.V1.t
and type Hash.t =
Mina_wire_types.Mina_base.Pending_coinbase.Hash_builder.V1.t
and type Hash_versioned.Stable.V1.t =
Mina_wire_types.Mina_base.Pending_coinbase.Hash_versioned.V1.tval to_yojson : t -> Yojson.Safe.tmodule Stable : sig ... endmodule Coinbase_data : sig ... endmodule type Data_hash_intf = sig ... endmodule Hash : sig ... endmodule Hash_versioned : sig ... endmodule Stack_versioned : sig ... endmodule Stack : sig ... endmodule State_stack : sig ... endmodule Update : sig ... endval create : depth:int -> unit -> t Core_kernel.Or_error.tDelete the oldest stack
val handler :
depth:int ->
t ->
is_new_stack:bool ->
( Snark_params.Tick.request ->
Snark_params.Tick.response )
Core_kernel.Staged.tval update_coinbase_stack :
depth:int ->
t ->
Stack.t ->
is_new_stack:bool ->
t Core_kernel.Or_error.tUpdate the current working stack or if is_new_stack add as the new working stack
Stack that is currently being updated. if is_new_stack then a new stack is returned
The stack that corresponds to the next ledger proof that is to be generated
val hash_extra : t -> stringHash of the auxiliary data (everything except the merkle root (Hash.t))
module Checked : sig ... end