Coin tech thread:
- We need a functioning seed node up and running 24/7. Maybe we could put a bootstrap file at this address as well?
Solved with a SINGLE dedicated node. Use/provide the IP of the block explorer.
Coinexchange.io has indicated our debug log is ~1 TB and they and they need a fix from us. This is probably an easy, procedural fix.
Direct CoinExchange.io to the "ShrinkDebugFile" option in their .conf file. Setting that variable to 1 will limit the size of their debug log to 200kb (if it's found to be greater than 1 MB). See the code below which is found in the src/util.cpp
https://github.com/greencoin-dev/GreenCoinV2/blob/master/src/util.cppvoid ShrinkDebugFile()
{
/ Scroll debug.log if it's getting too big
boost::filesystem::path pathLog = GetDataDir() "debug.log";
FILE* file = fopen(pathLog.string().c_str(), "r");
if (file && boost::filesystem::file_size(pathLog) > 10 * 1000000)
{
/ Restart the file with some of the end
char pch[200000];
fseek(file, -sizeof(pch), SEEK_END);
int nBytes = fread(pch, 1, sizeof(pch), file);
fclose(file);
file = fopen(pathLog.string().c_str(), "w");
if (file)
{
fwrite(pch, 1, nBytes, file);
fclose(file);
}
}
}
The sync stalls out as it pushes through blocks where we had micro-forking issues (blocks 95,000 - 225,000). I'm not sure what the fix is but we need to try something here.
Fixing the nodes should fix the Syncing issues - I confirmed today that a faulty IP was causing the wallet to seize on a single IP address. See PR 4 on the Github.
https://github.com/greencoin-dev/GreenCoinV2/pull/4/filesThe third IP in the list (104.237.2.189) was causing the wallet to hang.
Below shows the debug file as it loops on that single IP (caused by a refused connection).
connect() to 104.237.2.189:11517 failed after select(): Connection refused
keypool added key 102, size=101
keypool reserve 2
keypool return 2
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
keypool reserve 2
keypool return 2
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
keypool reserve 2
keypool return 2
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused
connect() to 104.237.2.189:11517 failed after select(): Connection refused