https://github.com/invpe/hashnet
When Lambo eXperiment ;-)
https://github.com/invpe/hashnet
bitcoin esp32 esp32-arduino experimental mining python3
Last synced: 3 months ago
JSON representation
When Lambo eXperiment ;-)
- Host: GitHub
- URL: https://github.com/invpe/hashnet
- Owner: invpe
- License: mit
- Created: 2024-10-16T16:25:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T13:26:30.000Z (9 months ago)
- Last Synced: 2024-10-22T11:01:37.217Z (9 months ago)
- Topics: bitcoin, esp32, esp32-arduino, experimental, mining, python3
- Language: C++
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# HashNet
Welcome to the world of blockchains meets chaos science!
A server playing matchmaker, splitting mining tasks from a solo mining pool into juicy “chunks” for miners. But here’s the twist—it’s not just mining; it’s a fitness contest. The server randomizes a thing called extranonce2, a funky little number miners fight over like treasure hunters sniffing for gold. Each miner tries to find the best “score”—a magical combo of zeroes in the block hash, getting them closer to the target value, calculated from nbits like some cryptographic carnival game.
What happens next? The server tracks the top-performing extranonce2 values like a blockchain talent scout, dishing out fresh chunks from the most promising search spaces. But wait—it’s not all work and no play. To avoid getting stuck in boring local optima (yawn!), the server sometimes shakes things up with random extranonce2 values, ensuring our miners stay on their toes.
Oh, and the miners? They’re not running souped-up rigs—nope. It’s an energy-saving showdown! Picture ESP32 microcontrollers and iPhones grinding hashes like tiny crypto superheroes, proving you don’t need a power-hungry beast to have some blockchain fun.
So, it’s not just an experiment; it’s a stats-meets-strategy battle royale.
# Benchmarks
| Device | Job | Hashrate |
| ------------- | ------------- | -------------
| ESP32 | DSHA256 | ~45kH/sec/two cores |
| Raspberry PI 4 | DSHA256 | ~700kH/sec/core |
| iPad Pro | DSHA256 | ~6MH/sec |
| iPhone 8 | DSHA256 | ~2.8MH/sec |
| iPhone 11 Pro | DSHA256 | ~3.0MH/sec |
| iPhone 13 Pro | DSHA256 | ~3.1MH/sec |