atlas-entry

Crates.ioatlas-entry
lib.rsatlas-entry
version3.0.0
created_at2025-09-03 09:04:01.03755+00
updated_at2025-09-03 09:04:01.03755+00
descriptionAtlas Entry - Fundamental building block of Proof of History
homepagehttps://atlaschain.io/
repositoryhttps://github.com/atlas-chain/atlas-entry
max_upload_size
id1822205
size207,669
(atlaschainorg)

documentation

https://docs.rs/atlas-entry

README

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

Commit count: 0

cargo fmt