Commit Graph

70 Commits

Author SHA1 Message Date
BitMaker
7bafc8fe17 Added new screen + changed version 2023-11-28 16:13:03 +01:00
BitMaker
42c5647456 Add new screen + Sha Lib 78Khs 2023-11-28 10:27:15 +01:00
Matteo Crippa
96e648f330 introduce custom password 2023-10-23 23:55:15 +02:00
elmo128
71d539bc5c debug_mem: print min free heap 2023-09-21 17:42:30 +02:00
elmo128
89287f43c9 bugfix, optimization 2023-09-21 17:41:21 +02:00
elmo128
971613ebce fix 2023-09-18 02:32:34 +02:00
elmo128
330d493f06 Merge ESP32CAM_SD in dev 2023-09-17 14:06:46 +02:00
elmo128
bcd8b2f60d seperate display drivers 2023-09-15 07:36:46 +02:00
elmo128
ab48dbf5e3 cleanup, fix 2023-09-14 22:32:25 +02:00
elmo128
3ea676ec76 change path 2023-09-13 03:06:40 +02:00
elmo128
37ca603ed5 separate spiffs 2023-09-12 09:26:28 +02:00
Roman Mashta
73fea48800 Save stats to NVRAM. 2023-09-09 13:47:13 +03:00
Roman Mashta
6d245aa1ac Stack overflow issue for Monitor task fix 2023-09-03 23:52:24 +03:00
Roman Mashta
fc23e9797e Multi device support refactoring 2023-09-03 15:09:34 +03:00
Roman Mashta
7a574d1b47 T-Dongle-S3 device support added 2023-09-03 15:09:34 +03:00
Roman Mashta
bdffef1f37 Display drivers initial implementation 2023-09-03 15:09:34 +03:00
BitMaker
6677f853e2 Firmware 1.6.1 2023-08-27 11:21:26 +02:00
BitMaker
10d01ff2c7 56Khs SHA version 2023-08-20 00:45:09 +02:00
BitMaker
f1394cd2c2 Support ESP32devkit nerdMiner 2023-08-11 13:37:25 +02:00
Stefan Berger
3314237927 Increase watchdog timeout to 15 minutes
Also increase nonce range to 25M to keep miner busy for up to 10 minutes.
2023-08-05 22:16:55 +02:00
Stefan Berger
e2c6c85767 Randomize interval between connection retries
Add a random delay between 1 and 15 secs
2023-08-05 21:30:17 +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
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
0a142ab52a Fix checkValid function
Diff target needs to be converted to little endian for comparison.
2023-08-01 22:39:37 +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
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
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
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
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
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
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
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
BitMaker
e9b91b1918 Add Global state screen 2023-06-08 01:11:47 +02:00
BitMaker
fb489035b6 Clock Miner Screen
- Added new screen
- Added Blockheigh
- Added BTC price
- New button function to change screen
2023-06-07 17:07:30 +02:00
BitMaker
e60e935107 NTP time funcitons added
- Get current time specifying offset (GMT)
- Update local time vars only every determined period
2023-06-07 14:12:45 +02:00
BitMaker
9139fa7a18 Code refactoring & upgrades
- Added new button funcion to access config without losing current configuration
- Added code to change screens
- Added socket connection checker to reconnect even if socket is connected but no NOTIFY data is gotten on more than 2 minutes
2023-06-07 10:51:46 +02:00
Alfonso C. Alvarez
40a6f5f6fb changed: fixed the closing of pool connection 2023-06-04 20:02:23 +02:00
BitMaker
7a54b29155 Minor changes fix logs from Alcar 2023-05-29 22:37:14 +02:00