👎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§
- Api
Deprecated - Entry
Deprecated - Each Entry contains three pieces of data. The
num_hashesfield is the number of hashes performed since the previous entry. Thehashfield is the result of hashinghashfrom the previous entrynum_hashestimes. Thetransactionsfield points to Transactions that took place shortly beforehashwas generated. - Entry
SigVerification State Deprecated - Entry
Summary Deprecated - Entry
Verification State Deprecated - GpuSig
Verification Data Deprecated - GpuVerification
Data Deprecated - Verify
Recyclers Deprecated
Enums§
- Device
SigVerification Data Deprecated - Device
Verification Data Deprecated - Entry
Type Deprecated - Typed entry to distinguish between transaction and tick entries
- Entry
Verification Status Deprecated
Traits§
- Entry
Slice Deprecated
Functions§
- api
Deprecated - create_
random_ ticks Deprecated - create_
ticks Deprecated - hash_
transactions Deprecated - init_
poh Deprecated - next_
entry Deprecated - Creates the next Tick or Transaction Entry
num_hashesafterstart_hash. - next_
entry_ mut Deprecated - next_
hash Deprecated - Creates the hash
num_hashesafterstart_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_ entry Deprecated - Creates the next Tick or Transaction Entry
num_hashesafterstart_hash. - start_
verify_ transactions Deprecated - thread_
pool_ for_ tests Deprecated - verify_
transactions Deprecated
Type Aliases§
- Entry
Receiver Deprecated - Entry
Sender Deprecated