1 stable release
| 3.0.0 | Sep 3, 2025 |
|---|
#4 in #poh
Used in atlas-gossip
72KB
1.5K
SLoC
Atlas Entry
A fundamental building block of Proof of History for the Atlas blockchain.
Overview
The Atlas Entry module 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.
Features
- Proof of History (PoH) generation and verification
- Entry creation and validation
- Transaction batching and verification
- SIMD-optimized hash verification (AVX2/AVX512)
Installation
Add this to your Cargo.toml:
[dependencies]
atlas-entry = "3.0.0"
Usage
use atlas_entry::entry::Entry;
use atlas_entry::poh::Poh;
// Create a new PoH instance
let mut poh = Poh::new(hash, Some(hashes_per_tick));
// Generate entries with transactions
let entry = Entry::new(&prev_hash, num_hashes, transactions);
License
Licensed under the Apache License, Version 2.0
Author
Atlas Chain Foundation
Dependencies
~25–43MB
~713K SLoC