Module entry

Module entry 

Source
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Expand description

The entry module is a fundamental building block of Proof of History. It contains a unique ID that is the hash of the Entry before it, plus the hash of the transactions within it. Entries cannot be reordered, and its field num_hashes represents an approximate amount of time since the last Entry was created.

Structs§

ApiDeprecated
EntryDeprecated
Each Entry contains three pieces of data. The num_hashes field is the number of hashes performed since the previous entry. The hash field is the result of hashing hash from the previous entry num_hashes times. The transactions field points to Transactions that took place shortly before hash was generated.
EntrySigVerificationStateDeprecated
EntrySummaryDeprecated
EntryVerificationStateDeprecated
GpuSigVerificationDataDeprecated
GpuVerificationDataDeprecated
VerifyRecyclersDeprecated

Enums§

DeviceSigVerificationDataDeprecated
DeviceVerificationDataDeprecated
EntryTypeDeprecated
Typed entry to distinguish between transaction and tick entries
EntryVerificationStatusDeprecated

Traits§

EntrySliceDeprecated

Functions§

apiDeprecated
create_random_ticksDeprecated
create_ticksDeprecated
hash_transactionsDeprecated
init_pohDeprecated
next_entryDeprecated
Creates the next Tick or Transaction Entry num_hashes after start_hash.
next_entry_mutDeprecated
next_hashDeprecated
Creates the hash num_hashes after start_hash. If the transaction contains a signature, the final hash will be a hash of both the previous ID and the signature. If num_hashes is zero and there’s no transaction data, start_hash is returned.
next_versioned_entryDeprecated
Creates the next Tick or Transaction Entry num_hashes after start_hash.
start_verify_transactionsDeprecated
thread_pool_for_testsDeprecated
verify_transactionsDeprecated

Type Aliases§

EntryReceiverDeprecated
EntrySenderDeprecated