Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
27 views

How Ethereum consensus validates same transaction from different miners?

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
32 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
21 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
32 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
17 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
15 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
21 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
24 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
23 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
19 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
20 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
53 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
30 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 ...
0
votes
2answers
34 views

Does lowering the share difficulty alows me to find more blocks?

Lets asume that I've a very powerful server with very fast internet connection (32GB RAM, 4GBit/s upload and download) which runs MiningCore and Parity for private mining. Does decreasing the Share ...
2
votes
0answers
36 views

Private network: Using geth to mine for parity nodes

I want to set up a private Ethereum network using a parity client. Ideally, I want to resemble the "real" Ethereum network as close as possible. Thus, I want to set up a proof of work network. For ...
-1
votes
1answer
26 views

Do I need to start mining in order to process my own transaction in GETH?

I am running my own GETH node, so that I can check status, and make transaction when possible. I can sync with the main net and check status of contracts without start mining. But when I send a ...
1
vote
2answers
25 views

0 txn in mined block [duplicate]

How is it possible for a block to be mined with 0 txn? https://etherscan.io/block/6739171 That's an easy way to get 3 ETH block rewards.
0
votes
1answer
35 views

Web3js send ERC20 token with my own mining machine

Is it possible to send custom ERC20 token using my own mining machine? We have a big website where we are going to use our own Custom token but the problem is when we send tokens to the user we need ...
3
votes
2answers
954 views

What happens if you transfer ether and no miner is running?

What happen if I transfer ether from account a to account b on a private chain with just one node and that node is not mining?
0
votes
2answers
34 views

How do uncle blocks affect Ethereum world state?

Let's say you have two miners: A and B. Let's also say you have two transactions: one which increases a number at a smart contract by one (transaction X), and another which decreases the same number ...
0
votes
0answers
14 views

proof of stack detailed mechanisme

oke, after googling about pos i know that you put you coins in a wallet and let the system pick you up for validating transactions inside the blocks, the way i understand is that transactions are ...
1
vote
1answer
38 views

Offline signed Transactions not being mined on private net

I am running a geth node and tried to perform a load testing by giving multiple transactions (1000 tx) from front end. As the application is not crypto related and need the blocks to be mined faster, ...
1
vote
1answer
16 views

Does a non-miner node validate both single transactions and an entire block?

My understanding is that an originating node broadcasts a transaction to its neighbours, who all validate the transaction to ensure (a) the signature is valid and (b) the state change is valid, before ...
1
vote
1answer
22 views

Extra incentives for miners in smart contracts

I am thinking to create a smart contract where miners are not only incetivized by gas price but where basically the miner can get other assets like erc20 tokens if he/she mine my transaction in the ...
0
votes
0answers
9 views

Ethereum Cluster Node Can't miner

I created 4 node for entire private network,and node init use same genesis.json ,here is my start command ./geth --identity 'testTwo' --rpc --rpcport 8101 --datadir /home/lisandro/data --rpcapi "db,...
0
votes
0answers
18 views

How to execute a method in smart contract automatically after a certain period of time? [duplicate]

I want to execute mint() method in an ERC20 smart contract automatically each year. How can I achieve the above?
1
vote
1answer
40 views

CUDA device Quadro K620 has insufficient GPU memory

I am new to Ethereum and wanted to clarify whether mining is possible if the graphics card has below the required amount of stated memory and it is part of a mining pool? I use ethminer and the ...
0
votes
0answers
26 views

new blocks not appended at the end of chain after restart

I run a private testnet with Geth v1.8.17. At the moment only one node is connected and is constantly mining. Most blocks are empty but some contain transactions. After I let the miner run for a few ...
1
vote
1answer
25 views

Is it possible for the miner of a block to be address 0x0?

Take a look at this transaction: https://etherscan.io/block/5305. The miner is listed as 0x0000000000000000000000000000000000000000. Is this reasonable? Did someone configure their node incorrectly? ...
1
vote
1answer
33 views

When do you get eth when mining eth?

I ran Claymore's eth miner for 8 hours and got 200 shares. I set my eth address when I ran the miner, but no eth was deposited to my address. When I restarted the miner the shares were reset to 0. ...
1
vote
1answer
27 views

How can I get the records of invalid blocks once have been mined?

As we all know, an invalid block will be ignored and won't be propagated when a verifier finds its invalidity. However, if there is a need to get the records of all invalid blocks once have been mined ...
0
votes
1answer
42 views

Nonce in proof of work

When a block is being mined nonce will be generated so that the nonce is appended with the previous block hash,data. Then the resulting hash of that appended value should be less than the target. The ...
0
votes
0answers
17 views

extend the functionality of ethereum miner

I am wondering is it possible to extend the functionality of ethereum miner on a private blockchain. That means apart from verifying the address and all other aspects of transaction, I would like ...
2
votes
0answers
29 views

Is there a temporal reward in Casper, that the earlier you place bets, the more you are rewarded?

In Casper, the consensus-by-bet proof-of-stake system, is there a temporal reward, that the earlier you place bets, the more you are rewarded?
0
votes
1answer
39 views

Ethereum miners for solidity logs

I wanted to know what kind of transaction validation miners would do for the code written below. The code below is simple creating a student logs. So when i say the transaction will be validated by ...
0
votes
1answer
27 views

What is a seed in the process of Ethash

For mining purposes one needs to generate a seed. I read some articles but still did not understand where this seed comes from. How is calculated, or what it is about? I found this on Ethereum wiki ...
2
votes
1answer
92 views

2 miners on private network slow sync

I am running 2 miners and 1 non-mining node using docker. Just can't see the 2 miners work in tandem. Each can assemble its DAG. Only seems to work with a single miner. I am using Geth/peer1/v1.8.16-...
1
vote
1answer
38 views

when does a transaction get registered / included in a block

I want to know when does a transaction gets registered in a block ? Is there any queue type of structure where the transactions get stored before getting included in a block by miner ??? As in let's ...
1
vote
0answers
39 views

Why is my private ethereum network stuck at “Recalculated downloader QoS values” while trying to mine?

I'm using Mac OS High Sierra version 10.13.6 My customgenesis.json file is this. {"config": { "chainId": 15, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 },"nonce": "0x0000000000000042","...
0
votes
1answer
58 views

Transaction happen but ethers were not send in private network

I wanted to transfer 5 etheres from my coinbase address to my another account. My coinbase balance is: > eth.getBalance(eth.coinbase) 9.999999999999999999999999999999999e+33 So I ...
1
vote
1answer
50 views

Why has 2048 been chosen as a mining difficulty bound divisor?

Excerpt from page 6 of the yellow paper: The paper focuses more on the difficulty bomb ε but says little about the rationale of mandating 131072 and 2048 as scalars. I guess the former is merely an ...
1
vote
1answer
81 views

miner.start(1) triggers but not starting the mining

I am creating my own private ethereum blockchain. sudo geth --rpcapi eth,web3,personal --rpc --networkid=15 Above command gives the below logs. INFO [09-18|10:16:42.151] Maximum peer count ...
0
votes
1answer
27 views

How is this possible from only one worker/PC?

So I was clicking around on the Ethermine.org site the other day to check out some folks's ETH performance levels and came across one that has me deeply pondering on how he is doing his mining. I ...
0
votes
1answer
21 views

Doesn't mine on top of a latest block

As we know, the blocks are spreading through the network via gossiping. Due to the network latency or some other reason, is it possible that a node mining a block before it sync the latest block? ...
0
votes
0answers
46 views

Ethereum - Mapping mining operations to code

The image (not mine) below describes the Ethereum state tries and their role in block mining. My intention is to connect the operations with the technology stack of Ethereum. This is assuming that a ...
1
vote
0answers
75 views

Private Net: Miners not mining pending transaction

I am running a private network. I send a lot of transactions to geth with miner on (with 10 threads). I could see my transactions getting mined properly for some time. And then I checked length of ...
0
votes
1answer
113 views

Ethan, CPU miner, with stratum support

I am developing pool software for ethash coins. I use a private chain and pool software running on VMs so I need a CPU miner with stratum support that I can run on on my laptop VMs. Currently I was an ...
2
votes
1answer
22 views

Can ethereum logs be present while transaction is being mined, then disappear later?

Question about the ethereum blockchain: If I walk the blockchain like so: for block in blockchain: for transaction in block: receipt = getTransactionReceipt(transaction) for log ...
1
vote
1answer
48 views

Prevent other mining softwares to mine my public forked Ethereum chain

I forked an Ethereum chain and put it as public, but I only want my own software/client to be able to mine. Other miners using ethminer, geth, etc, cannot mine and profit from my chain (At least not ...
3
votes
1answer
25 views

A doubt about forks and mining

Suppose I'm mining a block, and I still don't find the nonce. Suddenly I receive the mined block from another node. But when I try to validate it, I find it's not right. So I discard it. What happens ...