Questions tagged [mining]

Mining is the process by which it is ensured that the blockchain is the same across all nodes. A miner that solves a cryptological problem related to the previous transactions on the blockchain is rewarded with Ether.

The word mining originates in the context of the gold analogy for crypto currencies. Gold or precious metals are scarce, so are digital tokens, and the only way to increase the total volume is through mining it. This is appropriate to the extent that in Ethereum too, the only mode of issuance post launch is via the mining. Unlike these examples however, mining is also the way to secure the network by creating, verifying, publishing and propagating blocks in the blockchain.

The current intent at Ethereum is to use a mining algorithm where miners are required to fetch random data from the state, compute some randomly selected transactions from the last N blocks in the blockchain, and return the hash of the result. This has two important benefits. First, Ethereum contracts can include any kind of computation, so an Ethereum ASIC would essentially be an ASIC for general computation - ie. a better CPU. Second, mining requires access to the entire blockchain, forcing miners to store the entire blockchain and at least be capable of verifying every transaction. This removes the need for centralized mining pools; although mining pools can still serve the legitimate role of evening out the randomness of reward distribution, this function can be served equally well by peer-to-peer pools with no central control.

This model is untested, and there may be difficulties along the way in avoiding certain clever optimizations when using contract execution as a mining algorithm. However, one notably interesting feature of this algorithm is that it allows anyone to "poison the well", by introducing a large number of contracts into the blockchain specifically designed to stymie certain ASICs. The economic incentives exist for ASIC manufacturers to use such a trick to attack each other. Thus, the solution that we are developing is ultimately an adaptive economic human solution rather than purely a technical one.

1138 questions
6
votes
1 answer

How can I calculate the average time to mine a block?

How can I calculate the average time to mine a block knowing the current global hashrate? My first gues is very simple: (global_hashrate / my_hashrate) * 15 [s]. So in my case (850 000 H/s) it will be (887 [GH/s] / 850 [kH/s]) * 15 [s] = 1.04 * 1…
romanoza
  • 893
  • 1
  • 8
  • 17
6
votes
6 answers

Miner taking a long time to start on private network

When I start the mining process it can take over an hour before the first block is mined. Once the mining has started each new block is very quick. My mac is the only node on a private chain so it shouldn't need to synchronise before starting. I…
Joe
  • 1,173
  • 1
  • 11
  • 31
5
votes
1 answer

Can a cyber cafe mine ETH seperately on each computer?

Is there a limit to how many computers can be mining from one ip address, and if i can make 1 ETH a month from one computer if i hook up 7 can i make the 7 ETH a month and could they go to one wallet or do i have to make 7 accounts? and another…
park93
  • 53
  • 5
5
votes
1 answer

How can I make my Ethereum miner choose transactions with low gas?

I read a lot that transactions that pay the higher gas price can get their transactions through quicker. I would like to know how I could amend my miner code to select transactions with small fees.
Lismore
  • 1,303
  • 7
  • 25
5
votes
1 answer

Mining on an AWS spot instance

I am trying to mine Ether on an AWS spot instances. However I came across two problems. AWS spot instances aren't persistent, meaning if the instance gets terminated the data inside will be gone. Geth and ethminer need to be run immediately after…
wacax
  • 1,388
  • 2
  • 13
  • 29
5
votes
3 answers

Ether balance suddenly went to 0 and address not found on ether chain please help

My address is 0x9ac0e6b745bbd98eec2d900d5ee8144157d7fc1e and I had ether in it but it suddenly went down to 0 I have also never been able to find my address on ether chain.
Moulie415
  • 153
  • 4
5
votes
1 answer

What are ethereum miners really solving?

As with mining, what are the ethereum miners really solving? I read they are solving hashes, but what does that really mean. Can we see what they are solving? Can someone give an example of what a ethereum mining machine sees to solve?Thx.
Deem
  • 51
  • 1
  • 2
5
votes
2 answers

All my mined coins are going to address 0x000000

I have an ethereum miner up and going for about 24 hours now. For the first 15 hours or so I saw the following text repeated on the screen (each time updating only the timestamp). 23:17:27.282|gpuminer0 workloop 1 #6f9a4b23...…
4
votes
3 answers

Is there a big difference in hashrate between mining on Linux and Windows?

I am wondering if there is an advantage in using an OS over the other? I would like to know if anyone might have run some test. I am mostly interest in performance differences between Windows 10 and Ubuntu for the R9 280x using Genoil's miner.
Pabi
  • 1,129
  • 4
  • 11
  • 18
4
votes
1 answer

How does a miner decide how many contracts & transactions to pack into a block?

The way I understand how miners work is that they see a queue of transactions and contracts, they have a choice of picking a number of those, process them, then pack them into a block, do a PoW, then whoever finishes first wins. (please let me know…
reedvoid
  • 317
  • 1
  • 7
4
votes
2 answers

What does this screen shot mean?

I signed up for ethereum on my mac. I followed the instructions and this has been what has been going on since right after midnight last night. There is process, I'm just not sure what is going on. Am I mining?
thejdah
  • 43
  • 4
4
votes
0 answers

Will mining Ethereum be profitable after Proof of Stake/ Proof of Authority?

What will actually happen when they move to Proof of Stake ? If I want to start mining with 8-10 rigs now would it be profitable if they move to Proof of State or POA ? In short...will I make money after that or should I move to other crypto…
user3376064
  • 41
  • 1
  • 2
3
votes
1 answer

How does a miner mine blocks without any transactions on a private network?

If I start a node with a random network id and a custom data directory, I can create an account and start mining. What I expected after starting the miner is that it won't be able to mine any blocks since there are no other nodes who are submitting…
Lahiru Chandima
  • 385
  • 1
  • 13
3
votes
1 answer

how to use double GPU ether mining

I have a computer with 2 gpus (Intel and Nvidia), i would like to know how i could use both of them to mine Ethers? is it better to use only one gpu or more? and how to calculate the hashrate. does ethereum cpp supports Cuda? Thanks
Arslan Smal
  • 719
  • 1
  • 6
  • 17
3
votes
2 answers

is there any cuda miner

I have a Nvidia Geforce GT 650T version 369.09 with 4Go memory, i want to try mining ethereum using a Cuda based miner, i've read that geth and eth didn't support cuda so is there any fork or another miner to use it? Thank you
katapulte
  • 173
  • 1
  • 8
1
2 3 4 5 6 7