Author

Topic: What is Candidate Block? (Read 190 times)

legendary
Activity: 1583
Merit: 1276
Heisenberg Design Services
May 06, 2019, 11:58:22 AM
#4
"Nodes (mining nodes) select transactions from their memory pool to form their own candidate blocks."
Read this : Number of connections. Here I have mentioned that each node has their own mempool and they are being broadcasted.

That mean if I am a miner can I add my transaction to candidate block?
Yes, you can do that. But if your node at first relays invalid transaction and they are being found by the other nodes, your node will receive a ban score. If the ban score raises over time, no one would connect to your node. Similar thing happens with mining a block too. If you happen to include an invalid transaction of your's in the candidate block, mine and broadcast them to the network, other nodes will reject the block and your node would get blacklisted.

What is the main use if Candidate block?
Nothing much. Every block created is a candidate block before they get added to the longest chain. A miner first constructs the candidate block, mines them and finds the correct hash which must be smaller than the current target. If you successfully find a nounce after n number of attempts, you broadcast them to the network and they verify them and they get added to the chain if they are valid.

This next block to be added called Candidate Block? But, I had read that the next block to be added is called winning block.
No, the block which will be added to the longest chain is called winning block. Candidate block is the one which the miner constructs and mines them. If they are accepted by the network, the candidate block becomes the winning block.

Is there any article(in simple language not much technical) where I can read more about this?
Along with o_e_l_e_o's link, try reading Chapter 8. Mining and Consensus - Mastering Bitcoin and search for candidate block.
legendary
Activity: 2324
Merit: 6006
bitcoindata.science
May 06, 2019, 10:47:21 AM
#3
What is the main use if Candidate block?
Every miner will produce their own candidate block, and then attempt to mine it by calculating the block hash. The miner who is successful first will broadcast their candidate block to the blockchain.

This block hash calculation is the Proof of Work.

Statistically, according to the hashing power (hash rate) of the network, miners will find the Nonce to solve the Proof of Work algorithm in 10 minutes. It´s a brute force attempt, where miners will try millions of hashs per minute.

When a miner solves the PoW algorithm a new block is created and he is awarded with 12,5 BTC.

For this reward, miners start looking for this hash immediately after the previous block is done (even if the mempool is empty), so they do not lose time. The candidate block is a block with the mempool transactions of a miner.

I made a small summary on proof of work here, for more details.
https://bitcointalksearch.org/topic/summary-of-proof-of-work-3317586
legendary
Activity: 2268
Merit: 18588
May 06, 2019, 09:20:08 AM
#2
That mean if I am a miner can I add my transaction to candidate block?
Yes. If you are a miner, you can preferentially choose your own transactions to be added to your candidate block.

What is the main use if Candidate block?
Every miner will produce their own candidate block, and then attempt to mine it by calculating the block hash. The miner who is successful first will broadcast their candidate block to the blockchain.

This next block to be added called Candidate Block?
Once a candidate block has been verified and added to the blockchain, it is just known as a block. All other candidate blocks will then be invalid, and the process will start again with miners generating new candidate blocks and attempting to find a valid hash.

Is there any article where I can read more about this?
Try here: https://www.binance.vision/glossary/candidate-block
jr. member
Activity: 56
Merit: 1
May 06, 2019, 08:59:37 AM
#1
Miners add Block to Block chain right?
I read this link https://learnmeabitcoin.com/glossary/candidate-block and it is mentioned "Nodes (mining nodes) select transactions from their memory pool to form their own candidate blocks."

That mean if I am a miner can I add my transaction to candidate block?
What is the main use if Candidate block?
This next block to be added called Candidate Block? But, I had read that the next block to be added is called winning block.
Is there any article(in simple language not much technical) where I can read more about this?
Can someone please explain me more on this?

Was reading about mining and got struck at this word. Please help.
Jump to: