What issues do BTC miners tackle?

2 replies 478 views
markchainMember
Posts: 30 · Reputation: 198
#1Nov 13, 2024, 06:39 PM
I was chatting with a buddy of mine who’s all about those shitcoins. We got into a debate about Bitcoin mining, and he threw me this question: what problems do BTC miners actually solve?
4 Reply Quote Share
darkguruHero Member
Posts: 849 · Reputation: 4147
#2Nov 13, 2024, 08:06 PM
If you mean 'what does BTC miner hardware do?", they take data from a block header and apply pseudo-random numbers to the sha256 algo to try to get a result that exceeds the current diff. When they succeed, they signal Block Found confirming all the Tx's in the block and it is added to the chain - but it is NOT fully confirmed yet. From https://kano.is/index.php?k=mining That result is broadcast to the network and most of the time other miners then use that block header as new work to start building upon. Only once at least 1 block *after it* using that new work is found can that previous block start to be considered as 'confirmed' as it could still be pushed out by a chain reorganization which is caused by a different block being built upon faster. 2 competing blocks is called an Orphan Race. Typically a block must be confirmed at least 3x before it is considered safely confirmed because at that point is is very very unlikely that a different block would cause a reorg. The more blocks that are built on it, the safer it is. After 101 confirmations only then can the block be called fully confirmed. Bitcoin miners are not 'solving complex equations' as many folks wrongly insist on saying/quoting. It is a very simple and straightforward operation. A deeper dive into the mechanics is at https://kano.is/index.php?k=minedet
0 Reply Quote Share
byte2019Senior Member
Posts: 270 · Reputation: 1836
#3Nov 13, 2024, 09:15 PM
They enforce the proper order of transactions. Without mining, you can have a valid chain, where Alice sent coins to Bob, and another valid chain, where the same coins were sent to Charlie. If you have no mining, then you have two (or more) valid chains, with valid signatures, and you don't know, which history is the correct one.
1 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics