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

Why does awaiting a transaction receipt hang when auto-mining is disabled in Hardhat?

I am working on a Hardhat project and need to mine multiple transactions in the same block for testing. To achieve this, I disabled auto-mining and interval mining using the following code: await ...
MShakeG's user avatar
  • 1,099
1 vote
1 answer
13 views

Do Miners/validators get rewarded for miming/validating blocks on Testnets

We know in in Bitcoin ,the miners gets an economic incentive i.e rewards for mining and verifying the transaction to the mainnet. But in case of testnet, there is no real rewards the miners or ...
Code Blocker's user avatar
0 votes
1 answer
20 views

Batch NFT mining

I am trying to create a project where users can specify a total supply on a minted NFT, will the NFT all have the same address but with different tokenId's or they will have different addresses
Santos's user avatar
  • 17
0 votes
2 answers
31 views

Hey is that ETH.Capitalseo.com is part of Stalking process of ETH organizations

I been investing Capitalseo.com where they say it's part of ETH organization. Please tell me they are real or scams. I invested so far 118k NZ dollar and they asking me more deposit into my wallet for ...
Honey's user avatar
  • 1
2 votes
0 answers
23 views

How can I determine which node mined a specific block in Ethereum?

I've amassed a collection of detailed information about various Ethereum nodes, as shown in the example below. Given this data and a particular block (either by its number or hash), how can I identify ...
learner L's user avatar
0 votes
1 answer
33 views

Is the ether rewarded specified by the Ethereum client?

So, the amount of Ether or Wei a validator or miner (ETH1.0) is rewarded, is it specified on the Ethereum client you are using?
AndyCrypto's user avatar
1 vote
1 answer
30 views

How much hashrate is rquired to generate 1 ETH in two days

I want to make my own rig and want to mine 1 ETH in two days. But I need precise hash rate requirements, I asked Google Bard it gives different hash rates on every prompt. ChatGPT is not giving any ...
Junaid Khalid's user avatar
0 votes
0 answers
8 views

How can I determine the rule TXs are sorted in a block?

Let's say I have a list of TXs in a block https://etherscan.io/txs?block=17251778 What is the logic TXs are sorted? I have read some posts but not sure if those are relevant to PoS and some latest ...
Ioseb Khutsishvili's user avatar
0 votes
0 answers
10 views

Active miners present in a blockchain network

What are the various approaches/mechanisms used in different Blockchain networks to find the number of active miners present in the network.
erlich bachman's user avatar
0 votes
0 answers
12 views

Freezing algorithm in a blockchain network

Is there any algorithm or mechanism in any blockchain network to automatically freeze a miner for a certain period of time upon certain conditions? So that the freezed miner can no longer participate ...
erlich bachman's user avatar
1 vote
0 answers
68 views

lolminer stops working on a private network at epoch 13

We are using lolminer (v1.67) for GPU mining on our private POW network. The miner was working fine up until we hit epoch 13. When we hit epoch 13, lolminer stopped working on all our NVIDIA GPUs with ...
pdmoerman's user avatar
  • 131
1 vote
0 answers
46 views

How to create api to start mining in private ethereum blockchain?

app.post('/start-mining', (req, res) => { miner.start(1); res.send('Mining started'); }); TypeError: Cannot read properties of undefined (reading 'start')
hassen's user avatar
  • 11
2 votes
0 answers
33 views

Calculating difficulty and target with 256 bits

Why do the yellow paper and Ethereum implementations use 2**256 instead of 2**256 - 1 when calculating hash target from difficulty? The Ethereum Yellow Paper uses 2**256 / difficulty to define the ...
hughy's user avatar
  • 21
0 votes
0 answers
61 views

Why do nodes need to execute smart contract code?

I'm confused why it's required for nodes to validate transactions by executing smart contract code before putting those transactions in a block. Wouldn't it be enough for the Ethereum network to just ...
user119144's user avatar
0 votes
0 answers
20 views

On private PoA network, stopping miner breaks transaction propagation/mining

Trying to create a private PoA network. I am using docker but pretty sure the same will happen without it. The main idea is to have a single miner only. The following sequence of actions will make ...
Tsirkin Evgeny's user avatar
1 vote
1 answer
71 views

Cannot get uncle block in my code but it exists in Etherscan

I'm following this very cool article on how to calculate rewards for a ETH miner and I'm stuck on the uncle rewards. In the example they calculate the rewards on the ETH block with id 15349734, click ...
Jacob's user avatar
  • 155
1 vote
1 answer
27 views

What is the recommended replacement of the js option of the geth?

We were using the js together with a --preload to run geth in a private network using docker. The main use-case was to mine blocks only when a transaction exists (Similar to this How to make miner to ...
Tsirkin Evgeny's user avatar
0 votes
1 answer
69 views

Does a TX hash get produced *before* it's been confirmed in 1 block?

I has code which sends ETH and ERC-20 and of which I want to make sense: let tx1 = await transferETH(amount, privateKey); console.log(`${tx1.hash}`); const receipt1 = await tx1.wait(); console.log(`...
Camila326's user avatar
1 vote
0 answers
41 views

Transactions not being mined on Quorum QBFT Chain

I am deploying the smart contract on Quorum QBFT Chain using Nethereum with running 5 Nodes,but transaction being not mined yet stucking in mining. Please check and help me on it ... I am adding my ...
Abhijit Birajdar's user avatar
0 votes
1 answer
32 views

If I push 2 transaction into 1 block, what transaction executed first?

So the question is: Assume that I have specialIndex = 0. Then I push 2 transactions in a single block: Change specialIndex = 5. is some logic that if specialIndex = 0, you got 500B$. So I really ...
rived's user avatar
  • 160
0 votes
1 answer
73 views

Can't make it compatible with 9 decimals tokens (newbie question)

I'm trying to fork a miner contract. Everything works fine with 18 decimals tokens, but I just can't make it work with 9 decimals tokens (which is the main target of what I'm trying to do). The ...
WannabeDev's user avatar
0 votes
1 answer
2k views

Information about Apply mining pool rewards ERC-20 Smart Contract [closed]

I was contacted from a girl of Singapore,she told me to join a website,with 1k of buying USDT erc-20,every day I withdraw 30 dollar,but today I accept this partecipation for the claim the reward but ...
Rey's user avatar
  • 1
0 votes
1 answer
24 views

Is it possible to earn "income" by doing work on some aspect of Ethereum beyond running a node?

I am very new to cryptocurrency and blockchain. I know people try to make money by "mining" / running nodes on a given blockchain. There is some kind of incentive to essentially expend a lot ...
hmltn's user avatar
  • 131
0 votes
1 answer
67 views

How does Ethereum's proof-of-stake consensus algorithm work?

Ethereum uses a proof-of-stake consensus algorithm to ensure the integrity and security of its blockchain. Can someone explain in detail how this algorithm works and how it helps to maintain the ...
Superluminal's user avatar
0 votes
2 answers
33 views

Is it technically possible to mine specific transactions? Like ones made inside a club

playing with this thought experiment. Would it be possible that miners get to choose the specific transactions they would want to mine before another miner? Scenario: You create an NFT marketplace ...
Mariano Maisterrena's user avatar
1 vote
1 answer
323 views

Minting 3D files onto opensea

I am new and I am building an NFT collection on Open Sea for my personal project. I have watched a couple of videos from Alchemy, the ERC721 smart contract video outlined how to upload and host files ...
TheBaby's user avatar
  • 11
0 votes
0 answers
21 views

How to calculate mining reward for RavenCoin - KAWPOW - X16R?

How can I calculate mining reward for RavenCoin - KAWPOW - X16R. I mean the same example as for ETH at this [link] How can I calculate mining rewards from the hashrate? Will the reward calculation be ...
jakab003's user avatar
1 vote
1 answer
581 views

Hey! My USDT was withdrawn from my Trust Wallet without my authorizing it. I did a test on Crypto.com Wallet, same thing my USDT was withdrawn

Looks like another contract has appeared. Transaction Hash: https://bscscan.com/tx/0x5ca358080d6c762174a296998efef393d81fbcfa7f4421febe0cac3e197483df
Danilo Lima's user avatar
0 votes
0 answers
18 views

How does work gets shared between multiple GPU when commit new mining work in comparison of multiple rigs in local network each running multiple gpu

Who makes sure same work is not being done by gpus in same machine with multiple gpus and different machines connected to geth server, Miner or Geth node or is it technology?
Alex Bay's user avatar
1 vote
1 answer
89 views

how tornado cash commitment is safe?

When you deposit funds to tornado cash, you get a secret which is called "commitment". When you withdraw funds, you pass this secret, zk-Stark algorithm can detect which deposit belongs to ...
Yilmaz's user avatar
  • 1,492
1 vote
1 answer
359 views

What is the difference between Miner Tip and maxPriorityFeePerGas

Yesterday I noticed 2 arbitrage transactions on Uniswap V3 in the same block and pools: 1)https://etherscan.io/tx/0x1933479aad430fc3b0acfb9394d138e62d19d1a15437a52a807ca4af9bad7591 2)https://etherscan....
Viktor Cortez's user avatar
0 votes
1 answer
55 views

What is `recommit` for miner when PoW was working?

I see a config named recommit in go-ethereum source code, the miner module, what's it for? When some node is mining, maybe 10s-15s a new block may be sealed, the default recommit internal is 3s, it ...
iMom0's user avatar
  • 103
2 votes
1 answer
109 views

Coinbase transaction on ethereum

So, I learned that in bitcoin, a coinbase transaction is the first transaction that gets created in the block and it is used to give block rewards to the miner that mined the block. I was curious if ...
byung's user avatar
  • 23
0 votes
0 answers
229 views

Can't mine transaction in a private Ethereum network by Geth!

There are two separated PCs on a private network and There is a Geth client on each PC, One for sending transactions (I call it Sender Geth), The other is for mining (I call it Miner Geth). The both ...
Alireza's user avatar
  • 533
0 votes
1 answer
10 views

Can we get an estimate of how many ETH ASIC's were there before they all migrated to Ethereum classic?

Many of the ETH asic's have migrated to ETC, but how many estimated machines were produced? If we took the hash rate of ETH before the merge and compared it to ETC before the merge and get the ...
Patoshi パトシ's user avatar
0 votes
0 answers
19 views

How the Gas Used be so close to the Gas Limit in some blocks

Why do some blocks can achieve 100% GAS target like this. And how do miners to select transaction so that the Gas Used is so close to the Gas limit without exceeding it.
Ryan's user avatar
  • 1
5 votes
2 answers
375 views

Finalized Empty blocks with 0 transactions and 0 block reward

This block was finalized 21 mins ago from now and there is one exactly like this waiting to get finalized Here is the link of that. Both of them had 0 transaction, 0 block reward, 0 extra data, 0 gas ...
R.V's user avatar
  • 96
2 votes
1 answer
94 views

Broadcasting a transaction to be included in the next block

Since the merge we have predictable block times of around 12-13 seconds. I want to broadcast my transaction in a way that it is highly likely to get included in the next mined block, e.g. the block ...
Plus Ultra's user avatar
1 vote
1 answer
277 views

Who and where do the ETH gas fees goes to on L2 layers like Arbitrum and what is required to be a Arbitrum validator?

Arbitrum gas fees are paid in ETH, but these fees do not goto ETH miners/stakers. Who do they go to exactly? If there are L2 arbitrum validators, what are the requirements to become one?
Patoshi パトシ's user avatar
1 vote
1 answer
32 views

Why isn’t there more fluctuation in the gas used per block?

If you look at gas used per block, since EIP-1559 it has been almost exactly at targetGas for every block https://www.etherchain.org/charts/blockGasUsage Do miners have a disincentive to make blocks ...
Daniel Coffman's user avatar
1 vote
0 answers
30 views

Fork of geth - activate mining ONLY when there's transaction(s) that've come from a certain wallet/address. How?

This may be a fork of geth, or any other node client, or a tweak in its functionality: I want to be able to activate mining process only when, and if, there have come transaction(s) from a certain ...
Kum's user avatar
  • 75
5 votes
4 answers
2k views

Is it safe to create a password in a smart contract?

I am trying to create a password in the constructor when deploying a smart contract. // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract passwordContract { bytes32 password; address ...
imelon2's user avatar
  • 425
1 vote
1 answer
23 views

Is the transaction fee paid directly to the miner, or does the miner have to win a block in order to receive it?

I have studied blockchain architecture, and I know that my transaction will be broadcast to all nodes, which means more than 1 miner will execute my transaction in different nodes. So do they have to ...
Thuan Pham's user avatar
2 votes
2 answers
336 views

What would block.coinbase refer to after ethereum transition to POS?

What would be solidity's block.coinbase usage (and what does it refer to) after Ethereum's transition to proof of stake? (formerly known as eth 2.0)
Ehsan Khodarahmi's user avatar
0 votes
1 answer
13 views

Do you need Ethereum specific-software to mine ether?

My question relates to the current Ethereum proof-of-work chain. I am just wondering if one needs specialized Ethereum software to mine ether. Or maybe you can just connect to a pool that runs the ...
StatsScared's user avatar
1 vote
2 answers
1k views

EIP1559. Transaction type 0 and type 2

After the activation of the London hard fork, EIP1559 proposed a new type of transaction - type 2. Such transactions have a base fee that will be burned, and maxPriorityFeePerGas, which incentivizes ...
Evgenii_BO's user avatar
0 votes
1 answer
17 views

Term of winning mining [duplicate]

I'm new to the ethereum network and read official documents on the site(https://ethereum.org/). But,I could't find out the term of of winnning mining like getting leading 4-zero or 6-zero hash. Before ...
Naki's user avatar
  • 1
0 votes
1 answer
13 views

How can a miner pack more transaction in one block?

Other than lowering the gas price and increase the gas limit, is there any simple configuration change to ensure the miner increase as many transactions as possible until the block is almost full?
hwuukki's user avatar
0 votes
1 answer
12 views

Does different hardware spec affect the number of transactions a miner included in a block?

I am a newbie so any insight would be appreciated! The number of transactions included in a block could be determined by a number of factors: The gas price set by the miner who validated that block. ...
hwuukki's user avatar
0 votes
1 answer
835 views

Geth error: flag provided but not defined

Geth version Geth Version: 1.10.20-stable Git Commit: 8f2416a89a3def6ec2c749d5afafbf2c9a18e3c8 Architecture: amd64 Go Version: go1.18.1 Operating System: linux GOPATH= GOROOT=go Error: flag ...
Mandy Lores's user avatar

1
2 3 4 5
23