[][src]Module solana::entry

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

Entry

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.

Constants

NUM_THREADS

Traits

EntrySlice

Functions

create_ticks
hash_transactions
make_large_test_entries
make_tiny_test_entries
make_tiny_test_entries_from_hash
next_entries

Creates the next Entries for given transactions

next_entry_mut
num_will_fit
reconstruct_entries_from_blobs
split_serializable_chunks

Type Definitions

EntryReceiver
EntrySender