Commit Graph

455 Commits

Author SHA1 Message Date
Stefan Berger
7204e56259 Add units to best diff 2023-08-05 14:35:00 +02:00
BitMaker
33dffc8b1c
NerdMinerCase with buttons 2023-08-04 23:58:36 +02:00
BitMaker
d42fc0c9fa Fix add delay pool connection + building on any ESP32
- Added a 5sec delay after not being able to connect with pool.
- Compile code to work on any ESP32 dev kit
2023-08-03 01:13:52 +02:00
BitMaker
cde810a515 Upgrade hashrate up to 50KHs 2023-08-03 00:09:06 +02:00
BitMaker
bcacd20cba
Merge pull request #113 from golden-guy/fix/check-valid
Fix checkValid function
2023-08-03 00:07:16 +02:00
BitMaker
de655362a7
Merge pull request #103 from golden-guy/bitmaker-dev
Add best diff to miner screen
2023-08-03 00:06:25 +02:00
Stefan Berger
22737824a5 Fix checkValid function
Diff target needs to be converted to little endian for comparison.
2023-08-01 22:57:09 +02:00
Stefan Berger
0a142ab52a Fix checkValid function
Diff target needs to be converted to little endian for comparison.
2023-08-01 22:39:37 +02:00
BitMaker
2ad2736792
Update README.md 2023-07-30 23:30:05 +02:00
BitMaker
88db955e1b
Update README.md 2023-07-30 23:29:26 +02:00
BitMaker
f131a1d725 48Khs custom sha 2023-07-30 13:19:01 +02:00
BitMaker
a2624f65a7 Custom nerdSHA 2023-07-30 13:10:39 +02:00
BitMaker
7c3de1b6eb
Merge pull request #108 from BitMaker-hub/dev
Release 1.6.0
2023-07-30 12:09:59 +02:00
BitMaker
5930edcaf3 pools description update 2023-07-30 12:02:09 +02:00
BitMaker
62ffebdba8 readme changes 2023-07-30 11:49:49 +02:00
BitMaker
05fcb0bf7d add 1.6.0 bin file 2023-07-30 11:09:05 +02:00
BitMaker
ffe1a79040 Release 1.6.0
- Solved bugs found on merkle root calculations.
- Solved issues about difficulty calculation
- Tested on low difficulty pools.
- Changed the default pool to http://public-pool.airdns.org/
- Added new notes to readme about supported pools
- Added new custom sha tests to use on next versions
2023-07-30 11:03:56 +02:00
BitMaker
d61440de25 Improving custom SHA tests 2023-07-30 11:03:55 +02:00
BitMaker
5e45ed0f49
Merge pull request #107 from golden-guy/fix/parse-stratum-success
Miner cosmetics
2023-07-29 11:47:57 +02:00
Stefan Berger
df99eea69d Stop miners instantly when losing pool connection 2023-07-27 23:26:54 +02:00
Stefan Berger
5d22a15ac2 Stop miners instantly when losing pool connection 2023-07-27 23:24:33 +02:00
Stefan Berger
2231ae949f Log successful submit as such 2023-07-27 22:07:47 +02:00
Stefan Berger
d5ac9addfe Log successful submit as such 2023-07-27 21:59:43 +02:00
Stefan Berger
faa77bfd39 Add best diff to miner screen 2023-07-25 00:02:04 +02:00
BitMaker
2d23e6a9d8
Merge pull request #100 from golden-guy/bitmaker-dev
Essential Nerdminer code rework
2023-07-24 16:43:12 +02:00
Stefan Berger
c0af3f03b1 Disable miner thread includes for now 2023-07-23 15:59:19 +02:00
Stefan Berger
3a0cb9a83c Major Nerdminer code rework
* Rework block header generation
* Fix dual-threaded mining code
* Fix share diff calculation
* Set default difficulty to 1e-4
2023-07-23 12:46:16 +02:00
Stefan Berger
65b08c4733 Fix debug logging 2023-07-23 12:29:43 +02:00
Stefan Berger
f15715f3f3 Use double precision for pool difficulty 2023-07-23 12:25:21 +02:00
Stefan Berger
3872bd7a08 Force re-connect when losing WiFi
Apparently the ESP32 does not auto re-connect to WiFi, so enforce it.
2023-07-23 12:24:22 +02:00
Stefan Berger
57c60ed0f1 Rework two-threaded miner task code
Distribute odd and even nonces between miner tasks based on task_id
2023-07-23 12:13:37 +02:00
Stefan Berger
146d0497d6 Add watchdog timer to miner task
Set a 120s timeout for the watchdog to catch a starving miner task.
If the miner task fails to reset the watchdog, the ESP32 will reboot.
2023-07-23 11:49:31 +02:00
BitMaker
3ab4a2fb05
Merge pull request #88 from BitMaker-hub/dev
readme changes
2023-07-11 17:04:49 +02:00
BitMaker
35474c1bc5 readme changes 2023-07-11 17:02:28 +02:00
BitMaker
87a20f6813
Merge pull request #87 from BitMaker-hub/dev
Dev
2023-07-11 17:00:55 +02:00
BitMaker
c41e529f65 Added new firmware files + Readme flasher utility 2023-07-11 16:58:53 +02:00
BitMaker
2138f460db Testing ESP32 standard environment 2023-07-11 11:49:25 +02:00
BitMaker
54ace9455d Nonce starting point + fix halving blocks
- Added different nonce start point for each thread
- Fixed halving block calculation
- Added firmware version on initial screen
2023-07-11 00:25:23 +02:00
BitMaker
2adfede605 Hash upgrade
- Hash upgrade up to 45khs
- screen changes
2023-07-10 22:58:52 +02:00
BitMaker
d726d8e402
Merge pull request #85 from golden-guy/dev
Fix mining submit code
2023-07-10 22:32:27 +02:00
Stefan Berger
4aae9fbc2b Fix mining submit code
Use c_str(), since sprintf expects a C-string here
2023-07-09 19:30:51 +02:00
BitMaker
864b54cc18
Merge pull request #68 from alcar21/feature/add_pool_url_and_days_to_screen
added pool url and days, hours:minutes:seconds to main screen.
2023-06-27 13:18:20 +02:00
BitMaker
f71f4e5384
Merge pull request #79 from golden-guy/dev
Replace mbedtls with wolfSSL for hashing nonces
Tested and confirmed improvements. I'll let it working for at least 24h before including it.

Thanks, your PR made me think about performance of current SHA. 
I could see is using HW accelerator but I couldn't manage to use SW SHA from embed without having crashes
2023-06-27 13:15:28 +02:00
Stefan Berger
0508c1fc6b Replace mbedtls with wolfSSL for hashing nonces
Using a customized wolfSSL library speeds up hashing by about 30% on the ESP32-S3, resulting in 28-29KH/s.
2023-06-26 23:52:47 +02:00
Alfonso C. Alvarez
ebcc709753 added pool url and days, hours:minutes:seconds to main screen. 2023-06-19 23:17:40 +02:00
BitMaker
2396e9a220 Moved to core 1 mining thread 2023-06-08 12:28:18 +02:00
BitMaker
07631f80aa readme update 2023-06-08 10:50:49 +02:00
BitMaker
1d0c14e6c7 Readme update 2023-06-08 10:49:38 +02:00
BitMaker
d4f4d5cfba Readme Update 2023-06-08 10:34:57 +02:00
BitMaker
35d7bcd634 Small hashrate increase
- Adjust delays on threads and add a delay on loop
- Move miner to core 1 with loop and omit 0 to let wifi work alone with stratum and monitor thread
2023-06-08 10:21:16 +02:00