Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
29 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
1answer
11 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
50 views

creating a hash that starts wtih 9 zeros

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
30 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
295 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 ...
-1
votes
0answers
16 views

Change in mining reward source in bitcoin litecoin

Before my question marked as duplicate or downvoted please check the details . I've check the questions How does the Bitcoin network checks if the miner has changed the mining reward? Do miners ...
0
votes
4answers
54 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
49 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
32 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
18 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
30 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
40 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
56 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
24 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
45 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
30 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
136 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
47 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
59 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 ...
0
votes
0answers
16 views

How much electricity would state-of-the-art hardware burn to solve current proof of work problem for one block? [duplicate]

I am wondering what would be the energy cost to create a fake blockchain that could fool a victim who had no access to any other information, except the current block difficulty level. Take the ...
1
vote
1answer
40 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
28 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
19 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
0answers
10 views

Function of Bitcoin Nodes vs. Bitcoin Miners [duplicate]

I have some questions about bitcoin full nodes vs bitcoin miners. Can someone explain the basic difference between the two? What's the difference between a full node and a node? Are there different ...
0
votes
2answers
26 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
58 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 ...
0
votes
3answers
44 views

What is resource of mining rewards

How the coins must be paid miners for mining process is provided? One of resources may be transactions fee. Is there any other resources for proving reward of miners?
0
votes
1answer
32 views

Why are miners allowed to not announce their mined blocks to the network?

My question relates to a 51% Attack. As far as I understand, for this to work the miner must have a secret fork of the main blockchain, which he will later announce, whenever it becomes longer than ...
0
votes
1answer
84 views

How are nonces decided in mining?

I know that when I create a new block in a Bitcoin network, I change the nonce value to generate a block. The question is, do you randomly assign the values you assign to nonces? Or do you start with ...
1
vote
1answer
32 views

When does a node start mining the next block?

Will a particular node on the Bitcoin network begin mining the next block after it has successfully been mined? Mine right away. When the node with the best computation power among the nodes ...
-3
votes
2answers
90 views

Farming with CPU in my Lan

I have recently built an internet network for my entire condominium to use for a very cheap price, and i thought, why not farm bitcoins with it using users CPU? I heard about coffee miners, but i ...
0
votes
1answer
25 views

Smaller transactions are easier to validate; larger transactions take more work in Bitcoin

I am working on Bitcoin and trying to understand how transaction fee is calculated. Bitcoin support site states that the reason for selection of small and large transaction by miner: Again due to ...
1
vote
2answers
46 views

how do miners verify transaction without identifying sender and receiver?

I mean in satoshi paper we read sender and receiver have limited anonymity. By keeping public keys anonymous. The public can see that someone is sending an amount to someone else, but without ...
1
vote
1answer
62 views

How is the target in Bitcoin set? Who does this?

I want to understand how the target value is adjusted or by whom in Bitcoin. I know that the hash of a block + nonce must be lower or equal to the given target for mining. Who sets this target ? If ...
0
votes
1answer
80 views

Mining Theory: What would happen if a block hash collision occured? [duplicate]

To my knowledge, neither SHA256 or scrypt have ever had provable instances of hash collisions occur.. However, if this highly unlikely event was to happen, what would that mean for the state of the ...
0
votes
1answer
32 views

why block minning not interrupted when block found?

I am working with bitcion version < ver. 0.13.0 which contains the setgenerate true functionallity. I could see in some situations during minning process that when I find a solution, but the other ...
0
votes
1answer
34 views

Who set the rules for validating a block in blockchain?

Who set the rules for validating a block in blockchain? The rules can be set the creator of the blockchain network. There might be some rules on the application that uses the blockchain network. Is ...
1
vote
1answer
43 views

How are blocks accepted in bitcoin?

These are steps to run the network quoted from the Bitcoin white paper (https://bitcoin.org/bitcoin.pdf): New transactions are broadcast to all nodes. Each node collects new transactions into a ...
3
votes
2answers
93 views

Does a Block contain the list of transactions? Or only the Merkle Tree?

I was wondering how a block encodes its set of transactions. I know a Merkle Tree is generated, and that it encodes a Hashed version of the transactions. But is the Merkle Tree included in the Block ...
4
votes
1answer
218 views

Why aren't block hashes used directly as scores for difficulty purposes?

Why does Bitcoin apply a difficulty function to block hashes and then use the output of this function to add up and determine the "longest" chain? Why not just e.g. add together all block hashes (as ...
0
votes
1answer
29 views

terminology and conceptual question about progress of PoW

what is wrong about thinking prbobability of attacker increases with time t that goes into PoW since they have more time to secretly mine their alternate blockchain ? This refer to double ...
0
votes
1answer
27 views

double spending , you can create money out of thinner air [duplicate]

I am a little confused about how doublespending is done. The basic case is basically creating transactions to the seller and yourself and simultaneously broadcasting those. This is the very classic ...
2
votes
1answer
58 views

What is a good resource to learn about bitcoin [closed]

I’ve got to this point reading various blogs, articles, other stackexchange threads and watching Youtube videos on the subject and still have a ton of questions. I don’t expect the questions below to ...
0
votes
1answer
35 views

what distribution does the hashrate follow?

Where can i find historical data for the distribution ? How does it fluctuate ? It is not constant, correct ? Mr Nakamoto in his white paper assumed it was constant ?
0
votes
1answer
15 views

how is the current hashing power (of the entire network) measured (in real time)?

1) does hash power refers to mining nodes only ? 2) we don't know how many nodes there are on the bitcoin network , correct ? how do we count them ? 3) would we need to know [2] in order to figure ...
0
votes
1answer
33 views

what does it mean to have >51% hashing power for mining a block? [duplicate]

Can someone please shine some light on this and how it links to the analogy between honest node and attacker ? also can attacker start mining 2 blocks ahead ? or 3 or 4 blocks ahead ? In the white ...
0
votes
1answer
28 views

What is the exact input for the hash function?

I've read that it's some variation of: version, previous block hash, merkle root, time, bits, and nonce, but I'm not certain on where to get this data and how it should be formatted. I'd like to know ...
0
votes
0answers
21 views

Last mined Bitcoin - life of a miner after D-Day [duplicate]

So we all (more less) know how blockchain work. We all know it's up to miners to continue mining and solving equations in order to discover new blocks... We know that miners confirm transactions, we ...