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
0answers
14 views

Updating local variable across http efficiently [closed]

So a bad way to do what I want to do is this while(True): challenge_number = http(request) # where the value is subject to change miner(challenge_number) If challenge_number across http ever ...
0
votes
0answers
15 views

Mining stops after some time in my Hyperledger-besu Private blockchain

I have been using Hyperledger-Besu's quickstart guide to build my private blockchain (with ibft2 as consensus algorithm) on an AWS instance, which basically just clones that repo https://github.com/...
1
vote
1answer
27 views

What is the block number of the first block mined in a private blockchain network deployed on say Quorum?

I am working on POCs on Azure Blockchain Service. While working on quickstarts, I observed that while deploying my 'Hello Blockchain!' smart contract, the block number of the block mined was 34136. ...
1
vote
0answers
13 views

Call contract method via raw transaction in python

From what I've read online I can't call the method I want to in python using contract.functions.myfunc(param1,param2 becaues infura doens't support these types of transactions. So instead I want to ...
0
votes
0answers
26 views

Resources of a miner's reward in Ethereum?

To compensate the miner who could solve the PoW as the first one, they will receive some coins as a reward for keeping them motivated due to the costs related to mining process (electricity and ...
0
votes
0answers
23 views

Is it possible to use the Raspberry Pi SOC GPU to mine Ethereum?

I have seen a lot of articles saying that mining Ethereum is possible, but not profitable, on a Raspberry Pi. However, none of them goes into any details on how to set it up. Is the only option to ...
3
votes
0answers
35 views

Blocks can't contain more than 81 transactions

I'm building a private blockchain with Parity clients. For performance testing, I'm submitting many identical transactions. One of the nodes has a GPU miner attached. There are 2 issues I cannot ...
0
votes
0answers
15 views

How to run some mine testing locally?

So I'm looking at this example. And they the following example for how to make a PoW function. bytes32 public currentChallenge; // The coin starts with a challenge uint public timeOfLastProof; // ...
1
vote
1answer
37 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
12 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
21 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
48 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
47 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
35 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
42 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
36 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
27 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
42 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
26 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
3answers
60 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
81 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
267 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
27 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
99 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
84 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
31 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
50 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
42 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
21 views

What makes a transaction not mined and stay in txpool?

What Makes a transaction in txPool not mined ?
1
vote
1answer
39 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
54 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
27 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
22 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
36 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
39 views

Pending transactions not mined in private network

I have created a node with the following genesis block: { "config":{ "chainId":9119, ...
1
vote
1answer
80 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
39 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
63 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
14 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
35 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
87 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
21 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
28 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
39 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
36 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
59 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
123 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
19 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
136 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
28 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
2 3 4 5
20