Stack Exchange Network

Stack Exchange network consists of 175 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-theory]

This tag should be used for questions about the function, the reason for, and the underlying concepts of mining.

0
votes
1answer
24 views

Would it be possible to store hashes generated in a file, then brush through them to find out if they are under the target?

I have been wondering if it would be possible to generate hashes, store them in a file, then use them as hashes when mining. When you would mine, you would not generate the hashes, but instead, just ...
1
vote
2answers
55 views

Can the fees in a coinbase be used to launder Bitcoins?

Generally Bitcoins coming from a coinbase are considered clean as they are newly generated. However while answering this question I realized that mining pools could offer to launder Bitcoins in the ...
0
votes
0answers
25 views

Mining for a few months; Any tips on things that could improve effectiveness? [closed]

I've been mining BTC & LTC for a few months now and I realised how hard it is to turn profitable with all the competition. I wanted to know from very experienced miners any ideas on what I could ...
0
votes
0answers
31 views

Locating Bitcoin mining activity

There is any systematic way to locate Bitcoin mining activity (either block creation or node activity). I stumble upon with Bitnodes code which implements a recursive search using some nodes as "seed",...
0
votes
1answer
27 views

If miners are creating their own mining algorithms or using something standard

From this: the arrival of a new block has special significance for a mining node. The competition among miners effectively ends with the propagation of a new block that acts as an announcement of a ...
3
votes
1answer
42 views

Why every node needs to validate a transaction in Bitcoin

I am just understanding the Bitcoin network, and now understand that every block and every transaction is propagated to every node in the Bitcoin network (not sure yet the difference between full vs. ...
0
votes
1answer
38 views

If all Proof of … systems use mining

I understand how Proof of Work (PoW) works now, and am beginning to look at different Proof of ... systems like these: Proof of Stake Proof of Ownership Proof of Existence Proof of Space From what I ...
1
vote
1answer
69 views

Can the Bitcoin network boycott a misbehaving miner?

If a miner misbehaves, can other miners “boycott” him/her by refusing to build on top of his/her blocks in the future? Will such a “boycott” keep the miners from behaving badly?
0
votes
2answers
38 views

Is it possible to generate(mine) a block with specific transaction via bitcoin-cli on regtest?

I want to generate a block with specific transaction via bitcoin-cli on regtest. The "generate" command does not have the option. It collects transactions in mempool by the default rule. I guess I ...
2
votes
1answer
40 views

How can block time and block size be fixed when transaction volume is constantly increasing?

As I understand it the network rejects blocks over 1MB, and block hash difficulty is set after each block is created as to keep the block time close to 10min. But if people are constantly joining ...
0
votes
1answer
40 views

what happens if a miner include a transaction already exists in another block?

Suppose that I have a Transaction A. (txA) I send my txA to bitcoin network and full node validate it and put in Mempool and starts to broadcasting it. A Miner A connect to a fullnode to create a ...
1
vote
2answers
38 views

What is entropy mean in this context?

"The Bitcoin nonce forms part of the block header, which is used by miners to provide entropy as part of the Proof of Work process, to try and find a hash meeting the difficulty requirement." Quote ...
1
vote
1answer
23 views

How has the hash rate for bitcoin continued to increase despite price drops and miners dropping out?

Despite price dropping in 2018, the hash rate for bitcoin tripled from around 15 EH/s to 45 EH/s. Why is this the case? I am aware that the network difficulty adjusts meaning that if miners drop off, ...
0
votes
1answer
34 views

What are the steps to overcome a state in which miners couldn't mine blocks?

The difficulty is set according to the total hash rate of the network. Is there a possibility in which miners just can't validate blocks (will not find hash that will satisfy the POW)? I understand ...
0
votes
1answer
30 views

Does Merkle Tree root hash changed when miner node not found POW nonce?

In bitcoin PoW process,if miner does not found the nonce, I understand that he must to increase nonce and rehash the entire block header again to mine the new block. so if nonce defined 4byte[between ...
0
votes
2answers
18 views

Can we get a fixed rate of kWH to USD through bitcoin? [closed]

Assuming the energy to bitcoin rate of your choosing, what is the cost of one kiloWatt Hour, in USD?
0
votes
1answer
34 views

Do you start from the LAST NONCE to find the correct HASH to solve Hash Puzzle in Bitcoin Mining?

I'm reading the example of the simple proof of work algorithm from here: https://www.oreilly.com/library/view/mastering-bitcoin/9781491902639/ch08.html#pow_example_outputs In that example, the nonce ...
0
votes
0answers
26 views

How does work the next block election in blockchain? [duplicate]

In the mining process each miner will create a block with the transactions found in the pool and will start the calculation of nonce, the miner with greater hash power will finish the job first and ...
1
vote
1answer
45 views

How do I know that the majority of bitcoin miners are not XYZ government's facilities? [closed]

Even if "Satoshi Nakamoto" is/was actually a real person, how can I be sure that XYZ government (XYZ can be US, or China, or ...) does not have now (or will not have in the future) 51% of the hashing ...
1
vote
2answers
28 views

Is the price of BTC transactions driven down by the influx of miners?

I'm wondering why Bitcoin transaction speed doesn't increase (and cost decrease) due to more people becoming miners all the time. Is it because the number of transactions is increasing even faster?
1
vote
2answers
241 views

What is the counterpart of mining when using blockchain for traceability?

Our project is to create a blockchain so that a customer can traceback any registered good (such as food or drugs). The idea is to replace money with product IDs. (ERC721 from Ethereum does not do the ...
1
vote
3answers
57 views

Reason for Mininig a block without transaction

I came to know that there are people who mine a new block without any transaction. I understand that this is just to get the block reward. Reference https://www.blockchain.com/btc/block/...
1
vote
2answers
59 views

Mining: what is the lowest possible target? Could it be a block hash of all zeros?

I had a basic question about Bitcoin mining. I understand that as the bitcoin difficulty adjustment becomes harder the hash output will require more 0s in the beginning of the hash. Is it ...
0
votes
1answer
47 views

Do you really need more than 50% mining power in order to attack Bitcoin blockchain?

My question is about concept, so code is not related, however, do you really need 51% of the mining power in order to attack/replace the real bitcoin Blockchain? For example, a blockchain has a ...
0
votes
3answers
42 views

How many nodes need to validate a newly created block?

It must be impossible for a newly created block to be propagated and validated by every node in bitcoin network considering offline nodes and the ones with poor Internet connectivity. How many ...
1
vote
1answer
44 views

Do pools distribute “jobs” to miners based on “failed” solutions which have already been submitted?

My question is this: How exactly does the stratum protocol distribute "work" to miners? More specifically, since mining can be compared (in many regards) to "brute forcing" a cryptographic hash (i.e. ...
0
votes
3answers
35 views

Is this article wrong/scammy? Is it possible that miner earn more by mining several different coins at once through minergate?

https://ambcrypto.com/mining-in-the-bear-market-made-easy-fast-and-cheap-with-minergate/ This one claims they can mine more efficiently by mining several coins at once. I have a hard time believing ...
1
vote
1answer
119 views

creating a hash that starts wtih 9 zeros [closed]

I am working on a school problem and want to generate a hash starting with 9 zeros, it is assumed to be the first block with only your name and the previous hash is 64 zeros. Can anybody help me or ...
3
votes
1answer
35 views

What incentive do miners have to respect the Replace-By-Fee flag?

Couldn't a miner treat all transactions in their mempool as if they had Replace-By-Fee enabled? After all they could always claim that they hadn't seen the original transaction.
4
votes
1answer
301 views

Why would running a light node riskier and subject to more frauds than a full node? We don't NEED a full ledger, do we?

I've been reading on light node and many have pointed out that the light node doesn't have the full blockchain and is riskier because they can't verify the transactions fully. First, we can verify ...
0
votes
4answers
67 views

Why does a malicious miner need more hashing power than the rest of the network combined? [duplicate]

I don’t quite understand why a malicious miner needs more hashing power than the rest of the network combined. When miners are solving a hash puzzle, aren’t they solving the puzzle individually? If ...
0
votes
1answer
59 views

How can Bitcoin Cash be blocks ahead of Bitcoin SV

After the Bitcoin Cash & Bitcoin SV fork, Bitcoin Cash is happy to be "ahead" of Bitcoin SV, but how is this possible? aren't blocks supposed to be mined constantly every 10 min?
0
votes
1answer
50 views

Is it possible to take advantage of FP16 for mining BTC or ALTs?

I know mining uses mostly Integers, not Floating Point Ops... but still, is it possible to use Graphics Cards that support native 16bit Math for mining? Will it improve the performance in specific ...
1
vote
2answers
23 views

What happens when the verification of a manipulated transaction fail?

If a malicious miner changes the amount in a given transaction, the hash value of the block changes. Thus, he has to find the required hash value again in that block. Let's say he successfully found ...
0
votes
1answer
46 views

Someone want to mine with my bitcoin (www.elitecoinmine.com) Promises?

I just signed up to ask this Question. Shoort story about me: I don't know much about crypto currency, just spend 50Eur once to buy some Dash. Anyway, there's a guy writing me via my instagram and ...
0
votes
1answer
55 views

Mining with CPU on difficulty 1

I have been playing around cloning Peercoin client. I have found the genesis block for main net, but now I'm trying to mine the block 1 with difficulty set on 1. I connected 4 machines all doing about ...
1
vote
2answers
65 views

Do miners become temporary dictators of blocks they mined?

This is something I've read here: https://blockgeeks.com/guides/bitcoin-forks-guide/ "When a group of miners discovers and mine a new block, they become temporary dictators of that block" Can anyone ...
0
votes
1answer
25 views

Transaction is not Picked

I am new to block chain technology. I am struggling to understand below concepts: What if my transaction is not picked by the miners and what is the criteria for miners to pick? How can I rely on ...
0
votes
2answers
63 views

Ttransaction validation in the bitcoin blockchain

I am confused. What is exactly a validation of transaction in the bitcoin block chain? Please correct me if I am wrong. I know we need 6 minner to validate our transaction and those 6 minner check ...
0
votes
1answer
40 views

Bitcoin blockchain minner

Q. Is it correct to state that a Bitcoin miner has only two jobs: validating transactions creating a block to add into the blockchain
3
votes
1answer
148 views

Bitcoin is attacked by China miners by screwing with the network, what will Bitcoin do?

There was a report recently (https://arxiv.org/pdf/1810.02466.pdf) that stated that China controls 74% of the hashing power. They can choose to collude and attack the network by either doing a 51% ...
2
votes
0answers
25 views

What are some proposed solutions when Bitcoin block rewards drop below 1 BTC? [duplicate]

Many proponents state that Bitcoin will not work in the long term when block rewards drop below 1 BTC or even zero and have mining rely on just transaction fees. I never did the math calculations ...
1
vote
1answer
52 views

Where in the source code are transaction validation checks implemented?

I understand that consensus (mining) and transaction validation are different concepts. Correct me if I'm wrong, but I believe each full node validates transactions and puts the valid ones into its ...
1
vote
0answers
82 views

Estimated number of hashes

This is not a duplicate of previous, similar questions I've read on StackExchange, since none of those questions, nor the answers, go into the difficulty theory, as espoused on the Bitcoin Wiki. ...
1
vote
0answers
22 views

Energy to confirm one block with state-of-the-art hardware at current difficulty level [duplicate]

An earlier answer claims it would burn around $2M worth of electricity to confirm one block using an ordinary CPU. See: Energy to confirm one block? Can anyone estimate what this figure would be for ...
1
vote
1answer
63 views

How nonce and diffuculty work?

I struggle to understand one concept behind mining. It would be really great if someone could clarify some things. This is an extract from blockgeeks: From a technical point of view, mining process ...
0
votes
1answer
30 views

Have all hashes of unlocked difficulty levels of cryptocurrencies been mined?

I'm wondering if all the hashes of a previously unlocked difficulty level of a cryptocurrency, such as 0000000000000000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx BTC , have been completely ...
0
votes
1answer
21 views

Using mining pools, how do miners switch what coin to mine so quickly?

Using mining pools, how do miners switch what coin to mine so quickly? Can someone explain? Also do miners store a copy of the blockchain locally?
0
votes
2answers
27 views

Why is mining an important part of a digital coin? [duplicate]

I have been playing with the blockchain lately and studying how Bitcoin works. I was wondering though, what is the functional reason for the mining process? I understand that you get a reward for ...
0
votes
2answers
63 views

What is the reason to pay miners “monetary rewards” for mining process?

Is it correct to say that: In Bitcoin, it is crucial to incentivize miners by monetary reward, because mining process has significant monetary cost (energy/electricity cost). ? otherwise, mining ...