Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
12 views

what is the miner that includes the transaction in their block to mine it

When user send transaction, all evms execute automatically smart contract and which miner include this transaction inside block to mine ?
1
vote
1answer
25 views

Are block timestamps decentralized?

One thing I don't understand about the Ethereum protocol is how timestamps work. If I, as miner, have a reason to fiddle with timestamps (such as adding a few minutes to decrease the mining difficulty)...
2
votes
1answer
38 views

how execute smart contract step by step?

I have a few problems understanding the step of execution of transaction in smart contract. 1-When a user send a transaction to smart contract, this smart contract is not executed immediately instead ...
1
vote
0answers
16 views

Geth Dump Has Been Running For A Week

For my project I want to dump the full state data of all Eth wallets/balances. I have a fully synced Geth node with all state data (over 2TB). I started a block dump geth dump 7300000 --datadir "/...
0
votes
2answers
27 views

msg.sender.balance inside contract

what does/should msg.sender.balance return when used inside contract? Assume we have contract A, calling B, which is calling C. msg.sender is propagated with the calls down to B and C The user is ...
1
vote
1answer
25 views

Static difficulty in 1.8.27 for local network

I am having trouble getting geth 1.8.27 to have a static difficulty on a private network. I followed the instructions from here. But when I test it, the difficulty still increases. I tried again, ...
2
votes
1answer
22 views

GUI miners for Private Ethereum Blockchain

I have setup a multinode private Ethereum blockchain with geth. I am using geth miner (miner.start(thread) at geth console) for mining blocks but my other nodes users want to use GUI miner instead of ...
0
votes
0answers
10 views

ASICs versus GPUs in Ethereum mining?

Is there any way to assess the number of blocks being mined in Ethereum by ASICs versus the number of blocks being mined by GPUs percentage-wise? And also, what impact do you believe ProgPoW may have ...
0
votes
0answers
10 views

On an Ethereum private chain, can the rewards of mining be user-defined? [duplicate]

I have created my Ethereum private chain via Geth. I noticed that the rewards to block miners are pre-set as 5 Ether. Can I change this setting?
0
votes
1answer
20 views

Custom miner checks in a private chain?

I have used the ideas from the link [1]How to make miner to mine only when there are Pending Transactions? in my private chain. I have a couple of questions, - How can I add custom code on the miners ...
0
votes
1answer
21 views

Stop Data mining on Private Blockchain running on Etherrum platform

We have setup a private blockchain platform using Ethereum and we are using Java based UI layer for it. Can we stop mining process as it is taking lots of time and making the transactions slow?
1
vote
0answers
29 views

Will miners meet the situation that they can not find the nonce?

Because the Nonce is uint64 in the Golang code. the code is here: // Compute the PoW value of this nonce digest, result := hashimotoFull(dataset.dataset, hash, nonce) if new(big....
1
vote
1answer
26 views

What is the philosophy behind the difficulty setting and block generating time?

We know that on the Ethereum mainnet, generating a block always costs about 15 seconds in order to maintain the synchronization. Yet, why it is set to 15 seconds but not a larger or smaller value? ...
3
votes
1answer
43 views

When is a new block created?

I am currently reading an interesting book about solidity, and I'm reading about block creation. This gives a good overview: The book mentions that the maximum size of a block is determined by the ...
3
votes
2answers
83 views

is it possible to run pending transactions on local node to see the outcome?

I am looking for a way to execute current pending transactions on local node, to see their outcome and log events, without really mine it. it is some kind of pre-simulation, to see what is going to ...
1
vote
1answer
26 views

Is mining specific to unpermissioned blockchain?

I was studying the differences between permissioned vs. unpermissioned blockchain and came across this: https://www.youtube.com/watch?v=llCjL1up65M Here it mentions that mining is not required for ...
0
votes
1answer
19 views

Use Ledger Wallet as etherbase for mining on private network

I would like to use my ledger as the wallet that will validate blocks on a private network with a geth client. I can have access to my ledger account from geth. But i can't start the mining process. ...
0
votes
1answer
14 views

Understand the potential issue of miner controlled gaslimit

I am aware that smart contracts running on top of EVM can access certain system properties such as timestamp, block number, and gas limit. I am also aware that such properties can be controlled by ...
1
vote
0answers
20 views

Private net Miner/Coinbase account changed

I set a Private net with Geth. and use miner.start() to mine blocks. my default account is 0x59a4155889e72de7846da695672d87f0e6da7332 in the keystore folder. PROBLEM: before 3000 blocks, the block's ...
1
vote
1answer
21 views

How exactly is the voting for the winning block regulated?

When using PoW, after an Ethereum miner has created a block, that block is propagated to peers (for verification and acceptance into the ledger). Obviously, the ETH reward for the mined block is not ...
2
votes
1answer
25 views

Known cases of miners withholding blocks when used as randomness?

There are some applications that use the blockhash as a source of randomness, often with a payout similar to a lottery. I've heard of attacks where it would be more profitable for a miner to withhold ...
0
votes
0answers
17 views

is it possible to mine two transaction from same account with different nonce for one block? [duplicate]

I have a question about double spend attack on ethereum I heard that double spend attack is prevented by Nonce and we can send transactions with different nonce it can be validate but this ...
0
votes
0answers
18 views

Inconsistency after restarting EthereumMiner, using AWS Blockchain Template for Ethereum

I have deployed the AWS Blockchain Template for Ethereum stack (the ECS version). There is 1 miner and 2 clients (default stack). I realized that I don't have access to the default accounts set in the ...
2
votes
1answer
25 views

Would a 51% attack be easier if an attacker can DoS certain nodes?

I am wondering whether a 51% attack would be simplified by being able to remotely crash miner nodes. Consider the following scenario: Malicious mining pool A controls 16% percent of the mining power ...
0
votes
1answer
42 views

Don't undestand what it is mining [duplicate]

Could somebody help me out please? I'm really stuck creating a Private Ethereum Network and undestadning what the nodes are mining. SO : Windows Ethereum Client : Go-Ethereum Here is my genesis....
0
votes
1answer
25 views

Can Artificial Intelligence be used to mine ethereum faster? [closed]

Can Artificial Intelligence algorithm be used to improve hit rate of mining ethereum?
0
votes
0answers
26 views

How to mine ether on private network with CPU?

I have a private ethereum network and connected my own pool to it. Now I want to test the mining process with my CPU, what are some the ethereum mining software that support CPU mining and stratum ...
0
votes
0answers
20 views

How to calculate the value of mixhash in block header?

As of my knowledge how POW works is When mining the miner will have the hash1 which is block hash and he need to fine the hash2 which is hash of nonce (a random number). So that the root hash of ...
0
votes
0answers
9 views

Losing hashrate mining in a pool with an Nvidia card

When mining in a pool, the hashrate of my Nvidia GTX 970 is a quarter of what it should be. When I'm on the blockchain it's equal to that of my benchmarks. With my AMD RX 570, it stays what it should ...
0
votes
1answer
36 views

Check when a block is mined

Is it possible to know when a block is mined? Is there any timestamp or event/subscription?
1
vote
0answers
40 views

Is it possible to set miner reward on Geth clique?

I have a private network set up with ethereum & PoA clique consensus. Using in geth client miner.setEtherbase(eth.coinbase) on miner nodes, doesn't seems to work. Inspecting in block explorer ...
1
vote
0answers
23 views

How to mine a Empty Block or reject transaction?

How Can a miner can mine a empty block,reject honest transactions to be added into block ; does it mean we could tweak the miner client , if yes could someone tell how it is done and what are the ...
1
vote
1answer
21 views

How are transactions ordered in POS?

With POW, the miners who finds the block chooses the order of transactions in that block. How will this work with POS?
0
votes
1answer
29 views

How network hashrate is being calculated? [duplicate]

Hashrate The number of attempts that miner makes per second is known as the hash rate or hash power. Network's hashrate It is the most important data point in blockchain tech. ... Essentially, the ...
0
votes
0answers
31 views

Decline a transaction in a PoA network

Is it possible to decline a transaction in a PoA network? Or to say it in other words: Can a sealer decline to put a transaction into a block he is going to mine? I want to prevent transactions to be ...
0
votes
2answers
74 views

Mine transaction but do not broadcast

I have four transactions which I would like to include in the same block, T1, T2, T3, T4. There is a race condition so I do not want to broadcast these transactions unless I can be sure they will ...
1
vote
1answer
57 views

Minimum system requirements for mining ropsten ethers

I want to create my own faucet that will mine Ropsten ethers. What is the minimum system configuration which is required? Is it a good idea to use my own server such as AWS? What will be the ...
3
votes
1answer
43 views

Benchmarking energy usage of executing smart contracts

I'm working on a project that will allow for me to benchmark of the top ten most popular smart contracts which I'll take from EtherScan. The idea of the project is to determine if the smart contract ...
2
votes
1answer
24 views

How to make my tx broadcasted faster to a miner node?

Is there any way to config my Go-Ethereum node so that it can send my tx directly to a miner node, which makes the transaction faster to be included into a block.
0
votes
1answer
25 views

How to specify node as a mining node or non mining node in geth

As in private network of ethereum there can be nodes who only do mining and the nodes who didn't do mining.so In geth when we create nodes,How to specify nodes that they are mining node or an non ...
0
votes
1answer
65 views

Relation between GPU specifications and Hash-rate?

I connected two following ethOS miners to Ethermine mining pool (https://ethermine.org). You can see dashboard of my address here: https://ethermine.org/miners/...
0
votes
1answer
36 views

Measuring energy usage of smart contract execution [closed]

Looking into measuring the energy consumption to me of executing particular smart contracts when mining, any tips on how to go about this?
0
votes
1answer
86 views

Changing “proxywallet” in “local.config” in ethOS, but I receive mining reward in previous address

I've changed my proxywallet from proxywallet 0xB4... to proxywallet 0x5B... in the local.config file. However, I received mining reward again in previous address: 0xB4... . Do I need to restart the ...
0
votes
1answer
679 views

Error CUDA mining: an illegal memory access was encountered

While mining after a while i got this error message "Error CUDA mining: an illegal memory access was encountered" or "Runtime error - ethash_cuda_miner::search, line 365" the miner works for some ...
0
votes
0answers
113 views

Linux Geth Mining: Stuck at Commit New Mining Work in private blockchain Offline

System information Geth Version: 1.8.20-stable Go Version: go1.11.2 Operating System: linux GOPATH= GOROOT=/home/travis/.gimme/versions/go1.11.2.linux.amd64 Genesis.json { "config": { "chainId": ...
0
votes
0answers
20 views

How to control an ethOS rig miner remotely?

Apparently one of ethOS features is instruct rig to remote reboot and other settings remotely. How to control an ethOS rig miner remotely ? Apparently, I need to edit local.conf file. If so, how ...
0
votes
1answer
20 views

How does number of miners impact in processing the business logic(smart contract) in Blockchains

Does a number of validating devices/miners have an impact on processing business logic? If I understand correctly, as the number of validating devices increases, the time it takes to reach the ...
1
vote
0answers
43 views

what happens to the transactions inside an uncle block And what if a contract creation end up in an uncle block [duplicate]

Can anyone suggest what happens to the transactions inside an uncle block ? And what if a contract creation end up in an uncle block. The whitepaper(ethereum) does not give any information whether ...
1
vote
0answers
68 views

What is the point of switching to ProgPOW for ethereum, when POS is coming in the coming year(s)?

With the recent discussion of the new ProgPOW mining switch. What is the point of it when POS is coming in the coming year(s)? I understand it disables the ASIC miners, while benefiting the GPU miners....
2
votes
1answer
75 views

Who decides what kind of token reward a miner gets for mining a block?

Preamble: To my understanding, a Bitcoin miner creates a new block, put some necessary information in it incl. some transactions from other participants and one transaction which sends 25 Bitcoin to ...