Commit Graph

192 Commits

Author SHA1 Message Date
Julio
0cfbb0f49c fix #210 implement Switch off screen on Lilygo dongle 2023-11-02 19:31:16 +01:00
Matteo Crippa
96e648f330 introduce custom password 2023-10-23 23:55:15 +02:00
Claudio Benvenuti
29ffe62ba8 fix regression introduced in 25db0a4 that prevented T-Display_V1 display to updates; fix for displayDriver.h case sensitive filename 2023-10-12 15:19:24 +02:00
BitMaker
8fc593be51
Merge pull request #195 from nitroxgas/dev
Fixed suffixes to large pool hash rates.
2023-10-05 23:54:39 +02:00
George Alexandre Silva
65110292ea Revert "Just for internal tests"
This reverts commit 5911e0d873.
2023-10-04 21:51:47 -03:00
George Alexandre Silva
5b67cb4430 Fixed suffixes to large pool hash rates. 2023-10-04 09:04:07 -03:00
Roman Mashta
096b9dbdd4 Fix build for MacOS and Linux. 2023-10-02 17:02:12 +03:00
BitMaker
e2ec393036
Merge pull request #186 from elmo128/SDspi_update
SPI support for SD card access, display for esp32cam, minor changes.
2023-10-01 10:38:59 +02:00
George Alexandre Silva
5911e0d873 Just for internal tests 2023-09-28 15:18:17 -03:00
elmo128
a587c131ab
Update SDCard.cpp
fix
2023-09-28 06:05:45 +02:00
elmo128
fce8135b9c fix 2023-09-27 17:45:37 +02:00
George Alexandre Silva
b6e8119fc6 Fixed wrong pool total hashrate, with jsonfilter 2023-09-26 01:14:41 -03:00
elmo128
4e4c24f404 update SD spi access 2023-09-22 01:35:31 +02:00
elmo128
bfb01da2c8 add display to esp32cam 2023-09-21 18:03:22 +02:00
elmo128
45dacd4f78 add documentation 2023-09-21 17:42:37 +02:00
elmo128
7c5ec51abb add spi access to sd card 2023-09-21 17:42:34 +02:00
elmo128
71d539bc5c debug_mem: print min free heap 2023-09-21 17:42:30 +02:00
elmo128
0f65433875 restore old keys in SPIFFS 2023-09-21 17:42:11 +02:00
elmo128
89287f43c9 bugfix, optimization 2023-09-21 17:41:21 +02:00
George Alexandre Silva
6105c57b9b Revert "Revert "Merge branch 'dev' of https://github.com/BitMaker-hub/NerdMiner_v2 into dev""
This reverts commit 56fc227c7c.
2023-09-19 22:18:28 -03:00
George Alexandre Silva
c803c3b78c minor adjusts. 2023-09-19 21:38:11 -03:00
George Alexandre Silva
56fc227c7c Revert "Merge branch 'dev' of https://github.com/BitMaker-hub/NerdMiner_v2 into dev"
This reverts commit 16ffd47a67, reversing
changes made to 43cbaf75cb.
2023-09-19 20:38:15 -03:00
George Alexandre Silva
16ffd47a67 Merge branch 'dev' of https://github.com/BitMaker-hub/NerdMiner_v2 into dev 2023-09-18 22:49:31 -03:00
George Alexandre Silva
43cbaf75cb Touch, Sprites fix to small heap, Suffix adj. 2023-09-18 22:43:54 -03:00
elmo128
2057ba8082 bugfix 2023-09-18 13:11:04 +02:00
elmo128
971613ebce fix 2023-09-18 02:32:34 +02:00
elmo128
282db32cc9 Consistence with readme 2023-09-17 16:55:10 +02:00
elmo128
6e891f1a5f update files 2023-09-17 16:44:01 +02:00
elmo128
e1d9cbb6c2 fix path 2023-09-17 14:55:28 +02:00
elmo128
2e366e931b split declaration+implementation 2023-09-17 14:52:48 +02:00
elmo128
711cf00c43 fix file locations 2023-09-17 14:41:16 +02:00
elmo128
330d493f06 Merge ESP32CAM_SD in dev 2023-09-17 14:06:46 +02:00
elmo128
6690f3cccb update 2023-09-16 01:42:40 +02:00
elmo128
cc1832641b fix 2023-09-15 12:43:16 +02:00
elmo128
a694427b7c update debug messages, comments 2023-09-15 12:43:13 +02:00
elmo128
59fbade347 update debug messages, prepare implementation of SPI mode 2023-09-15 12:42:41 +02:00
elmo128
1beeea2a25 update 2023-09-15 09:47:45 +02:00
elmo128
7ba6c9dc74 update readme add tripple click option 2023-09-15 09:40:43 +02:00
elmo128
bcd8b2f60d seperate display drivers 2023-09-15 07:36:46 +02:00
elmo128
309f20940e fix 2023-09-15 01:01:32 +02:00
elmo128
83938f7210 fix 2023-09-15 00:32:25 +02:00
elmo128
91ae5ef60c better identifiers 2023-09-15 00:27:19 +02:00
elmo128
2e5be19a60 prepare for builds without SD support 2023-09-14 23:18:08 +02:00
elmo128
80618d3cdc SD card enable flag 2023-09-14 23:16:56 +02:00
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