https://github.com/codebender828/proof-of-history
https://github.com/codebender828/proof-of-history
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/codebender828/proof-of-history
- Owner: codebender828
- Created: 2024-09-25T06:34:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-25T06:37:21.000Z (over 1 year ago)
- Last Synced: 2025-03-19T14:11:40.760Z (about 1 year ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Light Proof Of History Implementation
Proof Of History at it's core is a verifiable and computable means, by which the order of the passage if time can be crytographically proven, independent of using System Time.
This repo is simple exercise that implements a very light blockchain that uses proof of history to verify the order of transactions in it's ledger.
This repo does not implement consensus, or transaction execution. It only implements a very light ledger with a verifiable occurance of events.
## Known bugs:
- Hashing result does not match at:
```rs
let verification_result =
ledger.verify_proof_of_history_between_slots(0, ledger.get_slots_height() - 1);
```
This the result returned here should be `true` but it currently returns false.
# Install dependencies
```bash
cargo install
```
# Run
```bash
cargo run
```
`