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
1answer
17 views

When exactly does a state change happen for a variable?

I am not sure if I asked right. What I don't understand is if a tx changes value of a state variable , it has to be mined and confirmed and brodcasted to network in order for the rest of network to ...
0
votes
0answers
23 views

Reward for doing useful computation

I'm new to Blockchain. I'd like to design a system where solvers can solve real-world tasks initiated by the task owners. Miners are part of a cloud/cluster that provides resources. They verify and ...
3
votes
1answer
28 views

Do miners undergo a sunken cost of attempting to verify an invalid transaction signature?

In the case of an 'invalid' transaction whereby the state transition of the execution is deemed to conflict in some way and reverts, the transaction itself is actually valid; gas is consumed, tx ...
0
votes
0answers
6 views

Calculate Ethereum Mining Revenues

Does there exist a formula of the mining revenues (revenues, not profit) based on my personal hashrate, the difficulty and the exchange price?
0
votes
0answers
26 views

Geth service gets killed on multiple concurrent requests of web3.personal.importRawKey function

I have an ethereum-POA node setup on a VM having below mentioned configurations. Using NodeJS Web3 client, I am trying to create new wallets using the web3.personal.importRawKey function. VM ...
1
vote
0answers
22 views

Probability of finding a block

Today I learned that for Bitcoin, the probability of a hash being valid is approximately 1/(D*2^32), whereas D denotes to the difficulty. Is this also true for Ethereum, or in general for other ...
0
votes
1answer
20 views

How to see the miner account that earned gas? Or how to know the account where gas goes?

I made a transaction to another account on rinkeby and then saw the record on Etherscan. There is Txn fee as gas. But how can I know where the gas went. I mean the account that gas was paid to. I ...
0
votes
0answers
15 views

Connect GETH to miner's node. Speed ​up transactions

Sometimes transactions from my node are delayed, how to configure Geth so node can connect directly to the miners' nodes? For example asia.sparkpool.com:3333 Or what other options? Thank you in ...
0
votes
2answers
100 views

Does ASIC miner works in ETH and ETC

I want to buy an ASIC Miner (A10 Pro 6GB) but i have some doubts. Is it good to buy an ASIC Miner in Nov. 2020 for ETH and ETC mining ? Recently I heard that the mining algorithm for ETC is changing ...
1
vote
1answer
35 views

how miners within a mining pool execute transactions and verify blocks?

I know that solo miners have to select & execute transactions in a block and also verify the recipint block and its transactions, all by themself. However, I am not sure how this works in a mining ...
0
votes
0answers
21 views

Geth network stopped mining

On my POA network there are 5 nodes/miners but suddenly all nodes stopped mining and giving this in console "INFO [09-05|08:50:16.267] Looking for peers peercount=4 tried=4 static=0". We ...
1
vote
1answer
20 views

Does successful mining require the block's transactions in advance?

Typically a miner decides which transactions go inside a block. But does this have to be so? Is the actual mining process just a process to find the right nonce regardless of block contents or does it ...
0
votes
0answers
12 views

Transaction is not included in block even block number is increasing [private-net]

I have forked geth and build from source. I have pending transactions but when running miner, miner only mines empty blocks. The pending transactions remain as it is. I have changed CalcDifficulty ...
1
vote
0answers
22 views

Generating blocks without mining,

I have private test network, and I need to simulate forks. Is any possibility to immediately set number block fork-1 (in PoA or any other protocol) ? If yes, what is the easiest way to do it ??
1
vote
1answer
29 views

Can miner himself add a transaction with a zero gas price?

In general it doesn't make any sense to send a transaction with zero gas price. Probably it will be pending forever. But what about miner - can he: Send some transaction with zero gas price (so the ...
2
votes
0answers
25 views

Service for priority transactions

I am looking to broadcast a sequence of transactions and hoping these transactions would be mined within the same block. Is there any service that gives preferred access to miners or mining pools and ...
1
vote
0answers
12 views

Transaction from non-miner node is not getting mined sometimes

I have a private Ethereum network containing 2 nodes,NodeA and NodeB. When I initiate a sendTransaction from NodeA(non-mining node) to deploy Ethereum contract using JSON-RPC, the transaction hash is ...
0
votes
1answer
24 views

Are oprhan blocks paid to miners?

Are Uncle rewards paid to the miner of the uncle? These are my logs. I don't understand if I've been paid after the block I mined is no longer in the canonical chain. INFO [08-20|17:21:19.206] Commit ...
0
votes
1answer
17 views

Modify Geth miner to filter which transactions include in the blocks

Where should I start if Im trying to modify the Geth client to filter transactions by sender to include only specific transactions in the mined blocks ? What files of code should I understand to do it ...
0
votes
0answers
13 views

Should mining multi-gpu rigs dedicate a gpu to each incoming job or…?

I'm coding mining software for multi-gpu rigs and I can't find the answer to this anywhere. The mining pool constantly sends out mining jobs and there are two possibilities how the software should ...
1
vote
1answer
13 views

State Changes within a Block

I read somewhere that the 'state' is only updated at the end of each block. I've also read that each block contains a specific sequence of transactions, and thus implicitly 'updates' the state within ...
1
vote
1answer
45 views

geth mining not working without --allow-insecure-unlock (geth 1.9.16-stable-ea3b00ad)

I am running a private ethereum blockchain with POA geth --port 3000 --networkid 42 --datadir=./blkchain --maxpeers=5 --rpc --rpcport 8543 --rpcaddr 127.0.0.1 --rpccorsdomain "*" --rpcapi &...
0
votes
1answer
21 views

mining transaction in private blockchain

I am new to the blockchain issue, and I have read about it, but I had these questions. When I actually implement a private Blockchain on every transaction it costs a certain gas. Who pays for this ...
0
votes
0answers
15 views

Does CGMiner officially support FPGA Mining?

I've been toying around with the idea of diving into the world of FPGA mining in the realm of Ethereum Mining. According to this link I found during my research online, CGMiner supports FPGA Mining ...
0
votes
0answers
46 views

Connecting geth and openethereum on a private network

Private network, running geth 1.9.15 and openethereum 3.0.1. Parity converter was used to create the chain.json file for openethereum. The two node show the exact same: genesis block network id ...
0
votes
0answers
30 views

How to mine without entire computer slowing down?

My computer is a dream machine with 64gb RAM and 28 cores operating at 4-5Ghz. Using Linux Mint. I also have a fairly modern Nvidia graphiques karrd with 8gb VRAM. I am mining XMR on 24 of my 28 cores,...
0
votes
0answers
16 views

Transactions from connected peer on private geth network seldom get mined

I have two clients running on a private network, one mining and one not mining. When I send transactions from the mining node, they get mined right away. But when I send transactions from the non-...
1
vote
0answers
24 views

BlockNumber stuck on 0 while a private network node is looking for peers

I'm extremely new to Blockchain and mining, and I've followed this tutorial to create my first private blockchain. I am stuck when it comes to mining and I'm afraid I'm quite lost. Afte I've started ...
0
votes
1answer
23 views

Hashes of all previous blocks are known but why the hash of block.number-1 is vulnerable and not the remaining 255 blocks?

I have read at different places that blackhash(block.number-1) is vulnerable (to miner's blockhash(block.number-1) vulnerability) because the hash is available but what about the other previous 255 ...
0
votes
1answer
42 views

net.peerCount is zero: Two miners are not connected

I'm trying to build a local private blockchain of Ethereum in my own PC using Geth v1.9.15-stable-0f77f34b. I have installed Geth in a virtual machine with Ubuntu 18.04 OS using VMware Workstation Pro....
0
votes
0answers
7 views

MainNet Truffle Contract sendTransaction request not returning transaction receipt

I just deployed my smart contract to MainNet and starting to test my DAPP. I am running my own public Open Ethereum node where I send my transactions to. I am NOT mining in this node. From what I can ...
1
vote
0answers
734 views

Claymore miner 15.0 crashes on Ubuntu 20.04. Used to work on Ubuntu 16.04 and Claymore 14.7

Trying to mine with Claymore v15.0 on a Radeon RX 580 GPU on Linux Ubuntu 20.04. I have recently upgraded Ubuntu from 16.04 to 20.04 and had extreme difficulty installing OpenCL. But once having done ...
0
votes
0answers
24 views

Why are these high fee transactions not being mined?

Looking at the state of pending transactions on Etherscan I noticed two transactions that have a gas price much higher than that of the average network fee, yet they are not being mined. The ...
1
vote
0answers
23 views

Are transactions with too high nonce propagated to other nodes from local pool by parity?

I want to understand what happens with tx when I create tx with too high nonce. It's saved in a local queue, but do other nodes get the information about this tx? I don't know, can I remove tx from ...
0
votes
0answers
60 views

geth mining with a single node on a private test network not working on Mac

I am trying to set up a simple test network with Go Ethereum starting with just one node. I tried on two MacBooks (macOS High Sierra 10.13.6), one with 4GB RAM and one with 8GB RAM and on an AWS EC2 ...
0
votes
1answer
54 views

how do miner select which transactions to validate?

i can't understand how the miners choose the transactions for example in this picture, the two first transactions have the same gas price why he didn't pick the second one first? does each miner have ...
0
votes
0answers
25 views

How does Etherscan compute mining times?

Etherscan identifies the miner that mined a block and the corresponding mining time. How does Etherscan compute the mining time? It seems that the mining time of a block is not the difference between ...
1
vote
1answer
72 views

getEthToTokenInputPrice miner hack?

Plan to use getEthToTokenInputPrice in a Dapp. I was going to just use a larger sample size spread out over a large time period to mitigate flash loan price manipulation. Someone said this was ...
0
votes
1answer
27 views

Changing transaction validation process in Ethereum

I am doing a research about Ethereum smart contracts security. For this purpose I want to make some changes in Ethereum miner and transactions validation process (editing miner for automatically ...
0
votes
1answer
27 views

Does receiving a transaction receipt guarantee the transaction will be executed?

As the question says - Does receiving a transaction receipt guarantee the transaction will be executed, assuming the transaction has a reasonable gas price, there are few enough transactions with a ...
1
vote
1answer
64 views

Does Gas Price Affect TX minng priority [ROPSTEN]

Since ether, on the ropsten network, virtually isn't worth anything does the gas price for transactions affect the priority in which they're mined? I'm asking because web3.eth.getGasPrice() (on the ...
0
votes
0answers
22 views

The only way to obtain ether is generate the ether?

Hello i have a question : The only way to get ether is buying to another user has mining the ether ? let me explain my question, i know i can use coinbase or another websites to buy ether, but where ...
2
votes
1answer
68 views

is it possible for a Ethereum miner to select transaction for processing based on from or to address?

It is commonly written everywhere that Ethereum miner selects transaction based on higher gas price first, so I want to know is it possible for minter to select transaction to process based on from/to ...
2
votes
1answer
27 views

How is this account able to consistently get her/his transactions with zero gas price mined?

This account https://etherscan.io/address/0xbe7cd41e060cdb07c548d6c65f1d786e43f1c392 is able to keep sending transactions with zero gas price and they are mined. If I try to do the same, my ...
1
vote
0answers
12 views

Why does proof of work targeted zeros always comes at the start of hash? why is it not in the middle or the end of hash?

My question is why always targeted zeros come at the start of hash of the block? I have never seen more than 2 zeros in middle or somewhere else in the hash of mined block... What's the reason?.... ...
0
votes
0answers
16 views

Miners are not working when running geth command in background in linux

I am running my private blockchain using geth on my ubuntu server with following cmd then its working fine geth --datadir ~/chaindata/ --networkid 45123 --verbosity 3 --rpc --port 30304 --rpcport ...
1
vote
0answers
41 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
39 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
20 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 ...

1
2 3 4 5
21