Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.07 KB

grind-rust-simulator

This script is for educational-only purposes and is not intended for production.

It performs a proof-of-work's simulation of genesis block given:

  • dificulty_hex: 0x000000001;
  • target: 0x00000000ffff0000000000000000000000000000000000000000000000000000
  • prefix: Hello Wolrd!
  • nonce: it receive an increment until find a value less than target;

Install

git clone https://github.com/qlrd/grind-rust-simulator

Build

cargo build

Run

./target/debug/grind-rust-simulator

WARNING

This will increase CPU usage. For best performance, close all unused programs.

So far, tested on (with 16 threads):

OS Processor CPU usage found hash in (s) nonce hash
? 12th gen i5 ?% 239.49s 1480740277 00000000b4d3...86b1740
macOS M2 arm64 75-80% 2942.25s 1480740277 00000000b4d3...86b1740