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



  • New Release 1.4.0

    Feature: Logging

    The whole log process was reworked and now allows a more accurate configuration.
    Also the miner now creates a log file.

    Important: with this release the section output was replaced with logging!
    Please see the informations in the wiki, especially the chapter Logging.

    Hotfix: Fixed race condition while reading/verifying plot

    There was a race condition while reading and verifying a plot file.
    This issue was fixed and the miner should now produce no more wrong nonces.

    Internal feature: reworked plot read process

    While reading plot files, no more then maxBufferSizeMB MB of RAM are used with this release. This limitation is global, so it is true for all plot reader!



  • @Creepsky Need some help here please. Have downloaded the latest version and after loading the Visual C++ Redistributable for Visual Studio 2013 & 2015 program now runs, however I am getting this error.

    11.02.2017 14:42:09 (0, src\main.cpp, 45, Information): creepMiner 1.4.0 Windows
    11.02.2017 14:42:09 (0, src\main.cpp, 46, Information): ----------------------------------------------
    11.02.2017 14:42:09 (0, src\main.cpp, 47, Information): Github:   https://github.com/Creepsky/creepMiner
    11.02.2017 14:42:09 (0, src\main.cpp, 48, Information): Author:   Creepsky [creepsky@gmail.com]
    11.02.2017 14:42:09 (0, src\main.cpp, 49, Information): Burst :   BURST-JBKL-ZUAV-UXMB-2G795
    11.02.2017 14:42:09 (0, src\main.cpp, 50, Information): ----------------------------------------------
    11.02.2017 14:42:09 (0, src\main.cpp, 51, Information): Based on http://github.com/uraymeiviar/burst-miner
    11.02.2017 14:42:09 (0, src\main.cpp, 52, Information): author : uray meiviar [ uraymeiviar@gmail.com ]
    11.02.2017 14:42:09 (0, src\main.cpp, 53, Information): please donate to support developments :
    11.02.2017 14:42:09 (0, src\main.cpp, 54, Information):  [ Burst   ] BURST-8E8K-WQ2F-ZDZ5-FQWHX
    11.02.2017 14:42:09 (0, src\main.cpp, 55, Information):  [ Bitcoin ] 1UrayjqRjSJjuouhJnkczy5AuMqJGRK4b
    11.02.2017 14:42:09 (0, src\main.cpp, 56, Information): ----------------------------------------------
    11.02.2017 14:42:09 (0, src\main.cpp, 70, Information): using config file mining.conf
    11.02.2017 14:42:09 (0, src\MinerConfig.cpp, 79, Error): There is an error in the config file!
    JSON Exception: JSON syntax error
    11.02.2017 14:42:09 (0, src\MinerConfig.cpp, 81, Error): Stackframe
    main (in "src\main.cpp", line 39)
    readConfigFile (in "src\MinerConfig.cpp", line 50)
    
    11.02.2017 14:42:09 (0, src\main.cpp, 104, Error): Aborting program due to invalid configuration
    

    I get it with my configuration and also with the configuration file as supplied, any change I make seems to make no difference so I have this feeling it is nothing to do with the Configuration file?

    Any help would be appreciated.

    Rich



  • @RichBC Hi Rich,

    try copy paste your config here https://jsonformatter.curiousconcept.com and verify it.
    If there is no error, could you please send me a copy of your config file (without personal data)?

    edit:
    wow I found an error in my example config ........



  • @Creepsky Will do, however I get the exact same error with an unedited version of the config file supplied?



  • @RichBC yes you are right, there is a comma missing in the config:

    "Start Server" : true
    "submissionMaxRetry" : 3,
    

    Thank you for reporting will fix it right now!

    edit: fixed! mining.conf



  • @Creepsky OK that has fixed the problem. We now run but get.

    11.02.2017 23:16:38 (0, src\Url.cpp, 56, Warning): Could not send request to host: unknown protocol 'pool.burstmining.club'!
    URI:

    So problem somethig I have wrong in the config, will go and check again



  • Try something like this, working for me good.

    {
    "Start Server" : true,
    "maxBufferSizeMB" : 128,
    "maxPlotReaders" : 0,
    "miningInfoUrl" : "http://pool.burstcoin.sk:8124",
    "miningIntensity" : 4,
    "output" : {
    "debug" : false,
    "dir done" : false,
    "error" : {
    "request" : false,
    "response" : false
    },
    "last winner" : true,
    "nonce confirmed plot" : false,
    "nonce found" : true,
    "nonce found plot" : false,
    "plot done" : false,
    "progress" : true
    },
    "passphrase" : {
    "algorithm" : "aes-256-cbc",
    "decrypted" : "",
    "deleteKey" : false,
    "encrypted" : "",
    "iterations" : 0,
    "key" : "",
    "salt" : ""
    },
    "plots" : [
    "C:\burst\plots"
    ],
    "poolUrl" : "http://pool.burstcoin.sk:8124",
    "serverUrl" : "http://127.0.0.1:8080",
    "submissionMaxRetry" : 3,
    "targetDeadline" : "684614",
    "timeout" : 45,
    "walletUrl" : "http://127.0.0.1:8125"
    }

    Nice web interface, and too many options later from Creepsky I think.
    Good Luck



  • how to set up conif for pool mining? i need a script to use on pool.burstcoin.de:8080currently when i tried to make a config i get a crash to both cuda and non cuda. i have 5TB of plots on 1 drive i am expanding to more tb as i speak but i need guidance to correct variables. Is there a scale for it. Although it crashes completely, it reads 5tb for me in 7 seconds jminer reads it in 14 seconds. This miner in my opinion important solely to nvidia CUDA technology. I think it has alot of potentual.
    here is my current config i know ive done something wrong i bet i have:

    {
        "Start Server" : true,
        "logging" : {
            "config" : "information",
            "general" : "information",
            "miner" : "information",
            "nonceSubmitter" : "information",
            "path" : "",
            "plotReader" : "information",
            "plotVerifier" : "information",
            "server" : "fatal",
            "session" : "error",
            "socket" : "off",
            "wallet" : "information"
        },
        "maxBufferSizeMB" : 128,
        "maxPlotReaders" : 0,
        "miningInfoUrl" : "http:\/\/pool.burstcoin.de:8080",
        "miningIntensity" : 2,
        "passphrase" : {
            "algorithm" : "aes-256-cbc",
            "decrypted" : "",
            "deleteKey" : false,
            "encrypted" : "",
            "iterations" : 0,
            "key" : "",
            "salt" : ""
        },
        "plots" : [
            "e:\\Burst\\plots"
        ],
        "poolUrl" : "pool.burstcoin.de:8080",
        "serverUrl" : "http:\/\/127.0.0.1:8080",
        "submissionMaxRetry" : 3,
        "targetDeadline" : "0y 0m 20d 15:00:00",
        "timeout" : 45,
        "walletUrl" : "https:\/\/wallet.burst-team.us:8128"
    }
    


  • @ZapbuzZ
    just change "poolUrl" : "pool.burstcoin.de:8080", to "poolUrl" : "http://pool.burstcoin.de:8080",.

    Settings you can adjust for scaling are maxBufferSizeMB and miningIntensity.
    If you set "maxPlotReaders" : 0 (like you already have), the plot readers scale automatically with the amount of your HDDs.

    I would begin with increasing miningIntensity until there is no more performance benefit, then maxBufferSizeMB.



  • thanks mate its running now



  • @Creepsky After sorting a few things in the Config Yesterday I have been mining with no problem on a couple of small plots.

    From Block# 327414 to Block# 327510 everything was fine with a Deadline being found on about 75% of Blocks, successfully submitted and confirmed.

    This was middle of the Night in the UK and from this point on no more Blocks were found. Program was running fine, but no Blocks. Restarted the Miner and immediately OK again.

    Here is a segment of the log showing Block# 327510 and a chunk after that, when something goes wrong?

    13.02.2017 00:03:47 (0, src\Miner.cpp, 270, Notice): --------------------------------------------------
    block#      327510
    scoop#      1810
    baseTarget# 1292183
    --------------------------------------------------
    13.02.2017 00:03:56 (10, src\PlotReader.cpp, 168, Debug): N:\Burst\plots\14150096560999520184_0_3801088_3801088 done 928.00 GB in 11.590s (~80.06 GB/s)
    13.02.2017 00:03:56 (10, src\PlotReader.cpp, 187, Information): Dir N done: 5 files, 4.53 TB total, 11.590s (~400.32 GB/s)
    13.02.2017 00:03:56 (7, src\Miner.cpp, 360, Information): NPXS-VA9X-XQYV-EXTRA: nonce found (4d 00:57:36)
    	in: N:\Burst\plots\14150096560999520184_0_3801088_3801088
    13.02.2017 00:03:56 (4, src\NonceSubmitter.cpp, 46, Information): NPXS-VA9X-XQYV-EXTRA: nonce on the way (4d 00:57:36)
    13.02.2017 00:03:56 (4, src\NonceSubmitter.cpp, 57, Debug): Submit-loop 1 (4d 00:57:36)
    13.02.2017 00:03:57 (4, src\NonceSubmitter.cpp, 66, Information): NPXS-VA9X-XQYV-EXTRA: nonce submitted (4d 00:57:36)
    13.02.2017 00:03:57 (4, src\NonceSubmitter.cpp, 131, Information): NPXS-VA9X-XQYV-EXTRA: nonce confirmed (4d 00:57:36)
    	nonce: 864524
    	in N:\Burst\plots\14150096560999520184_0_3801088_3801088
    13.02.2017 00:03:58 (10, src\PlotReader.cpp, 168, Debug): N:\Burst\plots\14150096560999520184_0_3801088_3801088 done 928.00 GB in 1.872s (~495.73 GB/s)
    13.02.2017 00:04:00 (10, src\PlotReader.cpp, 168, Debug): N:\Burst\plots\14150096560999520184_11403264_3801088_3801088 done 928.00 GB in 2.137s (~434.21 GB/s)
    13.02.2017 00:04:02 (10, src\PlotReader.cpp, 168, Debug): N:\Burst\plots\14150096560999520184_15204352_3801088_3801088 done 928.00 GB in 2.605s (~356.21 GB/s)
    13.02.2017 00:04:03 (0, src\Request.cpp, 46, Error): Error on sending request: Timeout
    13.02.2017 00:04:03 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::getNameOfAccount (in "src\Wallet.cpp", line 60)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:03 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:03 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:03 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:03 (0, src\Wallet.cpp, 83, Debug): Could not get name of account!
    13.02.2017 00:04:04 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:04 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    
    13.02.2017 00:04:04 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:05 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:05 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:05 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:06 (10, src\PlotReader.cpp, 168, Debug): N:\Burst\plots\14150096560999520184_3801088_3801088_3801088 done 928.00 GB in 3.104s (~298.93 GB/s)
    13.02.2017 00:04:06 (0, src\Request.cpp, 46, Error): Error on sending request: Timeout
    13.02.2017 00:04:06 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    
    13.02.2017 00:04:06 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:19 (0, src\Request.cpp, 46, Error): Error on sending request: Timeout
    13.02.2017 00:04:19 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:19 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:20 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:20 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:20 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:55 (0, src\Miner.cpp, 270, Notice): --------------------------------------------------
    block#      327511
    scoop#      3028
    baseTarget# 1262505
    --------------------------------------------------
    13.02.2017 00:04:57 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:57 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    
    13.02.2017 00:04:57 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:58 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:58 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:58 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:04:59 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 00:04:59 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 00:04:59 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 00:21:24 (0, src\Miner.cpp, 270, Notice): --------------------------------------------------
    block#      327512
    scoop#      479
    baseTarget# 1430668
    

    This then continues in the same way through to Block# 327629 when I was up in the UK saw that deadlines were not being found and restarted the Miner, which found a dedline in Block# 327629.

    13.02.2017 08:03:53 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 08:12:31 (0, src\Miner.cpp, 270, Notice): --------------------------------------------------
    block#      327629
    scoop#      3406
    baseTarget# 1671823
    --------------------------------------------------
    13.02.2017 08:12:33 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 08:12:33 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Miner::updateGensig (in "src\Miner.cpp", line 163)
    Miner::updateGensig::threadLastWinner (in "src\Miner.cpp", line 200)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    
    13.02.2017 08:12:33 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 08:12:34 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 08:12:34 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 08:12:34 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    13.02.2017 08:12:35 (0, src\Request.cpp, 46, Error): Error on sending request: Connection refused
    13.02.2017 08:12:35 (0, src\Request.cpp, 47, Error): Stackframe
    main (in "src\main.cpp", line 39)
    Miner::run (in "src\Miner.cpp", line 34)
    Miner::getMiningInfo (in "src\Miner.cpp", line 387)
    Wallet::getWinnerOfBlock (in "src\Wallet.cpp", line 30)
    Wallet::sendWalletRequest (in "src\Wallet.cpp", line 154)
    Request::send(Poco::Net::HTTPRequest&) (in "src\Request.cpp", line 35)
    
    13.02.2017 08:12:35 (0, src\Wallet.cpp, 54, Debug): Could not get last winner!
    

    Hopefully there is a clue somewhere in the Log File as to what the problem was?

    Rich



  • @RichBC Thank you for the logs, really helped me. This is one of the errors that can drive a developer crazy :D sporadic, sometimes, under special circumstances the buffer was not properly deallocated, what should be fixed now.

    I really really hope this is the cause of the error, but to be sure I added some more debug output so we can trace it if it occurs again.

    You should adjust your wallet URL in the config. All the request and connection errors you can see in the log are because of this.

    creepMiner 1.4.1

    Hotfix: Memory leak while mining

    Fixed a memory leak that occured sometimes when a new block begins while the plot readers were still working.



  • 0_1487007546855_ERROR.jpg

    Can someone please tell me what i can do about this the pool happens to be included with miners config? happened in prior version as well



  • @Creepsky OK been out all day, just back, error had not reoccurred. I will load up 1.4.1 for the overnight run. I have this in the Wallet URL, what should I change it to?

    "walletUrl" : "https:\/\/pool.burstmining.club:8128"
    

    Rich



  • @ZapbuzZ are you mining on a pool with Urays code? From time to time they throw such errors, don't know why. Seems like you get them with other miners too, so maybe it's the pool code?? But I don't know :-/

    @RichBC are you sure that on https://pool.burstmining.club:8128 a wallet is running? I don't get any response. Try this one: https://wallet.burst-team.us:8128 or maybe setup a local wallet if you want to.



  • its done it on uray and lexi i'm gonna run the plots through optimiser maybe that'll fix it



  • @Creepsky I do not know if they are running a Wallet? Will change. This test is in a remote computer so do not have a local wallet running there.

    OK that has fixed it. This version seems to list in grey all the, long deadline, nonces found, it there a way of stopping this?

    Rich



  • @RichBC you can set

    "logging" : {
    ...
        "miner" : "notice",
    ...
    }
    

    but then you will miss some system informations at startup and the last block winner every round (only in the console, it will still be logged in the log file).

    Will add a cherry pick system in a future release where you can choose what exactly you want to see.



  • @Creepsky OK good to know, will leave it as it is for the moment. Cherry pick will be good.

    Rich



  • does this miner have a recommended minimum plot size? i tested it with 6tb


Log in to reply
 

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