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.

Filter by
Sorted by
Tagged with
19
votes
3answers
5k views

What is the default ordering of transactions during mining?

I know that the yellow paper does not specify how transactions are to be ordered in a block and this is up to the miner to decide. But I am interested in how this is practically handled (I assume not ...
75
votes
3answers
24k views

What is an uncle/ommer block?

The Ethereum blockchain is described as containing "ommer" blocks, usually called "uncle" blocks by the general public. What is an ommer/uncle block, and why are they needed?
36
votes
2answers
22k views

What is nonce in Ethereum? How does it prevent double spending?

recently I got fascinated by blockchain, and started learning Ethereum. I came across the concept of the nonce in Ethereum. After researching I found out that nonce is used for two purposes. a. To ...
19
votes
2answers
2k views

In a private blockchain, why do miners keep adding empty blocks to the blockchain?

I have been working on a private blockchain and observed that a miner, when started, keeps on adding empty blocks with no transactions to the blockchain. Why is this happening? It doesn't make any ...
51
votes
3answers
22k views

How to reduce the chances of your Ethereum wallet getting hacked?

Summary The hack that occurred on May 12 2016 to steal 7,218 ethers from Patrick only affects miners where: Incoming RPC connections from the Internet on TCP port 8545 are forwarded to the machine ...
17
votes
1answer
1k views

What is the order and concurrency behavior of multiple calls to a contract in a single transaction?

Suppose a contract has three call APIs that have side effects. What's the behavior if I try to: Call all three APIs from one address (i.e. issue three transactions if from nodejs). Are all three ...
33
votes
3answers
37k views

How do miners profit post-PoS, if at all, how will new miners get their start, and who will execute the EVM byte code (and why)?

I've been following the release of Casper/PoS closely, and I'm curious about a few details. How will miners make money (even if GPUs are less valuable)? Are spare compute resources (say RAM, CPU) ...
38
votes
4answers
130k views

Is CPU mining even worth the Ether?

I would like to start mining Ether, but my GPU isn't the greatest and I don't really want to spend the money on a dedicated rig. Is mining from my CPU (in a Linux environment) still worth the Ether? ...
27
votes
6answers
9k views

How to make miner to mine only when there are Pending Transactions?

As of now the geth miner running on my system mines even empty blocks. All i wanted is miner should mine only when there are Transactions to mine, after mining the miner should immediately sleep. ...
24
votes
2answers
78k views

What's the best hardware for Mining Ether?

As my title says, I am a complete newbie to the Ethereum Project, but not to the cryptography in general. Although this will be the first time I will consider investing in the mining process. And I ...
15
votes
2answers
7k views

How does the Ethereum Homestead difficulty adjustment algorithm work?

From From EIP 2, the Homestead difficulty adjustment algorithm is: block_diff = parent_diff + parent_diff // 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99) + int(2**...
7
votes
2answers
5k views

What is GHOST and what is its relationship to Frontier and Casper?

As high-level as possible without losing important meaning, what's the intuition behind GHOST? How is it currently implemented in Frontier? What will be different with GHOST in Casper?
84
votes
6answers
162k views

What is the total supply of Ether?

In Bitcoin, the total supply is capped at 21 million BTC. Is the total supply of Ether capped? How much will be mined before the Proof of Stake (POS) transition, and how will POS affect the issuance ...
26
votes
3answers
86k views

What is the current DAG size? When do we expect to hit GPU limits?

I have two mining rigs running, one with 2GB GPUs and one with 8GB cards. Recently, the rig with the 2GB cards failed due to the inability to upload the DAG to the GPU. What's the current DAG size ...
29
votes
4answers
11k views

How do I decrease the difficulty on a private testnet?

I've created a private test network. On the genesis.json file, I've changed the difficulty to 1. Yet, mining a block still takes hours on my CPU. I suspect that is due to some configuration related to ...
20
votes
2answers
5k views

By what mechanism are ASIC-based miners made less favourable?

Bitcoin mining is dominated by miners that use ASIC-based mining equipment, thereby skewing the mining rewards in favour of those able to afford large numbers of ASIC mining rigs. Ethereum prevents ...
25
votes
1answer
30k views

Geth node starts to sync from the beginning after fast sync

I have synced using the --fast command. Now how should I proceed? I tried stopping it, and then running geth --rpc but it says: Last Header #1311471 Last Block #0 Fast Block #1310224 What should I ...
22
votes
3answers
19k views

How is the Mining Difficulty calculated on Ethereum?

Having read various pieces of documentation, it's still not completely clear to me what dictates the difficulty rise, and how Ethereum difficulty levels differ to Bitcoin. In the past week ...
36
votes
6answers
29k views

How to get ether on public testnet?

I am a newbee to Ethereum and doing some research. I have installed the Ethereum Wallet app and synchronized the testnet. However, to deploy my first contract in testnet, it requires some Ether, so ...
16
votes
3answers
4k views

How do Ethereum mining nodes maintain a time consistent with the network?

We have established that the timestamp on a parent block has to be before the timestamp of a child block in Can a child block have an earlier timestamp than the parent block?. How are differences in ...
6
votes
2answers
2k views

Are mineable tokens possible?

I'm a bit puzzled about the ethereum.org/token example which states further down in the advanced examples that it can be coupled to proof-of-work. I really like the idea of mining a token. The example ...
9
votes
2answers
1k views

Are Transactions originating from one account mined in nonce order?

Discussion in another thread raises an interesting point. how many transactions could be included in a new block from the same account? Since miners can opt to omit a known transaction from the ...
25
votes
2answers
16k views

When will the difficulty bomb make mining impossible?

I know the answer must be out there in the code already, but I couldn't figure out where exactly. Could someone do the maths for me: With block 200k the difficulty bomb started increasing the ...
21
votes
3answers
5k views

Why does ethereum creates a new block,without even a single transaction? [duplicate]

I'm running a private Ethereum blockchain. When I set one of the nodes to mine, that node continuously creates blocks, even if there are no transactions inside of it. What is the purpose of this?
16
votes
2answers
94k views

How fast should be an internet connection to mine ETH?

How fast should be an internet connection to mine ethereum and don't have connection issues? What about ping? And, how many GB of data would get downloaded over a month period? I have a 250GB limit.
13
votes
1answer
2k views

Is it possible to change the block target time?

We're curious to know what factors go into block times in a private network with a limited number of validators. Is this fixed or can it be parameterized in any way? How is it related to block times ...
3
votes
1answer
5k views

How long to wait for pending transactions?

Is there any timeout for pending transactions? How long to wait before re-sending the transaction. I am sending multiple transactions and need to track the status of all those transactions. But I am ...
3
votes
2answers
549 views

Would a minimal gas price tx ever be mined?

I want to mine and charge a minimal gas price (like the minimum required to prevent infinite loops and such), to enable many smaller transactions to be confirmed super cheaply and to lower the cost of ...
3
votes
1answer
2k views

Does my mining situation sound normal?

I've tried overnight mining and have had no luck. I first created an account using geth account new. Then I use geth --rpc to stay in sync with the blockchain and ethereum -G to start the minining ...
12
votes
2answers
2k views

Why am I getting less than 5 Ether per block?

Was something changed recently? I've been getting less and less ether per block - is this tied to difficulty level? I thought difficulty would affect the rate of mining a block, not the number of ...
7
votes
2answers
2k views

Does a mining reward transaction have a hash?

I can't find a mining reward transaction hash for a given block. I can see the block hash, all the transactions inside the block, etc. But the mining reward transaction is not listed among the details....
5
votes
3answers
2k views

How can i automatically divide payments from mining

I run a mining farm along with other partners. Using eth-proxy I can only set one payout address for each machine. I'd like to setup a contract so that any payments that go to the primary mining ...
2
votes
1answer
1k views

Why drivers version influence hash rate?

It's well known now that the very same GPU with the 16.4.1 drivers has a lower hash rate than with the 15.12 I absolutely don't have the beginning of an idea to why. Anyone?
9
votes
1answer
923 views

What happens to transactions in Uncles?

I understand that each node has a transaction pool, which is used for adding transactions to the block. What happens to the transactions when a miner's block is declared invalid? Also, how are ...
7
votes
2answers
4k views

Sync blockchain while mining?

I'm new to ether mining. Do I have to sync with the blockchain while mining? Currently I'm using ethminer for solo mining with GPU and geth to sync with blockchain.
0
votes
2answers
6k views

Does network latency significantly affect mining rewards?

I have a slightly flakey internet connection (no good providers in the area). I can stream at reasonable speeds (Megabits) but there is a certain amount of jitter in the packet latency. Mining is ...
34
votes
1answer
242k views

How to Mine Ether and use Ethereum on Windows?

Which programs should be installed and what do you need to do to start mining Ether and use Ethereum?
18
votes
3answers
46k views

Where do I see the current DAG size?

Where do I see the current, exact DAG size? Is it being tracked on a website somewhere, or is it something I can check on my miner?
17
votes
3answers
6k views

How to make Ethereum mining difficulty static for a private chain?

I have implemented private chain in ethereum but its difficulty level increases by time as a result the mining process slows down. Is it possible to make the difficulty static or disable it in testnet....
7
votes
1answer
8k views

Dag generation failure: Invalid Argument

I have been mining for a while now. I restarted my computer this evening and I have been receiving the error " DAG Generation Failure. Reason: Invalid argument" when running the same bat file I always ...
14
votes
1answer
4k views

How do I create my own mining-pool?

I have about 900+ Mh worth of power and I'm thinking of creating my own pool and putting all my miners in the pool instead of pooling with others. However I've found no instruction on how to do this. ...
7
votes
2answers
546 views

Can a child block have an earlier timestamp than the parent block?

From From EIP 2, the Homestead difficulty adjustment algorithm is: block_diff = parent_diff + parent_diff // 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99) + int(2**...
3
votes
4answers
25k views

What aspect affects the GPU's mining speed?

I recently got my Asus Radeon RX 580 8GB and decided to test it out on mining. It has default core clock speed 1380 MHz, and memory clock 2000 MHz. Now, my first test with stock settings (no OC, no ...
5
votes
1answer
11k views

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 ...
5
votes
3answers
2k views

Why is my Greeter contract not mined on --testnet?

I'm working on the contracts tutorial. Here's the code (including contract): var greeterSource = 'contract mortal { address owner; function mortal() { owner = msg.sender; } function kill() { if (msg....
4
votes
1answer
2k views

Will I lose all mining time if I restart my miner?

An example about solo mining with my own pool: When I stop the miner after about 3 days and start it again, is the mining time lost to find a block?
4
votes
1answer
638 views

What was the first block mined with Homestead?

What was the first Homestead mined block? 1,150,000 was planned if someone can confirm? https://ethereum.stackexchange.com/a/1834/264 can one see that its a homestead block by some property? ...
2
votes
2answers
437 views

What defines the reward a miner gets when it mines an empty block when there are no transactions?

When no transactions are submitted to the network, miner can mine empty blocks and generate ether as rewards. What defines the amount of ether a miner gets rewarded when it mines an empty block? If ...
36
votes
4answers
76k views

How to mine Ether on GNU + Linux?

How do we start mining Ether on a Debian / Ubuntu / GNU+Linux based computer? Are there PPAs or special repositories?
22
votes
6answers
83k views

Is there a GPU-hashrate database?

Is there a database that lists GPU models and their approximate mining hashrates?