pub fn get_latest_for_entry<T: TryFrom<SerializedBytes, Error = SerializedBytesError>>(
    entry_hash: EntryHash,
    get_options: GetOptions
) -> ExternResult<OptionEntryAndHash<T>>
Expand description

If an entry at the entry_hash has multiple updates to itself, this function will sort through them by timestamp in order to return the contents of the latest update. It also has the special behaviour of returning the ORIGINAL HeaderHash, as opposed to the HeaderHash of the Header that performed that latest update. This is useful if you want hashes in your application to act consistently, almost acting as an “id” in a centralized system. It simplifies traversal of the update tree, since all updates made by the client can reference the original, instead of updates reference updates