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
4
votes
2answers
848 views

Mining in private network not giving ether to coinbase account

I am relatively new to Ethereum. I was trying to set up a private test network. I used the following genesis file: { "config": { "chainId": 15, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": ...
0
votes
1answer
39 views

How does the network / EVM handle same contract call within same block with same gas?

As an example take the following test contract: pragma solidity ^0.4.24; contract DoubleCall { address public superHero; uint256 public price = 1 ether; function becomeSuperHero() ...
1
vote
0answers
115 views

Ethereum Wallet sending zero value transactions

I'm not sure what's happening. I created a private network and started mining it. When the mining is started, the coin base is getting the block reward ( with no transaction). Things change when I ...
1
vote
1answer
86 views

How can I transfer half mining award to an address?

Creating a dapp, which requires half allocated mining fee should go to an address. I managed to cut down the mining as well as the block reward: consensus.go // Accumulate the rewards for the ...
1
vote
2answers
769 views

What are offchain and onchain Transactions?

What is meant by off-chain and on-chain transactions? I don't get the meaning of off-chain and on-chain in general.
0
votes
1answer
42 views

How to define miners ACL on a private chain

is there a way to manage "allowed" miners in ethereum private chain ? the idea is to have some sort of access control list of miner addresses which are allowed to seal a block. in case the above is ...
1
vote
1answer
1k views

Validation of Smart Contract execution in Ethereum

Now I understand that miners will run smart contracts in Ethereum and other nodes in the network will be checking the validity of the contract execution from How is a node selected to run Smart ...
0
votes
0answers
48 views

Mining node stops working frequently

hello guys, i have created a private Ethereum blockchain network on Microsoft azure which has one transaction node and two mining nodes with configuration-For transaction node the ram is 8gb and one ...
2
votes
1answer
86 views

Who mines in a consortium network?

So if I want to setup a consortium network between two companies who would do the mining? The companies want to use the consortium network to purchase goods using ether. I’d like some clarity in the ...
0
votes
1answer
254 views

Calculate ROI of ASIC miner

I am trying to understand how to calculate the Earnings over a year for an ASIC Miner. As an example I picked the Innosilicon A9 ZMaster. It has the following specifications: These specifications ...
0
votes
1answer
140 views

Mining In Remix IDE

Normally in MIST, we have to mine by miner.start() to deploy the smart contract. But in Remix we don't need to mine. Can someone tell me why is that ?
4
votes
2answers
514 views

Why do miners not always “vote” to increase the block gas limit?

Miners can increase/decrease the block gas limit. I read that they can increase/decrease for about 0.01% per block. Why do miners not always want to increase the block limit? This would lead in more ...
1
vote
2answers
59 views

All my blocks has deleted

I have a private network for testing. My problem is when ever I stop running geth network, all of my mined blocks are gone. I run like geth --datadir "ethereum/node1" --port 30301 --networkid 1234 --...
0
votes
1answer
87 views

How to modify my own ethereum node to mine transactions from my DAPP which uses ERC20 tokens?

Could someone please explain the below, I am developing a DAPP which uses ERC20 tokens that already deployed in the mainnet. In order to mine the transactions for these ERC20 tokens, How I can use ...
9
votes
2answers
857 views

Geth will not start mining in private network!

Will somebody please help me out? I am stuck at this since hours; did the process +3 times, each time deleting the datadir content. Geth still will not start mining!! Specs: Geth 1.8.11, on macOS X ...
0
votes
1answer
233 views

How can I see the orders issued in Ethereum?

Newbie here, so apologies if this doesn't make much sense. Is there a way I can simply track and store the transactions issued for verification (I do not care if they end up being validated or not at ...
0
votes
1answer
127 views

Most expensive solution for miners to manipulate PRNG (Pseudo Random Number Generation)

From this article I understand that randomness can only be secured by External oracles Signidice Commit–reveal approach However, in the case that I am okay to have a pseudo random number generator ...
11
votes
6answers
4k views

Why not mine my own transactions?

I have a contract which needs to be updated occasionally. So I create a transaction, sign it and send it to the network. When I do that, I state a gas-price. The higher the gas-price is, the faster ...
1
vote
1answer
31 views

Is there waste of resources in mining as a result of concurrency?

Suppose there are 10 nodes in network. New block detected. What happen next? All 10 nodes begin to search for hash for that block simultaneously. One of them found the hash first? What happened with ...
1
vote
2answers
994 views

CPU mining on testnet using geth on ubuntu - eth.hashrate = 0

I have setup a CPU miner on ropsten testnet but when I run eth.hashrate it always returns zero. Can anyone tell me why this is? I have searched for an answer, but cannot find a satisfactory answer. I ...
0
votes
1answer
109 views

Is It possible, do not mine ERC based token on the time of deployment in Ethereum test or private Blockchain

I am new to ethereum block-chain.I have created ERC based token (smart contract).I successfully deploy it on ethereum local private block-chain. When I will deploy smart contract token on rinkeby ...
0
votes
1answer
1k views

Experiencing a lower hash rate when mining after changing motherboards.

I've been mining for a couple of months now, with a basic rig setup of single GPU R9 380x on a Gigabyte 970 AM3+ motherboard (all pre-used hardware). My setup and settings are posted here for details....
0
votes
1answer
250 views

How to filter transactions in PoA/Clique chain

(ETH noob here) I am thinking of running PoA/Clique based network for a potential dApp project. Is it possible for the sealer to apply filters on transactions before sealing a block? The scenario ...
7
votes
2answers
407 views

How can I maximize the probability that my ETH nodes stay synchronized with mainnet for as long as possible?

I run three full ETH nodes, one on my local, home network, and two in the cloud. All three make use of geth. My "local" node, is always in sync with mainnet, i.e. always showing the same last block ...
1
vote
1answer
6k views

GPU'S Failed cannot create DAG

Last night everything is fine and then this morning I check my mining its's closed I think it was restarted or close accidentally then when I open my pool I have this error. ETH: 5 pools are ...
1
vote
0answers
31 views

I don't understand the “share” concept in miner and pool

If I launch a miner, after a few minutes it displays "shares: 65", 65 acepted. But pool statistics shows me "valid shares 23, stale shares 0, invalid shares 2". Last seen 12 minutes ago, but the miner ...
4
votes
1answer
1k views

Proof Of Authority vs Proof Of Work geth

In case of proof of work consensus mechanism miners compete with each other to solve the cryptographic puzzle and once a miner found the answer of puzzle , he will broadcast it to all the nodes ...
6
votes
1answer
183 views

Connection between nodes crashes when I start mining in private network

I'm exploring blockchain technology and I want to setup my own private Ethereum network. There are a number of tutorials over the Internet (such as this), but unfortunately I have a problem, when any ...
3
votes
1answer
65 views

mining requires access to the entire blockchain?

I am reading the white paper and confused by two sentences bellow: In the Section of Mining Centralization: ... miners are required to fetch random data from the state, compute some randomly ...
2
votes
0answers
147 views

geth 1.8.8 miner hashrate 0 after join network where major miners ran on older version

I am planning to upgrade my miners from 1.7.x to 1.8.x. For testing purposes, I've made a copy of geth's data and then I run a new version of the geth miner against my copied data. After the new ...
0
votes
2answers
307 views

Two transactions: same `from`, different `to`. What will happen?

Let's imagine that I've two pretty same transactions - the only difference is their to field. The first transaction - A, has 0x1111.... and the second one - B, has 0x22222.... in the to field. If I'm ...
0
votes
1answer
31 views

if a miner sets its mining fee very high in ethereum network and no transaction in the block pays that amount

what would happen in that case do the minner will mine an empty block. all the transactions will get cancelled
2
votes
3answers
199 views

What happens if already processed transaction is submitted to the network again?

I have a script that sends transactions automatically using JSON RPC API call eth_sendRawTransaction to a node that has RPC enabled. My question is, what is going to happen if I send these ...
0
votes
1answer
515 views

What is the exact issuance model for ETH?

How is the number of ETH per block determined? My initial impression was that ETH blocks produce 5 ETH per 15 seconds but I cannot find any exact numbers or methodology regarding the emission schedule....
1
vote
2answers
61 views

Do all ethereum based currencies need to be mined?

I am reading about an ethereum based currency called atonomi. It's doing an ICO. I wanted to ask if all ethereum based currencies need to be mined or they could be pre-mined too?
2
votes
1answer
56 views

Why can`t I get more transactions from a batch in the same block?

So, the other day I tried batching a lot of transactions ~100 from the same account and sent them out to ethereum. I was programmatically creating a lot of txs, incremented the nonce accordingly, ...
2
votes
1answer
144 views

What is the difference between sealing and mining a block?

I have seen numerous sites referring to sealing a block and mining a block. I understand a miner seals a block but I do not really understand what sealing actually involves. On that point, how does ...
1
vote
1answer
336 views

Simple single-node geth test network not mining

I have set up a test node with geth as described here. I followed the instructions exactly, except: I created a second account with personal.newAccount("password") and so use miner.setEtherbase(...
0
votes
1answer
44 views

“Correct” chain in en very small blockchain [duplicate]

First, this question may have been partly answered here but what I will ask is very specific. I have a chain with 3 nodes (A, B and C), all are mining. A mines the block 1000 and synchronizes with C ...
1
vote
3answers
637 views

Ethereum mining pool

Guys I want to build a mining pool for ethereum which is based on GPU mining. I've searched alot but I couldn't find anything except genoil(cpp-ethereum) which supports GPU mining but the creation of ...
0
votes
1answer
61 views

Latest block of multiple mining nodes

Lets say I have a private chain with 3 nodes (all mining) A, B and C. I want to get the latest block of my chain. I connect to node A and get this information with getBlock("latest"). Lets imagine ...
3
votes
1answer
2k views

What does block reached canonical chain mean?

In my geth node I see sometimes on the output the message block reached canonical chain I tried googling for the answer but could not find one. Does anyone know what this means.
0
votes
1answer
44 views

How many miners can i have with 65kw

i want to know how many miners can i have with 65kw provided by solar panels, the average of the miners is 1200w 100-250v 47-64Hz.
2
votes
2answers
1k views

Why don't private blockchain networks that do not charge for transactions charge a fee when processing ethereum/ proprietary token on the network?

I ask this questions is there seem to be 2 flavors of blockchain: 1. Public think bitcoin and ethereum. 2. Private hyperledger, SAP Leonaro, etc. The public network charges for transactions which make ...
0
votes
0answers
42 views

transaction confirmation problem

I sent several times some transactions via a consortium established on ethereum (https://energyweb.org/), but none of are mined or confirmed (it is cheched from here : https://tobalaba.etherscan.com/)....
0
votes
1answer
101 views

Private test network miner is 0

I set up a private in my linux system and create a new account using personal.createAccount. After I start mining using miner.start() . But i found block number is not increasing. Then I found my ...
0
votes
1answer
164 views

How to check transaction situation via CLI

I did a transaction and got transaction hash. How can I check this transaction is mined (or confirmed) via CLI (command-line interface) ? What is related command for this? Here is transaction hash ...
1
vote
0answers
308 views

How to generate a empty block in dev chain on parity? like dev.period in geth?

I use config like this: [parity] mode="active" chain = "dev" base_path = "./data" db_path = "./data/chains" keys_path = "./data/keys" identity = "" light = false [rpc] disable = false port = 8545 ...
1
vote
1answer
280 views

Detect mined blocks by specific nodes

Using web3 to connect to a geth's node rpc API, is there a way to detect when a block has been mined by a specific node? The only way I've found so far is to redirect the node's console output to a ...
0
votes
1answer
50 views

I've created a private blockchain with geth and curious if this ether is real and spendable? [duplicate]

I have a small private network which generates roughly 20,000 ether daily.. I read of this private network configuration often and it seams like people are actually using this Ether as real ether that ...

1
3 4
5
6 7
20