Bitcoin Forum
May 12, 2024, 10:31:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Do nodes relay big transactions without a fee?  (Read 766 times)
Remember remember the 5th of November (OP)
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
May 24, 2013, 08:43:18 PM
Last edit: May 24, 2013, 08:53:52 PM by Remember remember the 5th of November
 #1

For instance, a transaction has many small inputs, and the user sends this transaction without a fee. Would a node relay this transaction to other nodes regardless of the fact that it has zero fee, but it's big(not huge, just bigger than normal)?

Trying to figure out if an attack like this would work:
  User A sends User B a transaction of the type described above. User A first makes sure his node has a lot of connections and broadcasts this transaction without a fee just once and never again.  User B after a while sees this tx in Bitcoin-Qt and is willing to send User A say 500 Litecoins immediately, but includes a sufficient fee. No miner is willing to include User A's transaction in a block, so after a while most nodes will drop it from their memory pool and it will be forgotten. User A now gets to keep his Bitcoins and also 500LTC.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715509891
Hero Member
*
Offline Offline

Posts: 1715509891

View Profile Personal Message (Offline)

Ignore
1715509891
Reply with quote  #2

1715509891
Report to moderator
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
May 24, 2013, 09:12:07 PM
 #2

Fee is for miners, not for relaying. A transaction is relayed to matter the fee (depending on the bitcoin rules and the local rules of course)

scintill
Sr. Member
****
Offline Offline

Activity: 448
Merit: 254


View Profile WWW
May 24, 2013, 09:52:42 PM
 #3

The basic question might still be worth answering (I don't really know the answer), but I don't think this is an "attack" any more than any other zero-conf transaction.  There will always be ways to trick people when it comes to relayed transactions, that's why you have to wait until several confirmations prove the person can't double-spend.

1SCiN5kqkAbxxwesKMsH9GvyWnWP5YK2W | donations
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
May 25, 2013, 01:04:11 AM
 #4

As scintill says,  unconfirmed transactions are unsafe and there are many ways you can be out spent in them.

In exchange protocols what you need to do is first pay into a escrow transaction that requires both parties to sign, let that confirm and then you can be confident that it can't be spent out from under you.

As for the specific question being asked—  on Bitcoin network nothing standard will relay or mine transactions over 100k under any condition to avoid DOS attacks. Transactions without fee are not relayed if they're over 23k or so, also to avoid DOS attacks.
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!