creepMiner - C++ Burst Miner (based on Uray's Miner)



  • @Creepsky No worries.

    Thanks for the tip on changing the mining intensity. Setting it to '1' brought the read times close to what I was seeing originally. Because I don't fully understand what the verifiers do, am I compromising my reads by running at a lower number?



  • @RatPatrol you can see the plot readers as work producer and the verifiers as worker.
    Every plot reader is reading parts from the plot files and putting the data onto a stack. The verifiers are taking this data and looking for good deadlines inside of them.

    There is never more work to do as maxBufferSizeMB (in MB); if a new work block would exceed this value, the plot readers are waiting.

    Every plot reader and every verifier represents exactly 1 thread. If you have too many threads running, the program can begin to slow down, because the threads (plot reader, verifier, wallet requests, and so on) are blocking each other for a short amount of time (can be ns, can be ms).

    So its safe to use whatever settings fits to your computer - if it runs fine, just use them :)



  • @Creepsky Got it. Thank you for the explanation!



  • Hey @Creepsky ,
    I have few problems with the miner.

    1. What went wrong here? It seems like there slipt a to long DL thru:
      0_1489236695638_creepBug.png

    2.The miner stops minig after a while:
    0_1489236964552_creepstuck.png

    3.Sometimes my PC becomes unusable while the miner is reading the drives, even though the CPU is only at 70%.

    90% of the time the miner works fine.



  • Hey @Daforce,

    1 comes from a fast block. The sent nonce was found for the last block, but the pool (or wallet) calculated it for the current block. This happens mainly because of latency and high CPU load on the pool (or wallet) side.

    Unfortunately there is not much I can do :-\ a new parameter in the API of the wallet or pool would fix this, but that's not in my hands. (/burst?requestType=submitNonce&accountId=...&nonce=...&blockheight=...).

    Actually, I also could simply hide the bad nonce/deadline (what I really should do, thanks for your report).

    2 is a bug that was fixed in the latest release (https://github.com/Creepsky/creepMiner/releases/tag/2.5.0).

    3 is interesting. One thing I can think of why this happens is that I set the priority of the plot read threads to a very high value. If you have a lot of readers, it can happen that the OS gives compute time only for the readers, but not the rest of the system.

    Also, here I refer to the latest version, where I set the priority down.
    If this doesn't help, you could set "mining"."maxPlotReaders" to a value > 0 and < the amount of your plot drives and/or change "mining"."intensity" to a lower value.



  • @Creepsky ok thanks, for the reply.
    I will try the new version and report back, how it runs :)



  • @Creepsky
    Ok, I let it run over night.

    1. Happend again.
      alt text
    2. Seems to be fixed
    3. Happend again, then I changed the plotreaders from 8 to 5, runs smooth for now.


  • I keep getting a error

    (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket 
    

    but dont know why

    config file looks like this

    {
        "logging" : {
            "config" : "information",
            "general" : "information",
            "miner" : "information",
            "nonceSubmitter" : "information",
            "output" : {
                "dirDone" : true,
                "lastWinner" : true,
                "nonceConfirmed" : true,
                "nonceFound" : true,
                "nonceOnTheWay" : true,
                "nonceSent" : true,
                "plotDone" : false
            },
            "path" : "",
            "plotReader" : "information",
            "plotVerifier" : "information",
            "server" : "fatal",
            "session" : "error",
            "socket" : "off",
            "wallet" : "information"
        },
        "mining" : {
            "intensity" : 5,
            "maxBufferSizeMB" : 256,
            "maxPlotReaders" : 0,
            "passphrase" : {
                "algorithm" : "",
                "decrypted" : "",
                "deleteKey" : "",
                "encrypted" : "",
                "iterations" : "",
                "key" : "",
                "salt" : ""
            },
            "plots" : [
                "D:\\Burst\\plots",
                "E:\\Burst\\plots",
                "F:\\Burst\\plots"
            ],
            "submissionMaxRetry" : 3,
            "targetDeadline" : "4254121",
            "timeout" : 30,
            "urls" : {
                "miningInfo" : "http://burst.lexitoshi.uk:8124",
                "poolurl" : "http://burst.lexitoshi.uk:8124",
                "submission" : "http://burst.lexitoshi.uk:8124",
                "wallet" : ""
            }
        },
        "webserver" : {
            "credentials" : {
                "hashed-pass" : "",
                "hashed-user" : "",
                "plain-pass" : "",
                "plain-user" : ""
            },
            "start" : true,
            "url" : "http://192.168.2.32:8126"
        }
    }
    

    longer error log

    13.03.2017 22:25:59 (0, src\Miner.cpp, 194, Notice): --------------------------------------------------
    block#      337860
    scoop#      2160
    baseTarget# 986528
    --------------------------------------------------
    13.03.2017 22:26:00 (10, src\Miner.cpp, 327, Information): L4WY-QCHZ-M8KB-4E3QX: nonce found (23d 05:04:02)
    	nonce: 400434083
    	in: D:\Burst\plots\3375497066413886366_400000001_2231680_2231680
    13.03.2017 22:26:00 (4, src\NonceSubmitter.cpp, 56, Information): L4WY-QCHZ-M8KB-4E3QX: nonce on the way (23d 05:04:02)
    13.03.2017 22:26:00 (4, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 1 (23d 05:04:02)
    13.03.2017 22:26:00 (4, src\NonceSubmitter.cpp, 81, Information): L4WY-QCHZ-M8KB-4E3QX: nonce submitted (23d 05:04:02)
    	nonce: 400434083
    	in D:\Burst\plots\3375497066413886366_400000001_2231680_2231680
    13.03.2017 22:26:00 (4, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:00 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:00 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:00 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:00 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:00 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:00 (4, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 2 (23d 05:04:02)
    13.03.2017 22:26:00 (11, src\PlotReader.cpp, 197, Information): D:\Burst\plots\3375497066413886366_400000001_2231680_2231680 (544.84 GB) read in 0.982s (~138.59 MB/s)
    13.03.2017 22:26:00 (11, src\PlotReader.cpp, 245, Information): Dir D:\Burst\plots read (1 files, 544.84 GB total) in 0.998s (~136.43 MB/s)
    13.03.2017 22:26:00 (4, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:01 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:01 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:01 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (4, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 3 (23d 05:04:02)
    13.03.2017 22:26:01 (10, src\Miner.cpp, 327, Information): L4WY-QCHZ-M8KB-4E3QX: nonce found (1d 17:24:32)
    	nonce: 601265200
    	in: F:\Burst\plots\3375497066413886366_600000001_6777344_6777344
    13.03.2017 22:26:01 (5, src\NonceSubmitter.cpp, 56, Information): L4WY-QCHZ-M8KB-4E3QX: nonce on the way (1d 17:24:32)
    13.03.2017 22:26:01 (4, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:01 (5, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 1 (1d 17:24:32)
    13.03.2017 22:26:01 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:01 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:01 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (4, src\NonceSubmitter.cpp, 96, Debug): JSON confirmation (23d 05:04:02)
    	
    13.03.2017 22:26:01 (5, src\NonceSubmitter.cpp, 81, Information): L4WY-QCHZ-M8KB-4E3QX: nonce submitted (1d 17:24:32)
    	nonce: 601265200
    	in F:\Burst\plots\3375497066413886366_600000001_6777344_6777344
    13.03.2017 22:26:01 (4, src\NonceSubmitter.cpp, 167, Warning): L4WY-QCHZ-M8KB-4E3QX: got no confirmation from server! busy? (23d 05:04:02)
    13.03.2017 22:26:01 (5, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:01 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:01 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:01 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:01 (5, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 2 (1d 17:24:32)
    13.03.2017 22:26:01 (5, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:01 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:02 (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:02 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:02 (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:02 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:02 (5, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 3 (1d 17:24:32)
    13.03.2017 22:26:02 (5, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:02 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:02 (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:02 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:02 (5, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:02 (5, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:02 (5, src\NonceSubmitter.cpp, 96, Debug): JSON confirmation (1d 17:24:32)
    	
    13.03.2017 22:26:02 (5, src\NonceSubmitter.cpp, 167, Warning): L4WY-QCHZ-M8KB-4E3QX: got no confirmation from server! busy? (1d 17:24:32)
    13.03.2017 22:26:05 (12, src\PlotReader.cpp, 197, Information): E:\Burst\plots\3375497066413886366_500000001_10047872_10047872 (2.40 TB) read in 5.241s (~117.00 MB/s)
    13.03.2017 22:26:05 (8, src\Miner.cpp, 327, Information): L4WY-QCHZ-M8KB-4E3QX: nonce found (05:35:51)
    	nonce: 507027724
    	in: E:\Burst\plots\3375497066413886366_500000001_10047872_10047872
    13.03.2017 22:26:05 (12, src\PlotReader.cpp, 245, Information): Dir E:\Burst\plots read (1 files, 2.40 TB total) in 5.257s (~116.65 MB/s)
    13.03.2017 22:26:05 (4, src\NonceSubmitter.cpp, 56, Information): L4WY-QCHZ-M8KB-4E3QX: nonce on the way (05:35:51)
    13.03.2017 22:26:05 (4, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 1 (05:35:51)
    13.03.2017 22:26:05 (4, src\NonceSubmitter.cpp, 81, Information): L4WY-QCHZ-M8KB-4E3QX: nonce submitted (05:35:51)
    	nonce: 507027724
    	in E:\Burst\plots\3375497066413886366_500000001_10047872_10047872
    13.03.2017 22:26:05 (4, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:05 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:05 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:05 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:05 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:05 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:05 (4, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 2 (05:35:51)
    13.03.2017 22:26:05 (13, src\PlotReader.cpp, 197, Information): F:\Burst\plots\3375497066413886366_600000001_6777344_6777344 (1.62 TB) read in 5.787s (~71.47 MB/s)
    13.03.2017 22:26:05 (13, src\PlotReader.cpp, 245, Information): Dir F:\Burst\plots read (1 files, 1.62 TB total) in 5.803s (~71.28 MB/s)
    13.03.2017 22:26:05 (4, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:05 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:05 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:05 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:05 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:05 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:05 (4, src\NonceSubmitter.cpp, 67, Debug): Submit-loop 3 (05:35:51)
    13.03.2017 22:26:06 (4, src\Response.cpp, 51, Error): Error on receiving response!
    No message received
    13.03.2017 22:26:06 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:06 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:06 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:06 (4, src\Response.cpp, 51, Error): Error on receiving response!
    Invalid socket
    13.03.2017 22:26:06 (4, src\Response.cpp, 53, Error): Stackframe
    NonceResponse::getConfirmation (in "src\Response.cpp", line 87)
    Response::receive (in "src\Response.cpp", line 29)
    
    13.03.2017 22:26:06 (4, src\NonceSubmitter.cpp, 96, Debug): JSON confirmation (05:35:51)
    	
    13.03.2017 22:26:06 (4, src\NonceSubmitter.cpp, 167, Warning): L4WY-QCHZ-M8KB-4E3QX: got no confirmation from server! busy? (05:35:51)
    


  • Hi @zefux, thank you for reporting this error!

    There is an open issue on github for this bug.
    You can download (or compile if you are on Linux) the latest pre-release 1.5.2 to fix it.

    Please tell me if there is something wrong with the fix.



  • @Creepsky runs great now :) thank you



  • version 1.5.2 is out (changelog is in the first message of this thread).


Log in to reply
 

Looks like your connection to Burst - Efficient HDD Mining was lost, please wait while we try to reconnect.