Open tiger0007t opened 6 months ago
There's a plan for that, but I don't have any ETA for nor development or release. It's described here: https://github.com/matteocrippa/leafminer/blob/main/docs/cascade-mining.md
A few issue with solo mining needs to be addressed first than we can expand to that feature. For now no plan to use STM.
where can I download version 0.0.14 for testing?
0.0.14 has not been released yet, the fastest way is to install it using vscode+platformio
I have vscode, and platformio is installed, but it's difficult for me to work in it, I didn't have to do something in it, how to add a project doesn't even always work, you need to figure it out. You can suggest on the next branch I asked where to get the files for esp8266 https://github.com/matteocrippa/leafminer/issues/31#issuecomment-2066309571
likely it is necessary to refuse esp8266 doesn't leave to compile at me the project, something loads and is long strong, it was necessary to establish GIT control why he is necessary didn't understand as he participates in updates with github, on esp32 nerdminer_v2 works perfectly around the clock. there was a strong wish to start it on esp12e. knowledge it isn't enough to complete of it.
I didn't get, did you try to connect the board and then select Build & Upload? I see you are in master branch
good afternoon, I'm trying to compile the project, but it takes a very long time to download packages from github, please tell me correctly I understood that it compiles for all boards?
Выполнение задачи: C:\Users\tiger0007.platformio\penv\Scripts\platformio.exe run --target upload
Processing esp8266 (platform: https://github.com/platformio/platform-espressif8266.git; board: d1_mini; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 (4.2.1+sha.87fdc0f) > WeMos D1 R2 and mini
HARDWARE: ESP8266 160MHz, 80KB RAM, 4MB Flash
PACKAGES:
Leaving... Hard resetting via RTS pin... ========================================================== [SUCCESS] Took 54.58 seconds ==========================================================
Per processor Processing esp32-s2 (platform: https://github.com/platformio/platform-espressif32.git#develop; board: lolin_s2_mini; framework: arduino) ---------------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing espressif/toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5 Downloading [------------------------------------] 0%
please tell me it's okay that vscode is trying to write the next firmware from another processor after programming?
12:29:03.043> [I] Current: Hash accepted: 11 12:29:10.072> [D] Current: Hashrate: 11.34 kH/s 12:29:15.962> [D] Current: Hashrate: 21.02 kH/s 12:29:17.087> [D] Current: Hashrate: 21.01 kH/s 12:29:18.782> [D] Current: Hashrate: 20.99 kH/s 12:29:21.208> [D] Current: Hashrate: 21.01 kH/s 12:29:26.287> [I] Miner: [0] > [1a8cdb2] > 0x004097ae - diff 0.000517413331 12:29:26.287> [I] Network: >>> {"id":20,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1a8cdb2","55880833","662389fd","004097ae"]} [I] Network: <<< [mining.notify] {"id":null,"method":"mining.notify","params":["1a8e614","19a550d4bb16cfabed08dbfb49c8beb17c397301000237200000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff170379d10c5075626c69632d506f6f6c","ffffffff02ba17aa490000000016001444be27b5c7e81e104603eb6c43c96021f63724930000000000000000266a24aa21a9ed85c8e58d7e3a6c1112f0146feb9e1c6a990853dd98bae9a2796b018059f51d6b00000000",["39852936aadffa1a0010e6d09e6b80cfec64108ab805cbed71df1e6bbfaecef7","fe9c5d7609a95cfac70306865bd8a25099cf5f5311c90638142ad250d8aae092","42a687025308c506feb09af2e5429a8dd9f7912:29:26.586> 0ed315ae52ca2019ca6b87fd904","13ca607481ba69a2047288fa160e56da081aebb2b0fd90f609183f1a45f467c4","d021975881d3ab193220d4da646129563b35918cd49237014aa16fc52e474b97","9a8529e8434fdf3f8e6379775c584ab8484aebd40861cec86c4bac959d8c3301","e4757a5ecc4095734351bfc0c17b872f6edefc9c708301283b6182c326f4f2c9","a70eab5bd55ba6520baee5058377420aa96d85a1af3740cfd0d6adc8e48ef071","4383748d83bea6821e04527b96d0a4f8b6095159c95ba2d81876fefccde4ca39","f4e5cf8b4f6dcb8e89be63d3c9ec09207a0a8a831a2734c69e76af4ec1cc01d8","a36b19481c1192a0c1afc8e19b9a08f43a2ab77d5a43cd35ceb3dab323a69718","33fa8c7adaa4daca72414d704e22c2896f602c395e01a0f70127f9cba4dd77b9","5fc9439c974dab82d39f4f751f5badfbdbca90912fdd4e7b3a0e4650662d0963"],"20000000","17034219","66238b29",false]} 12:29:26.586> [I] Job: Random value: 1784029717 12:29:26.586> [I] Current: Job: 1a8e614 queued 12:29:26.586> [I] Network: <<< [mining.submit] {"id":20,"error":null,"result":true} 12:29:26.586> [I] Network: Share accepted 12:29:26.586> [I] Current: Hash accepted: 12 12:29:33.566> [D] Current: Hashrate: 12.10 kH/s 12:29:35.753> [D] Current: Hashrate: 21.01 kH/s 12:29:39.139> [D] Current: Hashrate: 21.01 kH/s 12:29:41.449> [D] Current: Hashrate: 21.01 kH/s 12:29:48.375> [D] Current: Hashrate: 21.02 kH/s 12:29:57.693> [D] Current: Hashrate: 21.02 kH/s 12:29:58.891> [D] Current: Hashrate: 21.01 kH/s 12:30:01.263> [I] Miner: [0] > [1a8cdb2] > 0x004a20aa - diff 0.000374922019 12:30:01.263> [I] Network: >>> {"id":22,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1a8cdb2","55880833","662389fd","004a20aa"]} 12:30:01.263> [I] Network: <<< [mining.set_difficulty] {"id":null,"method":"mining.set_difficulty","params":[0.000032]} 12:30:01.263> [I] Current: New difficulty: 0.000032000000 12:30:01.263> [D] Network: Difficulty set to: 0.0000320000 [I] Network: <<< [mining.notify] {"id":null,"method":"mining.notify","params":["1a8e636","19a550d4bb16cfabed08dbfb49c8beb17c397301000237200000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff170379d10c5075626c69632d506f6f6c","ffffffff02ba17aa490000000016001444be27b5c7e81e104603eb6c43c96021f63724930000000000000000266a24aa21a9ed85c8e58d7e3a6c1112f0146feb9e1c6a990853dd98bae912:30:01.949> a2796b018059f51d6b00000000",["39852936aadffa1a0010e6d09e6b80cfec64108ab805cbed71df1e6bbfaecef7","fe9c5d7609a95cfac70306865bd8a25099cf5f5311c90638142ad250d8aae092","42a687025308c506feb09af2e5429a8dd9f790ed315ae52ca2019ca6b87fd904","13ca607481ba69a2047288fa160e56da081aebb2b0fd90f609183f1a45f467c4","d021975881d3ab193220d4da646129563b35918cd49237014aa16fc52e474b97","9a8529e8434fdf3f8e6379775c584ab8484aebd40861cec86c4bac959d8c3301","e4757a5ecc4095734351bfc0c17b872f6edefc9c708301283b6182c326f4f2c9","a70eab5bd55ba6520baee5058377420aa96d85a1af3740cfd0d6adc8e48ef071","4383748d83bea6821e04527b96d0a4f8b6095159c95ba2d81876fefccde4ca39","f4e5cf8b4f6dcb8e89be63d3c9ec09207a0a8a831a2734c69e76af4ec1cc01d8","a36b19481c1192a0c1afc8e19b9a08f43a2ab77d5a43cd35ceb3dab323a69718","33fa8c7adaa4daca72414d704e22c2896f602c395e01a0f70127f9cba4dd77b9","5fc9439c974dab82d39f4f751f5badfbdbca90912fdd4e7b3a0e4650662d0963"],"20000000","17034219","66238b29",false]} 12:30:01.949> [I] Job: Random value: 594468053 12:30:01.949> [I] Current: Job: 1a8e636 queued 12:30:02.233> [I] Network: <<< [mining.submit] {"id":22,"error":null,"result":true} 12:30:02.233> [I] Network: Share accepted 12:30:02.233> [I] Current: Hash accepted: 13 12:30:08.450> [D] Current: Hashrate: 8.29 kH/s 12:30:09.265> [I] Miner: [0] > [1a8cdb2] > 0x004ad6c4 - diff 0.000045173565 12:30:09.265> [I] Network: >>> {"id":24,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1a8cdb2","55880833","662389fd","004ad6c4"]} 12:30:09.516> [I] Network: <<< [mining.submit] {"id":24,"error":null,"result":true} 12:30:09.516> [I] Network: Share accepted 12:30:09.516> [I] Current: Hash accepted: 14 [I] Network: <<< [mining.notify] {"id":null,"method":"mining.notify","params":["1a8eb03","19a550d4bb16cfabed08dbfb49c8beb17c397301000237200000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff170379d10c512:30:14.344> 075626c69632d506f6f6c","ffffffff02ba17aa490000000016001444be27b5c7e81e104603eb6c43c96021f63724930000000000000000266a24aa21a9ed85c8e58d7e3a6c1112f0146feb9e1c6a990853dd98bae9a2796b018059f51d6b00000000",["39852936aadffa1a0010e6d09e6b80cfec64108ab805cbed71df1e6bbfaecef7","fe9c5d7609a95cfac70306865bd8a25099cf5f5311c90638142ad250d8aae092","42a687025308c506feb09af2e5429a8dd9f790ed315ae52ca2019ca6b87fd904","13ca607481ba69a2047288fa160e56da081aebb2b0fd90f609183f1a45f467c4","d021975881d3ab193220d4da646129563b35918cd49237014aa16fc52e474b97","9a8529e8434fdf3f8e6379775c584ab8484aebd40861cec86c4bac959d8c3301","e4757a5ecc4095734351bfc0c17b872f6edefc9c708301283b6182c326f4f2c9","a70eab5bd55ba6520baee5058377420aa96d85a1af3740cfd0d6adc8e48ef071","4383748d83bea6821e04527b96d0a4f8b6095159c95ba2d81876fefccde4ca39","f4e5cf8b4f6dcb8e89be63d3c9ec09207a0a8a831a2734c69e76af4ec1cc01d8","a36b19481c1192a0c1afc8e19b9a08f43a2ab77d5a43cd35ceb3dab323a69718","33fa8c7adaa4daca72414d704e22c2896f602c395e01a0f70127f9cba4dd77b9","5fc9439c974dab82d39f4f751f5badfbdbca90912fdd4e7b3a0e4650662d0963"],"20000000","17034219","66238b65",false]} 12:30:14.344> [I] Job: Random value: 456877666 12:30:14.344> [I] Current: Job: 1a8eb03 queued
stops and does not send anything to uart unfortunately
I can't see what version is running? 0.0.13 or 0.0.14? Btw I see you managed to make it work now from source
I started compiling in vscode, I do not know which version he installed in the processor. there is a compilation log with library versions on top. after a short period of time, the esp8266 stops working
Can you just open the serial monitor and reboot the board, it should connect and show you which version is running
13:54:28.039 -> Ь⸮#[I] AutoUpdate: Connecting to DRE2306... 13:54:33.114 -> [D] AutoUpdate: payload: { 13:54:33.114 -> "current": "0.0.14", 13:54:33.114 -> "link": "https://github.com/matteocrippa/leafminer/releases/download/v{{version}}/firmware_{{device}}.bin", 13:54:33.160 -> "devices": [ 13:54:33.160 -> "esp8266", 13:54:33.160 -> "esp32", 13:54:33.160 -> "esp32-s2", 13:54:33.160 -> "esp32-s3", 13:54:33.160 -> "geekmagic-smalltv", 13:54:33.160 -> "lilygo-t-display-s3" 13:54:33.160 -> ] 13:54:33.160 -> } 13:54:33.160 -> 13:54:33.160 -> [D] AutoUpdate: Remote Version: 0.0.14 13:54:33.160 -> [D] AutoUpdate: New Version: 0.0.14 13:54:33.160 -> [D] AutoUpdate: Device supported: esp8266 13:54:33.160 -> [D] AutoUpdate: Downloading: https://github.com/matteocrippa/leafminer/releases/download/v0.0.14/firmware_esp8266.bin 13:54:34.134 -> [E] AutoUpdate: httpCode: 404 13:54:34.134 -> [I] Network: Connecting to DRE2306... 13:54:36.535 -> [D] Network: Connecting to host public-pool.io... 13:54:37.227 -> [I] Network: >>> {"id":1,"method":"mining.subscribe","params":["LeafMiner/0.0.13", null]} 13:54:37.227 -> 13:54:37.227 -> [I] Network: >>> {"id":2,"method":"mining.authorize","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","x"]} 13:54:37.227 -> 13:54:37.227 -> [I] Network: >>> {"id":3,"method":"mining.suggest_difficulty","params":[0.000100]} 13:54:37.274 -> 13:54:37.461 -> [I] Network: <<< [subscribe] {"id":1,"error":null,"result":[[["mining.notify","57ede2bd"]],"57ede2bd",4]} 13:54:37.461 -> [I] Current: New session id: 57ede2bd 13:54:37.649 -> [I] Network: <<< [authorized] {"id":2,"error":null,"result":true} 13:54:37.649 -> [I] Network: Authorized 13:54:37.649 -> [I] Network: <<< [mining.set_difficulty] {"id":null,"method":"mining.set_difficulty","params":[0.0001]} 13:54:37.649 -> [I] Current: New difficulty: 0.000100000000 13:54:37.649 -> [D] Network: Difficulty set to: 0.0001000000 13:54:37.743 -> [I] Network: <<< [mining.notify] {"id":null,"method":"mining.notify","params":["1b4f578","075252efe6c44319400f9c8fd0343d86fb3fae05000012570000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff170305d20c5075626c69632d506f6f6c","ffffffff02e283d2190000000016001444be27b5c7e81e104603eb6c43c96021f63724930000000000000000266a24aa21a9ed89162405e8f42ca76a2b7e01018e27c5688c78cb2d37764b1df0628590cbdfa100000000",["64d862a4e53c96e723e6f1820b7ab3e430bf48625cd21b63066e01589f1675a4","f74baf2fc8210c07209b9ce3aad5ceb946310e43743ad83869c1734ee5de43f6","30ea033833f5be872c861bccb05f6ca060449df6e8e6dfa6e7f34e318eec5db3","98eaff5c2c678760c62378d6eeefe824c4288e5f20746fe05acc73e93a6c1560","0039c944166595bd6ad715f824332e8985fa764dd8152e5dfaba416565b26383","5b3540ca2910d164e5e7fd6d810debc8b4ca73660565d8f977c20c7e4a08a41e","f0977fe37842d40d5bf8203b748621f64063bc74b52c5cd2903c56939d98bdf8","26d0025babaecb4862eb9c15b6736d8918fd7b24e89e114f08455f87eca1a333","a4d3489d17488bff0dd23189be417ee9f9864dc2edbac34b165cca970264aca2","7f2c16582934ba843a638afd6f33132622ac8c3074937bb9a494c2fd8330d27b","34264adf108c45e28acd70bf6e92fd6c56b11757fbda44ca120edd5e6efbd355","afcdfda5e92673f36d93ae6c9444684cbc71c171b8d18872b5e95d7c6b62c4ef","5b158048219dfb50d351314640874ac74bfb3046caa0a848d60b28893af5eda3"],"20000000","17034219","6624f093",false]} 13:54:37.836 -> [I] Job: Random value: 638760608 13:54:37.883 -> [I] Current: Job: 1b4f578 ready to be mined 13:54:54.351 -> [D] Current: Hashrate: 21.02 kH/s 13:54:55.402 -> [D] Current: Hashrate: 21.00 kH/s 13:55:06.744 -> [D] Current: Hashrate: 21.02 kH/s 13:55:12.911 -> [D] Current: Hashrate: 21.02 kH/s 13:55:16.273 -> [D] Current: Hashrate: 21.01 kH/s 13:55:23.444 -> [D] Current: Hashrate: 21.02 kH/s 13:55:24.054 -> [I] Miner: [0] > [1b4f578] > 0x000d31d3 - diff 0.000104011930 13:55:24.054 -> [I] Network: >>> {"id":5,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1b4f578","63876060","6624f093","000d31d3"]} 13:55:24.054 -> 13:55:29.022 -> [I] Current: New highest hashed difficulty: 0.000104011930 13:55:30.287 -> [D] Current: Hashrate: 5.57 kH/s 13:55:33.521 -> [I] Miner: [0] > [1b4f578] > 0x000ea13b - diff 0.000503979439 13:55:33.521 -> [I] Network: >>> {"id":6,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1b4f578","63876060","6624f093","000ea13b"]} 13:55:33.568 -> 13:55:35.396 -> [I] Network: <<< [mining.notify] {"id":null,"method":"mining.notify","params":["1b4f599","075252efe6c44319400f9c8fd0343d86fb3fae05000012570000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff170305d20c5075626c69632d506f6f6c","ffffffff02e283d2190000000016001444be27b5c7e81e104603eb6c43c96021f63724930000000000000000266a24aa21a9ed89162405e8f42ca76a2b7e01018e27c5688c78cb2d37764b1df0628590cbdfa100000000",["64d862a4e53c96e723e6f1820b7ab3e430bf48625cd21b63066e01589f1675a4","f74baf2fc8210c07209b9ce3aad5ceb946310e43743ad83869c1734ee5de43f6","30ea033833f5be872c861bccb05f6ca060449df6e8e6dfa6e7f34e318eec5db3","98eaff5c2c678760c62378d6eeefe824c4288e5f20746fe05acc73e93a6c1560","0039c944166595bd6ad715f824332e8985fa764dd8152e5dfaba416565b26383","5b3540ca2910d164e5e7fd6d810debc8b4ca73660565d8f977c20c7e4a08a41e","f0977fe37842d40d5bf8203b748621f64063bc74b52c5cd2903c56939d98bdf8","26d0025babaecb4862eb9c15b6736d8918fd7b24e89e114f08455f87eca1a333","a4d3489d17488bff0dd23189be417ee9f9864dc2edbac34b165cca970264aca2","7f2c16582934ba843a638afd6f33132622ac8c3074937bb9a494c2fd8330d27b","34264adf108c45e28acd70bf6e92fd6c56b11757fbda44ca120edd5e6efbd355","afcdfda5e92673f36d93ae6c9444684cbc71c171b8d18872b5e95d7c6b62c4ef","5b158048219dfb50d351314640874ac74bfb3046caa0a848d60b28893af5eda3"],"20000000","17034219","6624f0cf",false]} 13:55:35.537 -> [I] Job: Random value: 885988228 13:55:35.537 -> [I] Current: Job: 1b4f599 queued 13:55:35.537 -> [I] Network: <<< [mining.submit] {"id":5,"error":null,"result":true} 13:55:35.537 -> [I] Network: Share accepted 13:55:35.537 -> [I] Current: Hash accepted: 1 13:55:35.631 -> [I] Network: <<< [mining.submit] {"id":6,"error":null,"result":true} 13:55:35.631 -> [I] Network: Share accepted 13:55:35.631 -> [I] Current: Hash accepted: 2 13:55:40.648 -> [I] Current: New highest hashed difficulty: 0.000503979439 13:55:41.351 -> [D] Current: Hashrate: 7.48 kH/s
as far as I understood 0.0.14 version, I will observe whether the problem as yesterday stopped just working
then nothing happens, I can't understand why it stops working
Click Connect to start Connecting... Connected successfully. Try hard reset. Chip type ESP8266 Connected to ESP8266 MAC Address: D8:F1:5B:11:04:75 Uploading stub... Running stub... Stub is now running... Detecting Flash Size FlashId: 0x16405E Flash Manufacturer: 5e Flash Device: 4016 Auto-detected Flash size: 4MB Start erasing Erasing flash memory. Please wait... Erasing flash memory. Please wait... Erasing flash memory. Please wait... Erasing flash memory. Please wait... Finished. Took 13664ms to erase. Image header, Magic=0xE9, FlashMode=0x02, FlashSizeFreq=0x40 Writing data with filesize: 650080 Erase size 650080, blocks 40, block size 0x4000, offset 0x0000, encrypted no Flashing... 2% Flashing... 5% Flashing... 100% Took 61475ms to write 650080 bytes Erase size 0, blocks 0, block size 0x4000, offset 0x0000, encrypted no Done! To run the new firmware please reset your device.
I'm a bit lost, what's the issue @tiger0007t ? I see it running, I've just released a v0.0.15 and tested for 1hr with a Weimos D1 and worked fine for me
probably the log file did not go, I will restart the session and make a log.
please see log [Uploading device-monitor-240423-022534.log…]()
tried to completely overwrite the program, erased the memory completely on ESPWebTool and then compiled it back to platformio, works for 35 minutes without problems at the moment
2:15:39.820 > [I] Network: <<< [mining.submit] {"id":206,"error":null,"result":true} 12:15:39.826 > [I] Network: Share accepted 12:15:39.829 > [I] Current: Hash accepted: 151 12:15:44.821 > [D] Current: Hashrate: 8.92 kH/s 12:15:52.387 > [I] Miner: [0] > [1fb9297] > 0x0081fbdb - diff 0.000842418966 12:15:52.396 > [I] Network: >>> {"id":208,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1fb9297","17136166","66277993","0081fbdb"]} 12:15:52.410 > 12:15:52.621 > [I] Network: <<< [mining.submit] {"id":208,"error":null,"result":true} 12:15:52.627 > [I] Network: Share accepted 12:15:52.630 > [I] Current: Hash accepted: 152 12:15:57.621 > [D] Current: Hashrate: 12.42 kH/s 12:16:01.965 > [I] Miner: [0] > [1fb9297] > 0x00836066 - diff 0.000070748336 12:16:01.974 > [I] Network: >>> {"id":209,"method":"mining.submit","params":["bc1qgjlz0dw8aq0pq3sradky8jtqy8mrwfyn2z2c0z","1fb9297","17136166","66277993","00836066"]} 12:16:01.988 > 12:16:02.420 > [I] Network: <<< [mining.submit] {"id":209,"error":null,"result":true} 12:16:02.425 > [I] Network: Share accepted 12:16:02.428 > [I] Current: Hash accepted: 153
after a while it stops informing about the accepted balls, then swears at the connection, then Share rejected goes, but then it seems like the connection is restored, it is important that it does not freeze as it was
Can I close this and let's put the esp8266 issue under an unique issue
Environment Status Duration
esp8266 SUCCESS 00:00:01.527 geekmagic-smalltv FAILED 00:00:03.012 esp32 FAILED 00:00:01.601 esp32-s2 SUCCESS 00:00:04.180 esp32-s3 FAILED 00:00:01.721 lilygo-t-display-s3 FAILED 00:00:01.909
Good afternoon, please tell me is it possible to make it so that there is one esp8266 device to which several other processors are connected to work on calculations? So that the esp8266 issues tasks for work, as it happens in hash boards on ASICs, for example, stm32 or atmega, or others. This is a very interesting topic. This would make it possible to assemble a device like an asic mini only. The cost of the stm32 and its power consumption are noticeably lower than those of the esp32 or esp8266