From 7a54b29155faf2ea4591031dfd4fc8ff95dd491c Mon Sep 17 00:00:00 2001 From: BitMaker Date: Mon, 29 May 2023 22:37:14 +0200 Subject: [PATCH] Minor changes fix logs from Alcar --- .gitignore | 1 + platformio.ini | 1 + src/mining.cpp | 14 ++++++++++++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0f5143c..38fac82 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .vscode NerdMinerLog.txt bin/0x10000_firmware.bin +logs diff --git a/platformio.ini b/platformio.ini index ab2e702..1d43248 100644 --- a/platformio.ini +++ b/platformio.ini @@ -18,6 +18,7 @@ framework = arduino monitor_filters = esp32_exception_decoder time + log2file board_build.arduino.memory_type = qio_opi monitor_speed = 115200 upload_speed = 115200 diff --git a/src/mining.cpp b/src/mining.cpp index 39b7ad3..1c75a5f 100644 --- a/src/mining.cpp +++ b/src/mining.cpp @@ -62,9 +62,19 @@ void runStratumWorker(void *name) { } //Test vars: - strcpy(poolString, "rr"); + //************ + //Nerdminerpool + strcpy(poolString, "nerdminerPool"); portNumber = 3002; - strcpy(btcString,"rr"); + strcpy(btcString,"test"); + //Braiins + //strcpy(poolString, "eu.stratum.braiins.com"); + //portNumber = 3333; + //strcpy(btcString,"Bitmaker.01"); + //CKpool + //strcpy(poolString, "solo.ckpool.org"); + //portNumber = 3333; + //strcpy(btcString,"test"); if (!client.connected()) { isMinerSuscribed = false;