Bitcoin Forum
May 07, 2024, 10:46:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What I got wrong about Bitcoin?  (Read 1037 times)
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
December 16, 2014, 01:57:27 PM
 #1

Please correct me where due.

1, The Double Spending problem:
This is why Bitcoin is being mined. Mining in fact is only transaction validation, for which you receive a reward. Mining is difficult so that there is ideally only one computer at a time which will manage to solve the current mathematic problem by mining, verify the transaction and receive the reward.

2, The Byzantine Generals problem:
The problem of someone hacking Bitcoin is solved by everyone having the blockchain. If everyone has the ledger of all transactions, which are linked though verifiable hashes, so it is impossible to inject your own mojo into the blockchain.

3, 51% attack:
If someone manages to get more than 50% of the network power by mining, they will be able to prolong transaction validation through refusal of transaction verification of the minority by building the blockchain fork faster through more power and own transactions.
-> I would need some explanation here, why do not transactions of the minority get validated? They are not passed to the 51% owner?

1715078813
Hero Member
*
Offline Offline

Posts: 1715078813

View Profile Personal Message (Offline)

Ignore
1715078813
Reply with quote  #2

1715078813
Report to moderator
1715078813
Hero Member
*
Offline Offline

Posts: 1715078813

View Profile Personal Message (Offline)

Ignore
1715078813
Reply with quote  #2

1715078813
Report to moderator
1715078813
Hero Member
*
Offline Offline

Posts: 1715078813

View Profile Personal Message (Offline)

Ignore
1715078813
Reply with quote  #2

1715078813
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
turvarya
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
December 16, 2014, 02:08:03 PM
 #2

-> I would need some explanation here, why do not transactions of the minority get validated? They are not passed to the 51% owner?
The 51% owner has to knowingly refuse to take a transaction into his block. He can refuse whatever he wants, as long as he found the block. Problem is when somebody else finds a block and put the transaction into it, which is a 49:51 chance.

https://forum.bitcoin.com/
New censorship-free forum by Roger Ver. Try it out.
Aswan
Legendary
*
Offline Offline

Activity: 1734
Merit: 1015



View Profile
December 16, 2014, 02:08:27 PM
 #3


3, 51% attack:
If someone manages to get more than 50% of the network power by mining, they will be able to prolong transaction validation through refusal of transaction verification of the minority by building the blockchain fork faster through more power and own transactions.
-> I would need some explanation here, why do not transactions of the minority get validated? They are not passed to the 51% owner?

Because it's up to a miner if he includes a transaction in his block or not. A miner can just not process the transaction while ignoring all other blocks.
turvarya
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
December 16, 2014, 02:16:13 PM
 #4

I did a small calculation with excel.
So, if someone has 51% of the network hash that means, that there is a 51% to find 1 block, 26,01% to find 2 in a row and so on.

1   51
2   26,01
3   13,2651
4   6,765201
5   3,45025251
6   1,75962878
7   0,897410678
8   0,457679446
9   0,233416517
10   0,119042424
11   0,060711636
12   0,030962934
13   0,015791097
14   0,008053459


So there is not really a good change, that you can withhold a transaction for long with "just" 51 %

https://forum.bitcoin.com/
New censorship-free forum by Roger Ver. Try it out.
hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
December 16, 2014, 02:27:31 PM
 #5

You don't need to find them in a row, just faster than other people. They can add transactions but you can remove them by making their chain orphaned.

OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1003



View Profile
December 16, 2014, 02:28:16 PM
 #6

I think the 51% problem is stated inaccurately here.
The actual problem is that with 51% hashing power, a malicious miner can refuse to mine on any chain which includes blocks mined by other miners, and can get away with it (i.e. his chain will be considered the real blockchain after some time).

Example:
(blocks mined by miner A, B or C are suffixed with a, b or c)

Miner A has more than 50% of hashpower.
All miners start with block 100.
- Miner A mines block 101a, broadcasts it, every other miner switches to 101a as the new head of the block chain.
- Miner B mines block 102b (based on 101a), he and miner C switch to 102b as the new head of block chain, A ignores it and stays with 101a.
- Miner C mines block 103c (based on 102b), which is used as the new blockchain head by B and C. A still stays with 101a.
- Miner A finally manages to mine block 102a (based on 101a), broadcasts it. Other miners ignore it since this chain is shorter than the 103c chain.
- Miner A manages to mine block 103a (based on 102a) before B or C mine a block, and broadcasts it. Depending on the calculations of the amount of work that went into each block, this may be accepted as the new head of the block chain, orphaning both 102b and 103c.
- If it does not happen now, it will happen eventually - miner A has the majority of hashing power and will eventually overtake any competing blockchain version with his own version.

(Hope I presented thet 51% problem correctly...)

Onkel Paul

HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
December 16, 2014, 02:52:21 PM
 #7

So in case of a 51% attack, there will be Total Chaos. People sending BTC, receiving BTC and then travelling back in time, because they do not have enough network power to prove that their version of the block chain is the correct one.

turvarya
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
December 16, 2014, 02:57:14 PM
 #8

I think the 51% problem is stated inaccurately here.
The actual problem is that with 51% hashing power, a malicious miner can refuse to mine on any chain which includes blocks mined by other miners, and can get away with it (i.e. his chain will be considered the real blockchain after some time).

Example:
(blocks mined by miner A, B or C are suffixed with a, b or c)

Miner A has more than 50% of hashpower.
All miners start with block 100.
- Miner A mines block 101a, broadcasts it, every other miner switches to 101a as the new head of the block chain.
- Miner B mines block 102b (based on 101a), he and miner C switch to 102b as the new head of block chain, A ignores it and stays with 101a.
- Miner C mines block 103c (based on 102b), which is used as the new blockchain head by B and C. A still stays with 101a.
- Miner A finally manages to mine block 102a (based on 101a), broadcasts it. Other miners ignore it since this chain is shorter than the 103c chain.
- Miner A manages to mine block 103a (based on 102a) before B or C mine a block, and broadcasts it. Depending on the calculations of the amount of work that went into each block, this may be accepted as the new head of the block chain, orphaning both 102b and 103c.
- If it does not happen now, it will happen eventually - miner A has the majority of hashing power and will eventually overtake any competing blockchain version with his own version.

(Hope I presented thet 51% problem correctly...)

Onkel Paul
Thanks for the explanation. I wasn't sure, if my calculation was right.
But like I read recently some where: If you want an answer on the internet, post a wrong answer and people will correct you faster, than if you ask the question Wink

https://forum.bitcoin.com/
New censorship-free forum by Roger Ver. Try it out.
Febo
Legendary
*
Offline Offline

Activity: 2730
Merit: 1288



View Profile
December 16, 2014, 03:23:05 PM
 #9

So in case of a 51% attack, there will be Total Chaos. People sending BTC, receiving BTC and then travelling back in time, because they do not have enough network power to prove that their version of the block chain is the correct one.

It happened on many alts already. So just find what was the ending resoult. This is why altcoins are so important for Crypto. So progress can happen much faster.
hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
December 16, 2014, 03:46:22 PM
 #10

I think the 51% problem is stated inaccurately here.
The actual problem is that with 51% hashing power, a malicious miner can refuse to mine on any chain which includes blocks mined by other miners, and can get away with it (i.e. his chain will be considered the real blockchain after some time).

Example:
(blocks mined by miner A, B or C are suffixed with a, b or c)

Miner A has more than 50% of hashpower.
All miners start with block 100.
- Miner A mines block 101a, broadcasts it, every other miner switches to 101a as the new head of the block chain.
- Miner B mines block 102b (based on 101a), he and miner C switch to 102b as the new head of block chain, A ignores it and stays with 101a.
- Miner C mines block 103c (based on 102b), which is used as the new blockchain head by B and C. A still stays with 101a.
- Miner A finally manages to mine block 102a (based on 101a), broadcasts it. Other miners ignore it since this chain is shorter than the 103c chain.
- Miner A manages to mine block 103a (based on 102a) before B or C mine a block, and broadcasts it. Depending on the calculations of the amount of work that went into each block, this may be accepted as the new head of the block chain, orphaning both 102b and 103c.

103a does not orphan 103c because it has the same amount of work. Work is calculated based on the difficulty not on the hash. However, a 51% miner eventually will be able to release a block before the rest of the miners.

@OP, Bitcoin is essentially a senate. The blockchain is a recording of the laws passed. Normally, members will vote on the same laws and everything goes smoothly. If someone wants to disrupt the system by himself, he needs at least the majority. Without it, he can still succeed but his chances decline. He could also be sure to win if the other members don't agree.
It's why it's important to have very stable software in a consensus system.

odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
December 16, 2014, 05:11:59 PM
 #11

Please correct me where due.

1, The Double Spending problem:
This is why Bitcoin is being mined. Mining in fact is only transaction validation, for which you receive a reward. Mining is difficult so that there is ideally only one computer at a time which will manage to solve the current mathematic problem by mining, verify the transaction and receive the reward.

The double-spending problem is due to the fact that bitcoins are just numbers and not distinct objects that can't be copied. You can't double-spend a dollar bill. Mining itself does not solve the double-spending problem. It is the distributed ledger protected by consensus that prevents double-spending.

2, The Byzantine Generals problem:
The problem of someone hacking Bitcoin is solved by everyone having the blockchain. If everyone has the ledger of all transactions, which are linked though verifiable hashes, so it is impossible to inject your own mojo into the blockchain.

The Byzantine Generals problem is solved by the combination of proof-of-work and accepting only the longest chain.

3, 51% attack:
If someone manages to get more than 50% of the network power by mining, they will be able to prolong transaction validation through refusal of transaction verification of the minority by building the blockchain fork faster through more power and own transactions.
-> I would need some explanation here, why do not transactions of the minority get validated? They are not passed to the 51% owner?

Someone with 51% can do two things: they can rewrite the block chain and remove or invalidate previously accepted transactions, and they can mine all the blocks and control which transactions are included and which are not.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
December 21, 2014, 10:46:23 PM
 #12

Thank you, it is clearer now Smiley

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!