<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mishari</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mishari"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Mishari"/>
	<updated>2026-04-22T02:04:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Cpu_Miner&amp;diff=12954</id>
		<title>Cpu Miner</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Cpu_Miner&amp;diff=12954"/>
		<updated>2011-07-15T08:03:41Z</updated>

		<summary type="html">&lt;p&gt;Mishari: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;cpuminer&#039;&#039;&#039; is a simple client program that performs [[Pooled Mining]] or [[solo mining]]. The program receives proposed [[block]] data from the server, for which it tries to guess a [[nonce]] value that will result in a valid block. If a block [[hash]] with at least 32 consecutive zero bits is found, the block data containing the guessed nonce value is sent back to the server. If used in [[Pooled Mining]] mode, this block is called a &amp;quot;share&amp;quot; because the server is supposed to credit the registered user&#039;s account, according to the number of shares that user has contributed, and eventually transfer an amount of bitcoins to the registered user&#039;s address.&lt;br /&gt;
&lt;br /&gt;
Communication with the server is done using HTTP POST requests on port 8332 by default, containing JSON-encoded data. For pooled mining, users are required to register on such servers (so as to give their Bitcoin address) and HTTP username:password authentication is required.  For solo mining, the username/password is set in bitcoin.conf.&lt;br /&gt;
&lt;br /&gt;
The calculations are performed by multiple concurrent threads, so as to take advantage of the capabilities of computers with multiple CPU cores.&lt;br /&gt;
&lt;br /&gt;
==Algorithms==&lt;br /&gt;
SHA256 hashes can be calculated in many ways by cpu-miner. Depending on the hardware that is used, one of the following supported algorithms will perform best:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;c:&#039;&#039;&#039; Linux kernel implementation of SHA256 (supported on all platforms, including Windows) .&lt;br /&gt;
*&#039;&#039;&#039;4way:&#039;&#039;&#039; 128-bit SSE2 optimizations which are already available as a compile-time option on the classic Bitcoin client.&lt;br /&gt;
*&#039;&#039;&#039;via:&#039;&#039;&#039; Implementation of the Padlock encryption optimizations on VIA CPUs.&lt;br /&gt;
*&#039;&#039;&#039;cryptopp:&#039;&#039;&#039; C/C++ Implementation from the Crypto++ library.&lt;br /&gt;
*&#039;&#039;&#039;cryptopp_asm32:&#039;&#039;&#039; 32-bit assembly implementation from the Crypto++ library.&lt;br /&gt;
*&#039;&#039;&#039;sse2_64:&#039;&#039;&#039; Port of ufasoft&#039;s SSE2 implementation (only supported on 64-bit Linux)&lt;br /&gt;
&lt;br /&gt;
==Succession==&lt;br /&gt;
&lt;br /&gt;
CPU Miner has largely been superceded by Con Kolivas&#039;s cgminer fork.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Pooled mining]]&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jgarzik/cpuminer Github repository with cpuminer code]&lt;br /&gt;
* [http://www.bitcoin.org/smf/index.php?topic=1925.0 Forum thread with announcement and discussion]&lt;br /&gt;
* [http://forum.bitcoin.org/index.php?topic=28402.0 Con Kolivas&#039;s cgminer forum announcement and discussion]&lt;br /&gt;
&lt;br /&gt;
[[Category:Miners]]&lt;/div&gt;</summary>
		<author><name>Mishari</name></author>
	</entry>
</feed>