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
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
14 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
21 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
32 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
22 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
19 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
12 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
27 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
16 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
17 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
20 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
24 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
29 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
48 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 ...
0
votes
1answer
27 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
39 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
21 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
21 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
39 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
33 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
53 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
208 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
83 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
18 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
29 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
67 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
51 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 ...
0
votes
0answers
17 views

How to set an address where the reward will go in `ethOS`?

How to set an address where the reward will go in ethOS in a miner rig ?
1
vote
0answers
28 views

What useful information can we get from ethOS mining log?

What useful information can we get from ethOS mining log information ? For example, can we find the ethereum address of this miner from this log information ?
1
vote
1answer
35 views

General question about totalSupply: fixed since first moment (aka Bitcoin) or indefinite (aka Ethereum)?

In an answer to a general question about totalSupply, I gave some rough indication about the aim of token deployer vs totalSupply: Why is the totalSupply of this token statically initialized to ...
0
votes
0answers
33 views

How to know the address of a miner with ethOS operating system?

How to know the address of a miner with ethOS operating system? (1) Is there a specific command to know the Ethereum address of this miner? And (2) Is it possible that I would be notified by an e....
3
votes
1answer
91 views

Is it possible to to send out more ether than account has while compensating for it by another transaction in the same block

Is it possible to have the following scenario? Account A has 20 ether, account B has 20 ether In transaction 1. Account A sends 25 ether to account B In transaction 2. Account B sends 10 ether to ...
0
votes
1answer
13 views

What does mining software do when two tx are sent in one block with incremented nonces, but the second tx relies on the completion of the first?

If I call approve and transferFrom on an ERC20 token in two transactions, with the nonces being 1 and 2, respectively, how do the miners know which to accept first? Do the miners choose the ordering ...
1
vote
2answers
53 views

Who generates the mathematical problem for miners?

In POW miners solve an problem for successfully mining a block, who provide the question to the miners ?, does all miners work on same problem ?, and how the miners verify the answer ?, if the problem ...
0
votes
1answer
26 views

How do miners claim gas from an invalid transaction?

Suppose a transaction T changes the state from S to an invalid state S'. For example, say, it ran an long loop of no operations (no_op), and attempted a double spend. Since this T transforms the state ...
1
vote
1answer
71 views

How Ethereum consensus validates same transaction from different miners? [duplicate]

In an Ethereum node, my brief understanding regarding transaction flow is below. When a client initiates a transaction, all mining nodes receives this request. Based on gas price, miner choose to ...
2
votes
1answer
35 views

Can't we incentivize miners to include more transactions in their block?

If you go to etherscan.io, you can see that each block has the different number of transactions. Can't we incentivize miners(e.g. give more rewards ) to include more transactions in their block so ...
1
vote
1answer
31 views

What are the correct steps to make connection and communication within one Node by creating Private Network in windows?

What are the correct steps to make connection and communication within one Node by creating Private Network in windows? Installation of Geth is done in windows successfully, puppeth is also running. ...
2
votes
1answer
131 views

How to call geth mining through java code manually ?

I am using web3j and Geth and created a private network. However, I want to do the mining manually whenever required, since don't want to jam the server when I am in the development phase. For that, I ...
1
vote
1answer
18 views

How do consensus vulnerabilities occur when parity nodes do not mien?

While familiarizing myself with Ethereum, I found multiple security alerts referring to consensus issues, most notable those that arose because the geth and the parity client handled certain edge ...
0
votes
1answer
20 views

How to limit minimum amount of value transfer Tx that can be included in a block by a miner : Dapp?

In my scenario, I would like to keep a restriction on the min value on a transaction. For example, if A is to transfer some ETH to B, the min amount he can is > 0.01 ETH. So that a miner cannot ...
2
votes
1answer
51 views

Where is the function that rewards the miner address for mining the block?

I have recently been digging into go-ethereum and have 'plugged' my own consensus mechanism which requires a node to solve a simple equation (2+2) etc to seal a block. However, even after letting it ...
1
vote
0answers
29 views

Geth and Private Blockchain Mining

I am trying to set up a private blockchain for the first time with a Geth client. After initializing my custom genesis json file, running the networkid in the console and setting up a couple of ...
0
votes
1answer
33 views

What is the purpose of Private Blockchain?

What is the real purpose of private blockchain for example in Ethereum ? I mean found a lot of tutorials online about creating a private blockchain, creating an accounts there, setting coinbase accout,...
0
votes
1answer
32 views

Run testnet in a cluster

I have launched a blockchain testnet in a cluster with different nodes and I have some questions about how it works. If I run more than one geth client(a node in the blockchain) in one node of the ...
0
votes
2answers
49 views

can only change header's extra data to mine a new block? [closed]

Fix 'nonce' and 'mixDigest', only change 'extra' to mine a new block.
3
votes
0answers
63 views

Miner accepting 0 price transactions

I am hosting a private blockchain and I am testing out the Geth functionality. I have deployed a Solidity contract based on the Greeter example. The functionality is not important, but suffice to say ...
1
vote
0answers
49 views

I have connected two notes using bootnode in ethereum private blockchain but mining is not started why?

I have generated the enode from Bootnode in Ethereum private network and i connected three individual nodes using that enode through Bootnode, and i have checked whether that nodes are connected or ...