elmo128
ab48dbf5e3
cleanup, fix
2023-09-14 22:32:25 +02:00
elmo128
4af1602b0a
add uart ui
2023-09-13 23:47:19 +02:00
elmo128
21147a1adc
move file
2023-09-13 03:40:55 +02:00
elmo128
281f5ec702
change path, correct UART output.
2023-09-13 03:07:21 +02:00
elmo128
3ea676ec76
change path
2023-09-13 03:06:40 +02:00
elmo128
f2e2f89284
rename file
2023-09-13 02:47:40 +02:00
BitMaker
25db0a45a6
bin files updated and added sprite destroy on Tdisplav1
2023-09-13 00:11:39 +02:00
BitMaker
347358ed2f
Merge branch 'dev' into master
2023-09-12 12:43:10 +02:00
elmo128
27f7a1bc83
update
2023-09-12 09:37:08 +02:00
elmo128
9b0d7c7de2
update file
2023-09-12 09:32:46 +02:00
elmo128
43f5d8fd5b
Load settings from SD card.
2023-09-12 09:29:50 +02:00
elmo128
37ca603ed5
separate spiffs
2023-09-12 09:26:28 +02:00
elmo128
d5d0a1e63b
add header guards
2023-09-12 05:30:55 +02:00
elmo128
5365ebf8ec
baud rate set by build flag, if available
2023-09-12 04:06:01 +02:00
elmo128
ad1dcda5a9
add board
2023-09-12 03:27:31 +02:00
George Alexandre Silva
f5f7a44b10
Implenting ESP32_2432S028R driver
2023-09-10 19:48:09 -03:00
Roman Mashta
c4b98d6a71
getTime function code refactoring
2023-09-10 13:31:35 +03:00
Alexandre Sanlim
e2416cb81e
rename some files
2023-09-09 12:49:47 -03:00
Alexandre Sanlim
d5831e6fbc
add new device
2023-09-09 12:13:53 -03:00
BitMaker
c2418be49a
Merge pull request #157 from romanmashta/dev
...
Save stats to NVS (by default off)
2023-09-09 14:33:54 +02:00
Roman Mashta
73fea48800
Save stats to NVRAM.
2023-09-09 13:47:13 +03:00
BitMaker
1703e3260e
Minimal changes
2023-09-09 00:07:07 +02:00
Shaune Jan
8a3d22ab2f
port T-QT Device
2023-09-08 23:48:10 +08:00
BitMaker
7baf783f48
Merge branch 'master' into dev
2023-09-07 15:18:59 +02: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
D44rkM00n
e614904ff8
Update monitor.cpp
...
If the timeClient.update() function does not make a real update don't change mTriggerUpdate, this ensure that the time shown on screen at power up is correct when wifi is connected
2023-09-02 00:15:47 +02: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
BitMaker
3bbeb227a6
Set only 3 decimal digits when displaying best share diff
2023-08-07 22:51:05 +02:00
BitMaker
989d33efbe
Add new backgrounds
2023-08-07 20:18: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
Stefan Berger
7204e56259
Add units to best diff
2023-08-05 14:35:00 +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
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
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
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
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
8c5308fe45
Set GMTzone on wifiPortal
...
- Add new config on wifiportal
- Save config when enters in forced wifiportal on edit mode
2023-06-08 09:29:18 +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
BitMaker
622bf32ffa
Tests
2023-06-05 23:14:10 +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
BitMaker
98d5faefa9
Checking pool difficulty
2023-05-28 22:58:23 +02:00
BitMaker
a8b95f29c3
Add mining sugest dificulty
2023-05-27 23:54:16 +02:00
BitMaker
ffd1664b21
Refactoring + Improvements
...
- Added Stratum thread
- Added only miner thread
- Added utils lib
- Checking all new stratum messages
- Added difficulty check
- Added a mining notify based on pool diff target
- Improved stability and json errors
2023-05-26 13:02:14 +02:00
BitMaker
5573aaf321
Merge pull request #25 from bruno-t-de-renzo/master
...
Buttons review
2023-05-15 23:33:19 +02:00
Flomete97
ffbb34c0ce
Add temperature and clock on screen
2023-05-15 23:15:21 +02:00
Bruno Terlizzi de Renzo
b6bf69355e
Adopting suggestions from @gaelbenoit
...
- Moving PIN_BUTTON definitions to wManager.h
- Using "TFT_BL" macro instead of the direct int representation in
NerdMinerV2.ino.cpp
2023-05-13 17:00:54 +02:00
Bruno Terlizzi de Renzo
af8934643b
- Refactoring of the "configuration reset" button
...
- Adding the possibility to rotate and turn the screen on and off
2023-05-12 10:27:36 +02:00
BitMaker
8b97101e23
Update main screen
...
- Changed main miner screen to add temp + hour on top right screen.
- Added functions to print temp + hour on screen
- TODO: NPT + temperature reading
2023-05-10 01:04:34 +02:00
BitMaker
ddafc1aef0
Minor changes
2023-05-08 01:31:05 +02:00
Alfonso C. Alvarez
f52a19a0b6
Merge branch 'master' into feature/minor_fixes
2023-05-07 13:26:02 +02:00
Alfonso C. Alvarez
444f9f26e7
minor fixes
2023-05-07 13:21:00 +02:00
BitMaker
ff3cd7925a
minor changes +readme update
2023-05-06 00:46:16 +02:00
Alfonso C. Alvarez
4f83b1ac48
minor improvements and modified monitor to real time.
2023-05-04 17:05:24 +02:00
Alfonso C. Alvarez
0aabedcbd1
Revert "Merge branch 'master' of https://github.com/alcar21/NerdMiner_v2 into feature/add_platformio_support_and_improvements"
...
This reverts commit 8884bb58d7
.
2023-05-03 21:11:59 +02:00
Alfonso C. Alvarez
8884bb58d7
Merge branch 'master' of https://github.com/alcar21/NerdMiner_v2 into feature/add_platformio_support_and_improvements
2023-05-03 21:09:37 +02:00
BitMaker
638407a3e8
Release 1.3
...
- Midstates implemented
- Known bug on lilygo TDisplayS3 5V external power
- Better stability current hashrate 22kHs
- Bug delete current config Release v1.2
2023-05-01 22:26:01 +02:00
BitMaker
360fb29df8
Release 1.2
...
- Changed sha libs upgraded hashrate to 26khs
2023-04-23 10:34:18 +02:00
BitMaker
4e40baf450
Minor debug changes
2023-04-18 14:08:58 +02:00
BitMaker
472894d0e8
Previous improvements
...
- Checking correctly JSON file before using it
- Disable DFU Uart cause gives problems when don't read incoming port data.
2023-04-17 23:24:42 +02:00
Alfonso C. Alvarez
cf0e667668
Merge branch 'master' of https://github.com/alcar21/NerdMiner_v2 into feature/add_platformio_support_and_improvements
...
# Conflicts:
# .gitignore
# Lib/Free_Fonts.h
# Lib/images.h
# Lib/myFonts.h
# NerdMinerV2.ino
# README.md
# TFT_setup/User_Setup.h
# lib/TFT_eSPI/User_Setup.h
# platformio.ini
# src/Lib/Free_Fonts.h
# src/Lib/images.h
# src/Lib/myFonts.h
# src/NerdMinerV2.ino
# src/NerdMinerV2.ino.cpp
# src/TFT_setup/User_Setup.h
# src/media/Free_Fonts.h
# src/media/images.h
# src/media/myFonts.h
# src/mining.cpp
# src/mining.h
# src/wManager.h
2023-04-17 15:04:42 +02:00
Alfonso C. Alvarez
00f658f592
changed: Clean messages not used and added error parameter in debug.
2023-04-17 11:53:26 +02:00
Alfonso C. Alvarez
d64a1d95da
changed:
...
- added plaformio libraries
- improvements and fix errors.
Please enter the commit message for your changes. Lines starting
2023-04-17 02:07:18 +02:00
BitMaker-hub
3a09daeab2
Move to PlatformIO
...
- [x] Move project to platformIO
- [x] Bug rectangle on screen when 1milion shares
- [x] Bug memory leaks
- [x] Bug Reboots when received JSON contains some null values
- Readme update with build troubleshooting
TODO
- [ ] Improve hashrate using Blockstream Jade miner code
- [ ] Add blockHeight to screen
- [ ] Add new screen with global mining stats
- [ ] Add support to control BM1397
2023-04-15 23:56:13 +02:00
Alfonso C. Alvarez
2ca4513071
Migrated to platformio platform
2023-04-07 00:43:20 +02:00