Bitcoin Forum
May 25, 2024, 03:33:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Attacco spam: il fix implementato in Litecoin e non da Bitcoin  (Read 1596 times)
jkoin (OP)
Hero Member
*****
Offline Offline

Activity: 484
Merit: 500



View Profile
July 10, 2015, 07:23:24 AM
 #1

http://cointelegraph.com/news/114791/litecoin-shows-there-is-a-simple-fix-for-spam-attacks-on-bitcoin

Cosa ne pensate? Io non ci ho capito molto, qualcuno mi può spiegare meglio questo fix introdotto sul network litecoin?

Perchè non è stato implementato anche in bitcoin?

gdassori
Hero Member
*****
Offline Offline

Activity: 980
Merit: 1002



View Profile
July 10, 2015, 07:33:54 AM
 #2

E' tutto scritto nella pull req su git, la conversazione fra i dev che ha portato alla bocciatura del fix:

https://github.com/bitcoin/bitcoin/pull/1536

Quote
coblee commented on Jun 29, 2012
This code helps with reducing dust spam. The original code will make the transaction fee become the minimum fee if any output is less than a cent. This makes it costly to send dust spam, but there's an edge case. The attacker can send a transaction with 1000 outputs of one satoshi each. The transaction size is huge but the fee is only the base fee. This fix will increase the fee by the base fee amount for each output that's less than a cent.

Quote
gavinandresen commented on Jul 2, 2012
This doesn't feel like the right fix to me.
Fixing the coin selection algorithm so it works quickly with wallets containing gazillions of tiny transactions is part of the solution. Something simple like "If there are more than X unspent outputs, don't use the fancy knapsack-problem-solver, just use the biggest-value unspent input(s) until you have enough to pay for the transaction+fee."
See https://gist.github.com/2961409 for the direction I think will work. With the right priority algorithm (and a minimum-to-be-relayed-included threshold) I don't think a dust spam fee is needed at all.

picchio
Legendary
*
Offline Offline

Activity: 2506
Merit: 1120



View Profile
July 10, 2015, 07:35:20 AM
 #3

http://cointelegraph.com/news/114791/litecoin-shows-there-is-a-simple-fix-for-spam-attacks-on-bitcoin

Cosa ne pensate? Io non ci ho capito molto, qualcuno mi può spiegare meglio questo fix introdotto sul network litecoin?

Perchè non è stato implementato anche in bitcoin?


Perche' non usare https://bitcointalk.org/index.php?topic=1114064.0 ?

Waves mi piaceva ora non più.
jkoin (OP)
Hero Member
*****
Offline Offline

Activity: 484
Merit: 500



View Profile
July 10, 2015, 08:36:52 AM
 #4

http://cointelegraph.com/news/114791/litecoin-shows-there-is-a-simple-fix-for-spam-attacks-on-bitcoin

Cosa ne pensate? Io non ci ho capito molto, qualcuno mi può spiegare meglio questo fix introdotto sul network litecoin?

Perchè non è stato implementato anche in bitcoin?


Perche' non usare https://bitcointalk.org/index.php?topic=1114064.0 ?

cavolo scusate non avevo visto che si era parlato dello stesso argomento
gdassori
Hero Member
*****
Offline Offline

Activity: 980
Merit: 1002



View Profile
July 10, 2015, 03:40:22 PM
 #5

neanche io, sorry :-D

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!