Frontier_base.BreadcrumbA breadcrumb is a "full node" in the transition frontier. It contains the * fully expanded state from an external transition, including the full * staged ledger at that state of the blockchain.
val to_yojson : t -> Yojson.Safe.ttype display = {state_hash : string; |
blockchain_state : Mina_state.Blockchain_state.display; |
consensus_state : Consensus.Data.Consensus_state.display; |
parent : string; |
}val display_to_yojson : display -> Yojson.Safe.tval display_of_yojson :
Yojson.Safe.t ->
display Ppx_deriving_yojson_runtime.error_orval create :
validated_transition:Mina_block.Validated.t ->
staged_ledger:Staged_ledger.t ->
just_emitted_a_proof:bool ->
transition_receipt_time:Core_kernel.Time.t option ->
tval build :
?skip_staged_ledger_verification:[ `All | `Proofs ] ->
logger:Logger.t ->
precomputed_values:Precomputed_values.t ->
verifier:Verifier.t ->
trust_system:Trust_system.t ->
parent:t ->
transition:Mina_block.almost_valid_block ->
sender:Network_peer.Envelope.Sender.t option ->
transition_receipt_time:Core_kernel.Time.t option ->
unit ->
( t,
[> `Invalid_staged_ledger_diff of Core_kernel.Error.t
| `Invalid_staged_ledger_hash of Core_kernel.Error.t
| `Fatal_error of exn ] )
Core_kernel.Result.t
Async_kernel.Deferred.tval validated_transition : t -> Mina_block.Validated.tval block_with_hash : t -> Mina_block.with_hashval block : t -> Mina_block.tval staged_ledger : t -> Staged_ledger.tval just_emitted_a_proof : t -> boolval transition_receipt_time : t -> Core_kernel.Time.t optionval hash : t -> intval protocol_state_with_hashes :
t ->
Mina_state.Protocol_state.Value.t Mina_base.State_hash.With_state_hashes.tval protocol_state : t -> Mina_state.Protocol_state.Value.tval consensus_state : t -> Consensus.Data.Consensus_state.Value.tval consensus_state_with_hashes :
t ->
Consensus.Data.Consensus_state.Value.t
Mina_base.State_hash.With_state_hashes.tval state_hash : t -> Mina_base.State_hash.tval parent_hash : t -> Mina_base.State_hash.tval mask : t -> Mina_ledger.Ledger.Mask.Attached.tval name : t -> stringmodule For_tests : sig ... end