• Show log

    Commit

  • Hash : bed69215
    Author : Con Kolivas
    Date : 2011-07-01T23:45:15

    Get rid of the requirement for a static struct that needs locking to cache work. Make it possible to use the thread id for getting work again. Flag the getwork() function when we have a new block to explicitly discard any cached work when a new block is detected. Store the header of each new work and compare it to blocks we're about to submit to decide if they're stale due to a new block and don't try to submit them. This should significantly decrease the number of rejected blocks.

  • README

  • This is a multi-threaded CPU miner for bitcoin.
    
    License: GPLv2.  See COPYING for details.
    
    Dependencies:
    	libcurl			http://curl.haxx.se/libcurl/
    	jansson			http://www.digip.org/jansson/
    		(jansson is optional, and is included in-tree)
    
    Basic *nix build instructions:
    	./autogen.sh	# only needed if building from git repo
    	CFLAGS="-O3 -Wall -msse2" ./configure
    	make
    
    Basic WIN32 build instructions (on Fedora 13; requires mingw32):
    	./autogen.sh	# only needed if building from git repo
    	rm -f mingw32-config.cache
    	MINGW32_CFLAGS="-O3 -Wall -msse2" mingw32-configure
    	make
    	./mknsis.sh
    
    Usage instructions:  Run "minerd --help" to see options.
    
    Also many issues and FAQs are covered in the forum thread
    dedicated to this program,
    	http://www.bitcoin.org/smf/index.php?topic=1925.0;all