Pages:
Author

Topic: Fragmentation attack - page 2. (Read 2428 times)

donator
Activity: 1218
Merit: 1079
Gerald Davis
December 26, 2013, 11:28:03 PM
#5
The idea was to send 100 million outputs per BTC to different addresses of course.

Which is no different than sending 100 million outputs to the same address.  The number of unique addresses is irrelivent.

Still even before IsDust this attack wouldn't work.  Low priority tx are not relayed unless they pay a fee and that fee would cost you 0.1 mBTC per KB.  So sure you can add 1 GB to the blockchain, no problem.  It just will cost you 100 BTC minimum in fees per GB plus the cost of the value of the tx themselves.  Also given that miners priority tx by fee amount and/or priority your low priority tx would simply gain the unused space in the blocks and thus it might take months or years to bloat the blockchain an extra GB (and this cost you a huge sum).

So IsDust is simply a secondary line of defense (it actually is intended to prevent another type of resource hog), the attack wasn't viable even before IsDust.
member
Activity: 81
Merit: 10
December 26, 2013, 11:05:08 PM
#4
sending 1 million outputs to a single address

The idea was to send 100 million outputs per BTC to different addresses of course. That is the point. To populate DB with this useless addresses/outputs with small balances.

the network makes dust outputs smaller than 5430 satoshis non-standard

Yes. I found a function IsDust. Ok... then while most miners use this code it will not success.
donator
Activity: 1218
Merit: 1079
Gerald Davis
December 26, 2013, 10:39:30 PM
#3
Bitcoin doesn't work on the concept of address balances.  An output needs to be stored until spent regardless of which address it is sent to.  So sending 1 million outputs to a single address takes as much space in the UXTO as sending 1 output to a million addresses.

To avoid spam attacks (the word fragmentation doesn't apply here), the network makes dust outputs smaller than 5430 satoshis non-standard.  Miners limit free space and min fee to be relayed for low priority txs is 0.1 mBTC per KB.  So there is no such attack, at least not a credible one which doesn't cost the attacker a small fortune.

hero member
Activity: 518
Merit: 500
December 26, 2013, 10:36:34 PM
#2
Just few questions to clarify:

1) every active client (miner) need to store address even if its balance is 1 satoshi?
2) how much disk space do one address require? 32bytes or more?
3) one bitcoin can be splitted to form transactions to 100,000,000 addresses which will occupy 3GB of space? (yes I know that confirmation will be slow)

1) What's an "address"?
2) What's a fragmentation attack?
member
Activity: 81
Merit: 10
December 26, 2013, 09:23:34 PM
#1
Just few questions to clarify:

1) every active client (miner) need to store address even if its balance is 1 satoshi?
2) how much disk space do one address require? 32bytes or more?
3) one bitcoin can be splitted to form transactions to 100,000,000 addresses which will occupy 3GB of space? (yes I know that confirmation will be slow)
Pages:
Jump to: