Suprnova's Dcr Pool

Discussion in 'Proof-of-work Mining' started by ocminer, Feb 2, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    I've upped the diff a bit, it was still quite low due to my testing earlier, should be more reasonable now, let me know if that works.
     
    marcelocoin likes this.
  2. Bagdar13

    Bagdar13 New Member

    Jan 27, 2016
    39
    15
    Male
    Good Evening,

    First, overall looks great, looking forward to launch.

    Just tested 7 Gig against it. Was still getting a lot of reject due to duplicate shares and diff still seems low getting 1-2 share a second.

    Side note: Blake256 is brutal on GPUs. I took them down to -20 power tune which loses some hash but otherwise topping 90 even with a fan on them.
     
  3. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    I'll bump the diff a bit more when necessary. cgminer is really a wreck at its current state, I hope it will be fixed until launch, those duplicates all come from cgminer and (imho) the limitations of the getwork protocol. Stratum or at least GBT is the only real solution to get these issues completely fixed. We're currently mining like in the early days of bitcoin from 2011
     
  4. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    Incorrect incrementing of nTime and duplicate hashes have been fixed with this pull request. There are a number of other fixes in dcrd master that also prevent stales from mining. We should have new binaries tomorrow.

    https://github.com/decred/cgminer/pull/10

    For the highest efficiency, run one instance of cgminer per GPU.
     
  5. Bagdar13

    Bagdar13 New Member

    Jan 27, 2016
    39
    15
    Male
    Impressive, either way I will be with you.
     
  6. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    Looks good here, it fixes the duplicate issue and also the roll_work ntime issue is fixed.

    I've pushed the changes to my github Repo too, now we need the pull merged into the official branch and then new windows compiled version.
     
  7. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
  8. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    I think neither solution was fully correct. The ntime is already in big endian, so there seems to be no need to swap it at all.

    Code:
    static void roll_work(struct work *work)
    {
    	uint32_t *work_ntime;
    	uint32_t ntime;
    
    	work_ntime = (uint32_t *)(work->data + 136);
    	applog(LOG_DEBUG, "work_ntime %x", *work_ntime);
    	ntime = *work_ntime;
    	ntime++;
    	applog(LOG_DEBUG, "work_ntime incremented as ntime %x", ntime);
    	*work_ntime = ntime;
    	applog(LOG_DEBUG, "work_ntime after \"swap\" %x", *work_ntime);
    	local_work++;
    	work->rolls++;
    	work->blk.nonce = 0;
    	applog(LOG_DEBUG, "Successfully rolled work");
    
    	/* This is now a different work item so it needs a different ID for the
    	 * hashtable */
    	work->id = total_work++;
    }
    
    Code:
     [2016-02-03 23:56:11] Pushing work from pool 0 to hash queue                    
     [2016-02-03 23:56:11] work_ntime 56b2d9eb                    
     [2016-02-03 23:56:11] work_ntime incremented as ntime 56b2d9ec                    
     [2016-02-03 23:56:11] work_ntime after "swap" 56b2d9ec                    
     [2016-02-03 23:56:11] Successfully rolled work        
    
    I'll force push the update to my branch.
     
  9. thijsjuhhh

    thijsjuhhh New Member

    Jan 28, 2016
    50
    14
    Male
    Looks great!, Posting here to keep up to date ;)
     
  10. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    Just FYI, please use the latest version of cgminer as several bugs have been fixed there. You'll get rejected shares (duplicate/time-too-new) if you're still using the old version. The new version is rel 0.0.2 as binarys or just pull from github: http://github.com/decred/cgminer
     
  11. Serg

    Serg New Member

    Jan 28, 2016
    5
    6
    Male
    can't compile.
    on ubuntu made next:
    1) git clone https://github.com/decred/cgminer
    2) ./autogen.sh
    output

    ------------------------------------------------------------------------
    cgminer 3.7.2
    ------------------------------------------------------------------------


    Configuration Options Summary:

    libcurl(GBT+getwork).: Enabled: -lcurl
    curses.TUI...........: FOUND: -lncurses
    OpenCL...............: Detection overrided. GPU mining support DISABLED
    configure: error: No mining configured in


    in PC two 750Ti installed. if i will try to you old binary that was provided at this forum it will work. what can be an issue?
     
  12. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    You have to do:
    ./autogen.sh --enable-opencl

    OR do:
    ./autogen.sh
    ./configure --enable-opencl
     
  13. Serg

    Serg New Member

    Jan 28, 2016
    5
    6
    Male
    Thanks. actually i just try updated binaries for linux and it work just fine. your pool now has +1Gh's :)
     
  14. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    Cool, very nice, glad you got it working, let me know if you have trouble.
     
  15. zsnorbi

    zsnorbi New Member

    Feb 5, 2016
    13
    5
    Male
    Anyone has any idea why i am not getting any shares? I tried with all the possible settings but still without success. No rejected no accepted

    [​IMG]
     
  16. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    Try a higher Intensity .. -I 13 for example.
     
  17. zsnorbi

    zsnorbi New Member

    Feb 5, 2016
    13
    5
    Male

    Tried that too more LW but still no submitted share
     
  18. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    Really weird, did not see that before .. Does it work when you mine locally directly to your wallet ?
     
  19. zsnorbi

    zsnorbi New Member

    Feb 5, 2016
    13
    5
    Male
    Can't really decide that, miner is mining but since my speed is pretty low i don't know if i can get a block or not
     
  20. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    What makes me wonder is that string about dynamic mode.. usually you DONT want dynamic mode.. You want a fixed Intensity..
     

Share This Page