Module diem_sdk::types::ledger_info

Structs

  • This structure serves a dual purpose.
  • Cryptographic hasher for an BCS-serializable #item
  • The validator node returns this structure which includes signatures from validators that confirm the state. The client needs to only pass back the LedgerInfo element since the validator node doesn’t need to know the signatures again when the client performs a query, those are only there for the client to be able to verify the state

Enums

  • Wrapper around LedgerInfoWithScheme to support future upgrades, this is the data being persisted.