32 votes
Accepted

Why do miners go offline?

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 ...
user avatar
  • 16.5k
23 votes
Accepted

Why doesn't the Bitcoin core team develop official Bitcoin mining software?

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 ...
user avatar
  • 61.4k
10 votes
Accepted

How can I solo mine using Bitcoin Core?

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 ...
user avatar
10 votes

Is the native Bitcoin client intended for mining?

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 ...
user avatar
8 votes

Want to write my own solo cpu bitcoin miner

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 ...
user avatar
8 votes

Want to write my own solo cpu bitcoin miner

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 ...
user avatar
  • 4,347
6 votes
Accepted

Is the scriptPubKey of a previously unseen transaction in an incoming block checked? If so, where?

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: ...
user avatar
6 votes
Accepted

How do I start mining?

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 ...
user avatar
  • 538
5 votes
Accepted

What was the first official BTC miner software?

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 ...
user avatar
  • 4,347
5 votes

Why do miners go offline?

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 ...
user avatar
  • 17.3k
4 votes

Java code for Bitcoin Mining?

One of the very fist GPU miners was in java using OpenCL. It was called DiabloMiner and you can find the source here;- https://github.com/Diablo-D3/DiabloMiner It hasn't been updated the the past ...
user avatar
4 votes

Good Bitcoin Mining Software?

The only two that I know of are cgminer and bfgminer. Unless you have specialized mining equipment (read: ASICs) or mining on testnet, mining is not going to be a good idea.
user avatar
  • 7,629
4 votes

Can we check if a miner has validated the solution?

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 ...
user avatar
3 votes
Accepted

Using GPU mining with the Bitcoin Wallet

You can use your GPU to mine, but it is going to mostly be a waste of time and energy now that there is specialized hardware (ASICs) to mine. You need a piece of software that will allow you to mine ...
user avatar
3 votes
Accepted

Does BitMinter not use CPU's for mining at all?

GPUs are obsolete for mining. You won't get any reward worth even close to your electricity and hardware degredation cost. This has been true for over a year at least. CPUs are 1000x more wasteful. ...
user avatar
  • 6,189
3 votes

Why am I getting only about 3k to 300k hashes per second?

You are limited by your machine clock speed and hashing library performance. Scripting langs are not a good choice for CPU intensive operations. Also, you are doing hashes sequentially, try ...
user avatar
  • 151
3 votes

Is the native Bitcoin client intended for mining?

I almost hate to provide a second answer to pair against RedGrittyBrick's beautifully worded answer, but there is a consideration that matters here beyond that of Mhash/s: profitability. Most people ...
user avatar
2 votes

Java code for Bitcoin Mining?

I'm not aware of any Java mining code existing, and I would not expect it to: mining needs to be as fast as possible, so you wouldn't want to write it in a language that runs on a virtual machine. ...
user avatar
2 votes

How can I be sure that bitcoin mining software is not compromised?

cgminer / bfgminer are both open source, get it from the official repository and you can be fairly sure that some geek will have noticed if there's something suspicious! If you're talking about mining ...
user avatar
  • 616
2 votes

altcoin execoin miner is infected?

Often these CPU miners are flagged by specific AV's heuristics, mainly because the program may be an exe with a hidden CPU mining algorithm within, which if it was any other exe like an image viewer, ...
user avatar
2 votes

Does BitMinter not use CPU's for mining at all?

Your only real option is to mine for other alt coins (with your GPUs) that use an encryption algorithm for which ASICs have not yet been developed. Bitcoin GPU mining is not efficient. CPU mining is ...
user avatar
2 votes

How often should I call getblocktemplate?

One fundamental, expected way to make a valid template invalid: someone else finds a block, and it's time to switch. You can technically keep incrementing "curtime" until it's 2 hours in the future, ...
user avatar
2 votes

What is miner supposed to do when waiting for longpoll

If you run out of work while waiting for longpoll to finish, then what you should do is submit another getwork request. Note that just because you find a share in a particular piece of work, doesn't ...
user avatar
  • 28.7k
2 votes
Accepted

How to mine a genesis block?

How to make an altcoin on Bear's Den
user avatar
  • 686
2 votes

Can Armory be used for mining?

Armory uses Bitcoin Core to download blocks and other basic functionality. Bitcoin Core is what is normally used for mining so that's what you'd be using. Armory does not add anything useful for ...
user avatar
  • 8,319
2 votes

C++ source code for bitcoin miner software?

Two popular Bitcoin miners, BFGMiner and CGMiner are open source and written in C++. The source code repositories for both are linked.
user avatar
  • 61.4k
2 votes
Accepted

Can I mine a block with no transactions other than the coinbase?

Yes. A block is valid even with no transactions other than the coinbase transaction. There have been many such blocks. This is especially true for early blocks of the blockchain. Close to 19% of ...
user avatar
1 vote

How to create your own bitcoin mining software?

Yes, it is possible Take an editor (notepad.exe is good one) Write a program Compile and test it Thats all. Profit!
user avatar
  • 6,592
1 vote
Accepted

Bitcoin mining algorithm - target - Java

The difficulty is a part of the block header called "bits". It is the 72nd to 75th bytes of the block header and looks like this in hex: bits = 0x76270618 Remember this is little-endian! Actual big-...
user avatar
  • 7,629

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