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
1
vote
1answer
49 views

Can I make an ethereum token that runs a certain function every 15 seconds?

I have a rinkeby token, and I wanted to add "merged mining" when someone mines a block, they get awarded 0.25 of that token. function issueBlockReward() { balanceOf[block.coinbase] += 0.25; The code ...
0
votes
0answers
15 views

Geth automining does not fill blocks to maximum

I am running a throughput test on a private geth blockchain. The test sends 500 transactions rapidly and then waits for their confirmations in order to measure transactions per second. However, I've ...
0
votes
0answers
34 views

How PPLNS pool reward system works?

I want to create my own pool where me and my bros can mine ETC (because it is not difficult) without fees. So, stratum and some others are done, only Front End and reward system left. I've checked ...
3
votes
2answers
103 views

How does Ethereum prevents a node from mining a block with tempered transaction?

My question is rather simple, and I found this question in the Bitcoin StackExchange that somehow relates to mine, although, for the Bitcoin Blockchain, which I'm not sure if Ethereum solves the ...
0
votes
2answers
71 views

Measuring deployment time of a group of transactions in a heavy load testing

I am currently trying to perform heavy load testing on a ERC20 token. My plan is to use truffle to test stuff like how long it would take for 500 transfer transactions to be deployed (on a private ...
0
votes
0answers
52 views

Geth automining includes only 1 transaction per block

I am trying to perform a heavy load and scalability tests on a smart contract. However, the test takes a lot of time because only 1 transaction is added per block. I read that this might be due to ...
0
votes
2answers
75 views

how transaction in block-chain is validated

Please explain complete procedure/journey how transaction in block-chain get validated by miners, From broadcast of transaction to become part of new block.
1
vote
2answers
92 views

Why does a miner still pay gas for a reverted transaction?

I ran a contract here, I got the message "Transaction mined but execution failed". : [vm]from:0xca3...a733cto:Will.deceased() 0xbbf...732dbvalue:0 weidata:0x72f...af2d9logs:0hash:0xac5...6c5be ...
0
votes
2answers
36 views

Mining with additional data

i'm a beginner in using blockchain. Based on my knowledge, there are two ways blocks are created, mining and sending transactions. As there is an explanation to input additional data while sending a ...
2
votes
0answers
53 views

How to reduce block time for existing ethreum blockchain network?

I had deployed my private blockchain network back in 2018-08-12 16:12:48 +0600 (1 year, 167 days ago). Since then it is working. At that time the block time was 20-30 seconds which was acceptable for ...
1
vote
2answers
38 views

Ethereum Miners and Gas - Analyzing Chain Data

Currently looking at https://medium.com/google-cloud/how-to-query-balances-for-all-ethereum-addresses-in-bigquery-fb594e4034a7 and in the SQL Query to calculate address balances there is a part for ...
2
votes
4answers
157 views

How are transactions with the same gas price ordered in a block?

If A has gas_price == 1gwei and B has gas_price == 1gwei, how does the miner decide which tx gets executed first when ordering them into a produced block? Does it depend what mining client is used? ...
0
votes
0answers
215 views

Mining rig hashrate slowly dropping

i've were given a five gpu mining rig jogging constructed with evga gtx 1070 sc's. the miner has been going for walks futures on ethereum perfectly for an amazing 12 months now. the os is home windows ...
3
votes
3answers
292 views

Can I mine only low-value blocks?

I'm new into this world. I (think to) know that usually blocks are mined from most rewarded to less rewarded. So if I offer very low gas price for a transaction, it can be take a long time to be ...
0
votes
0answers
31 views

miner.start() returns null but no transactions take place

I have created a genesis block and initialized it in the private network. Account creation is also successful. As soon as I hit miner.start() [or miner.start(1)], the following appears: INFO [12-...
3
votes
0answers
100 views

How many times has the Ethereum mining difficulty bomb been pushed back?

Ethereum has a built in mining difficulty bomb to force an upgrade. How many times have the difficulty bomb been pushed out? And by pushing out this mining bomb, doesn't this create more ETH into the ...
0
votes
0answers
85 views

Any platforms that do validator selection using pre-committed hash chains?

Has this mechanism for selecting validators been proposed and/or implemented in any distributed ledgers? Validators pre-commit hash chains of length w. When creating a block, validators commit the ...
0
votes
2answers
48 views

Do ERC20-type tokens make a 51% attack more profitable?

A successful 51% attack (PoW or PoS) would allow the attacker to double spend any token, not just ether, so the greatest possible payoff is equal to the value of all ERC20-type tokens plus all ether. ...
1
vote
1answer
83 views

Difference between Kovan and Rinkeby? [duplicate]

I understand that both the Rinkeby and Kovan testnets employ the Proof of Authority (PoA) consensus algorithms. I also understand how PoA works. However, I still dont understand how Kovan and Rinkeby ...
0
votes
0answers
89 views

Geth mining stuck: Commit new mining work on Ubuntu instance

I have an Ubuntu instance running on aws ec2. I'm currently using Ubuntu server ec2 instance with the configuration as: 1 vCPU, 2.5 GHz, Intel Xeon Family, 1 GiB memory. I'm running my Geth on this ...
2
votes
1answer
40 views

What makes a transaction not mined and stay in txpool?

What Makes a transaction in txPool not mined ?
1
vote
1answer
66 views

Can I start mining before my node is fully synced?

I'm trying to mine some Ether on Ropsten, using a Geth node configured as follows: --verbosity=3 --networkid=3 --testnet --mine --fast --cache=8192 --datadir=./data --etherbase=0xMyAccountAddress --...
0
votes
1answer
156 views

How do Miner choose transactions for a block?

i am wondering how a Miner chooses the transactions, he want to mine inside a block. For example, a Miner has got the Transactions T1 and T2 at the moment he starts a new mining work. This Miner is ...
0
votes
0answers
55 views

How can I make geth to mine just pending transactions and no additional coins?

Since on my private test newtork based on go-ethereum (geth) I want only the miner thread to start when there are pending transactions, I am using the following script: var mining_threads = 1 ...
0
votes
1answer
29 views

PoW and transaction validation

Does PoW validate transactions too? In other words, would it be possibile to mine wrong transactions (yet I know they are not trasmitted to other peers). Thanks in advance!
0
votes
0answers
41 views

How simulate blockchain and smart contract in VANET?

I am a beginner in the blokchain, I am blocked how I start simulate a blockchain and smart contract in vanet. Can you help me and inform me how I have to simulate blockchain and smart contract in the ...
0
votes
1answer
49 views

Pending transactions not mined in private network

I have created a node with the following genesis block: { "config":{ "chainId":9119, ...
1
vote
1answer
178 views

How mining happen in private and permissioned blockchain?

In public blockchain a miner gets rewarded for mining a block. But in a private or permissioned blockchain, if there are no rewarding facilities available, how does the mining happen? Also, is it ...
0
votes
0answers
53 views

Making difficulty static - Geth

I made a setup for a private PoA network with geth. Everything works fine, regarding mining, making transactions, connecting through http and websockets. Now I need to optimize transaction time, I ...
0
votes
1answer
77 views

Has ERC20 mining been disrupted?

Do you know why a single address of type contract is mining 38% of 0xbtc? Does it mean that a single person has find a way to mine as much 0xbtc as a whole mining pool? Plus how come a contract is ...
1
vote
0answers
16 views

Uncle blocks got generated during the mining process with only one node[one miner]?

In order to increase the speed to mining, I edit some code in consensus.go to reduce the speed of increasing the difficulty of mining. Somehow, when I have my speed of 20 per block, I found that the ...
0
votes
1answer
40 views

After POS is implemented, what stops mining pools from being formed?

There won't be "mining pools" but stake pools but what if someone creates a system where participants stake everthing in one place in order to make the mkst money? Is this allowed and is this a ...
1
vote
2answers
126 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
29 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
43 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
75 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
45 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
1answer
201 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 ...
1
vote
2answers
179 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
36 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
47 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
102 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 ...
3
votes
2answers
292 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
56 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 ...
1
vote
1answer
37 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
1answer
23 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 ?
2
votes
1answer
48 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
288 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
80 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
125 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
2
3 4 5
20