31

One of the most common reasons for which miners go offline is when their profitability drops below the cost of electricity - this could either be the result of the BTC price dropping, or their local operating costs (costs including air conditioning, power, networking, hardware depreciation, etc.) rising, or the total network hashrate rising faster than they ...


23

Bitcoin Core does have mining components in it. In fact most available mining software actually rely on Core (or something abstracting Core's services) in order to get the block built before it attempts to mine it. Bitcoin Core has the capability to serve the information to other software so that they can mine blocks. Furthermore, Bitcoin Core does have the ...


15

You're using the wrong hash algorithm for Bitcoin mining. Bitcoin uses SHA256d (d = double), but cpuminer (at least the version 2.3.2 on my system) defaults to scrypt (for Litecoin) instead: -a, --algo=ALGO specify the algorithm to use scrypt scrypt(1024, 1, 1) (default) sha256d SHA-256d Slush's pool ...


12

The problem is that in GUIMiner, the URL for Slush's pool is: api2.bitcoin.cz:8332 That address has been deprecated, and it falls back to the GetWork protocol. From Slush's Pool news: 10.03.2013 Default mining URL for Stratum is stratum.bitcoin.cz:3333. If you're still using api.bitcoin.cz, please fix your URL to prevent fallback to deprecated ...


12

Alright, I finally managed to fix my bugs and get a full roundtrip. Here is an example for a full communication with a Pool. I don't explain everything in detail as the API description can be found elsewhere. a) Suscription {"id": 1, "method": "mining.subscribe", "params": []} {"error": null, "id": 1, "result": [["mining.notify", "...


10

If I recall it correctly, the "boo"s mean: your answer's correct but somebody else had solved the problem before, so you wasted your electricity and time - sorry. And the "yay"s are: you did it first, congrats. As for "LongPoll", it's a protocol that enables a miner to keep in touch with its pool's servers so that it's communicated as soon as possible when ...


10

Is the native Bitcoin client intended for mining? No. Long long A decade or so ago, back in the mists of time, in prehistoric days when dinosaurs roamed the earth, early versions of the Bitcoin software did indeed include a mining capability that used the pitiful capabilities of CPUs. But this function has long been rendered defunct by the advance of ...


9

You cannot. The mining functionality was removed in version 0.13.0 since it was hopelessly inefficient. See Since which version the mining functionality removed from wallet? It is not practical to mine Bitcoin without recent specialized ASIC hardware. See In the ASIC-age, is it worth starting mining Bitcoin at home?


8

Check this: https://en.bitcoin.it/wiki/Testnet The testnet is an alternative Bitcoin block chain, to be used for testing. This allows application developers or bitcoin testers to experiment, without having to use real bitcoins or worrying about breaking the main bitcoin chain.


8

Tim S. pretty much covered it, but I wanted to 2 great resources which have been very helpful for myself and many others: Ken Shirriff's blog has a few Bitcoin mining related posts which use Python code to great effectiveness; whilst Bitcoin Mining The Hard Way is probably the most useful, there's also some novel use cases where Ken tries Bitcoin mining by ...


7

You can install the standard Bitcoin-QT client, navigate to \Program Files (x86)\bitcoin\daemon\ and then run bitcoind -gen=1 However this isn't recommended except on the Test network because it is next to impossible to generate any coins this way on the production network.


7

Bitcoin is a decentralized digital currency. It is meant to be resistant to corruption and external control. That is the reason it was created. Bitcoin achieves this only through the approach where consensus of the ledger is achieved by performing work. Bitcoin is vulnerable -- this consensus mechanism can be blocked by anyone with 51% of the mining ...


7

I'm not sure that a guide as basic as you describe is even possible. It depends on what exactly you mean. Mining itself isn't too complicated to read and understand, but writing a start-to-end app that can be used for mining means writing a full node. That is very complicated. Writing a Bitcoin miner from start to end involves not only collecting ...


6

To be honest, you came in a little too late. Mining is now done by ASIC's (Application Specific Integrated Circuit). These are chips (like the ones Intel and AMD make) that are only capable of hashing SHA-256. These chips are very limited (they can't run any other software), but can do what they were made to do extremely fast. An Intel 'universal' CPU can ...


6

The behaviour of the mempool or orphan tx pool should not influence the validity of blocks at all. When a block comes in: main.cpp:ProcessMessage deals with processing messages, and dispatches to: main.cpp:ProcessNewBlock deals with specifically processing block messages, which stores it on disk using AcceptBlock and then calls: main.cpp:ActivateBestChain ...


5

To submit a valid block to the block chain you don't use the hash, just the block. That's the block header plus the transactions. Use bitcoind's submitblock RPC call. > bitcoind help submitblock submitblock <hex data> [optional-params-obj] [optional-params-obj] parameter is currently ignored. Attempts to submit new block to network. See https://en....


5

MacMiner is the first and best native Mac GUI for bfgminer, cgminer and cpuminer MacMiner website


5

Are there any more reasons why a miner might switch off his/her system given that the complete process is automated? I can think of a few more reasons a mining operation would be disrupted, they are perhaps more rare, but possible: The miner loses access to the electricity needed to run the mining ASICs. For example, if a mining operation is capturing ...


4

A wallet is a way of storing your private and public keypairs. It is used by various clients to check your balance and create new transactions. A client usually listens on port 8333, and has 8 other ports open for outgoing TCP/IP connections. It finds peers through various means - exchanging info with other peers, using fallback nodes, seed nodes and so ...


4

I don't know whether EasyMiner will be ported to Mac. But there will be several other miners supporting the BitForce Jalapeno and other BFL ASIC products. If you want a user-friendly alternative you may want to try out BitMinter client. It has been thoroughly tested with BFL FPGAs mining on Macs. Support for BFL ASICs will be added as soon as possible. This ...


4

It's a chicken vs egg problem. If only one person had ever mined, or that one person only enable a small number of people to mine, Bitcoin would have likely never grown at the rate it has. We'd call it a centralized system, and it'd be little different from any other centralized currency contrived in the past several decades. Its electronic transmission ...


4

The official bitcoin client from bitcoin.org has a CPU mining option. Add a file named bitcoin.conf to the bitcoin data directory, with the contents gen=1 https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File


4

I know this is an old question but recently I got a similar server. I've tested rpcminer, GUI Miner (Which is actually UFASoft miner). Personally the best I've found is CPUMiner. With a hash rate of about 75MH/s, it takes a bit of setting up as CPUMiner is normally used for Litecoin mining. CPUMiner gave me about 10%-20% more than the closest rival, which ...


4

The daemon can do mining using the -gen command line option, but it's CPU mining and is impractical nowadays. Using a separate mining app is practical. That separate mining app connects to a running bitcoind via its JSON-RPC API in order to facilitate getwork or getblocktemplate requests necessary for hashing. The JSON-RPC API is configured in bitcoin.conf ...


4

bfgminer is a fork of cgminer. bfgminer allows the use of Get Block Template (less trust in the pool), but they're otherwise functionally the same.


4

The first official mining software was Bitcoin Core (then known simply as Bitcoin, later bitcoin-qt), and it still serves as a reference mining implementation, making it the "official" miner. See its miner.cpp file, for example. Bitcoin Core uses your CPU to mine. Mining eventually moved to GPUs and ASICs, so that mining on a CPU is practically pointless ...


4

Firstly, correct me if I'm wrong. When a miner finds a solution for the block and broadcasts it to the other node, all the other nodes verify if it is a correct solution or not. It's very trivial to validate the PoW, just hash the block header and then count how many "leading zeros" that hash contains (note that such description is theoretical. ...


3

No there is not. The ATI Catalyst driver implements OpenCL, which is what GPU miners use to accelerate the SHA256 hashing used in mining. The open source driver does not implement OpenCL. There are experimental projects that aim to implement OpenCL in the open source driver (Clover is an example) - as a Gallium3D state tracker - but so far these only run on ...


3

There are several pool-implementations that create the individual workloads and track their completion. The Poolservers article at the bitcoin.it Wiki has a comprehensive list, with a feature comparison.


3

If you want to run a command line client such as cgminer, bfgminer or cpuminer (minerd) without compiling them yourself you can download MacMiner from http://macminer.fabulouspanda.com/macminer/ and run them in the Terminal like so: cd /Applications/MacMiner.app/Contents/Resources/bfgminer/bin ./bfgminer -o http://your.pool.com:9332 -u username -p password ...


Only top voted, non community-wiki answers of a minimum length are eligible