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
0
votes
2answers
19 views

Why is a failed transaction included in the blockchain as a “failed transaction”

According to this highest upvoted answer, "but still include it in the blockchain as a "failed transaction"... What is meant by the term "gas"?
0
votes
1answer
11 views

Can I rely on certain oracle to know the precise and reliable timestamp?

I am learning the security impact of smart contract on system properties like block.timestamp and block.number. I understood that block.timestamp can be controlled by the miner to certain degree and ...
1
vote
1answer
17 views

“The bigger the block size, the greater the computational power needed to mine a block” Does this make sense?

I was going through one of the papers and the authors in the paper mentioned this statement. I am not able to find the correlation as such. I do understand that Larger blocks may propagate slower ...
2
votes
0answers
17 views

miner.stop() returns null does not stop mining on private chain

I am using Version: 1.9.0-unstable of geth, and I noticed miner.stop() does not work anymore. I am sure it always worked. > eth.blockNumber 901069 > miner.stop() null > eth.blockNumber ...
1
vote
2answers
27 views

How to find out the number of Validators of a transaction if i have its transaction hash

I want to find out how many validators have validated my transaction.My transaction has is 0x051430dc5cd84c44954e43b25f8709c9c1a1c634f384ec6dd7610f6f945732e1 can anyone tell me how many validators ...
0
votes
0answers
21 views

Parity doesn't send a notification to ethminer

I can't get the ethminer to work with my private network. I start the parity in stratum mode, passing my own config file as a parameter, and then launch the ethminer. He successfully logs in and ...
0
votes
1answer
24 views

Relationship with smart contract and block confirmation

I have known Bitcoin need 6 blocks for confirmation. However, In ethereum, It is different depend on clients By this post What number of confirmations is considered secure in Ethereum? It takes ...
0
votes
0answers
10 views

Mining pool assign blocks

I've been researching mining pools to figure out how they assign work to miners. I understand that pool would get a job from the blockchain they only has a header, dag, difficulity, probably block ...
1
vote
2answers
66 views

How to get the miner address of a block with infura Rinkeby endpoint?

I've read some docs online that to get the miner/sealer/signer address of a particular block that runs with the Ethereum PoA/Clique consensus (the Rinkeby testnet for example), I need to call the ...
0
votes
2answers
20 views

Sending ethereum smart contract transactions to miners

We are building a decentralized document issuance application using the ethereum blockchain. For every transaction, some gas costs deduced in the form of ether. Is it possible to host ethereum miner ...
1
vote
1answer
28 views

Update on the projected coin inflation for ethereum?

I've seen this question: What is Ethereum's inflation rate? (how quickly will new ether be created) but the answers are vague and out-of date I know that Bitcoin is halving and all coins will be ...
2
votes
1answer
47 views

How to modify the algorithm of transaction selection in Ethereum private net?

By default, miners select transactions with high fees from the mempool. So, transactions which are dependent and have a specific order can be selected randomly without respecting this order. Will I be ...
2
votes
2answers
58 views

What is the difference between account nonce and block nonce?

Block and accounts both use a value called "nonce" but they seem to represent something very different. For account I understand that the nonce is an integer quantity indicating the number of ...
1
vote
1answer
44 views

Three questions

I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might ...
0
votes
1answer
30 views

How to detect mining based on power consumption?

Is there any data from power consumption of ASICs to understand the mining process? Is there any pattern to know about that?
0
votes
0answers
14 views

Ethereum mining on the Hades Canyon NUC8i7HVK

Has anybody successfully used the GPU on the NUC8i7HVK to mine Ethereum. If so I'm looking for a way to do this. Thanks.
0
votes
1answer
16 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
32 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)...
1
vote
1answer
64 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
27 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
41 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
44 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, ...
3
votes
1answer
33 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
15 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
11 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
21 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
31 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
36 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
28 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
117 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
100 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
29 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
22 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
17 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
33 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
28 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
28 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
20 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
27 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
50 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
33 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
39 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
38 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
61 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
61 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
34 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
25 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
37 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 ...