Mina_block
module Body = Staged_ledger_diff.Body
module Header : sig ... end
module Validation : sig ... end
module Validated : sig ... end
module Precomputed : sig ... end
module Internal_transition : sig ... end
type fully_invalid_block = Validation.fully_invalid_with_block
type initial_valid_block = Validation.initial_valid_with_block
type almost_valid_block = Validation.almost_valid_with_block
type fully_valid_block = Validation.fully_valid_with_block
val genesis :
precomputed_values:Precomputed_values.t ->
Mina_block__Block.Stable.V2.t Mina_base.State_hash.With_state_hashes.t
* Validation.fully_valid
val handle_dropped_transition :
?pipe_name:string ->
?valid_cb:Mina_net2.Validation_callback.t ->
logger:Logger.t ->
Mina_base.State_hash.State_hashes.t ->
unit
val blockchain_length : Mina_block__Block.Stable.V2.t -> Mina_numbers.Length.t
val consensus_state :
Mina_block__Block.Stable.V2.t ->
Mina_wire_types.Consensus.Data.Consensus_state.Value.V1.t
module Stable : sig ... end
type t = Stable.Latest.t
val to_yojson : t -> Yojson.Safe.t
type with_hash = t Mina_base.State_hash.With_state_hashes.t
val sexp_of_with_hash : with_hash -> Ppx_sexp_conv_lib.Sexp.t
val with_hash_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> with_hash
val create : header:Header.t -> body:Staged_ledger_diff.Body.t -> t
val body : t -> Staged_ledger_diff.Body.t
val timestamp : t -> Block_time.t
val transactions :
constraint_constants:Genesis_constants.Constraint_constants.t ->
t ->
Mina_transaction.Transaction.t Mina_base.With_status.t list
val payments : t -> Mina_base.Signed_command.t Mina_base.With_status.t list
val account_ids_accessed : t -> Mina_base.Account_id.t list