Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: lenny_ on March 12, 2014, 09:58:34 AM



Title: Free Transaction, BitcoinQt 0.8.6beta
Post by: lenny_ on March 12, 2014, 09:58:34 AM
Hello,

AFAIK a FREE transaction must have (as of 0.8.6 satoshi client version) less than 300 bytes.
Yesterday, my Bitcoin-Qt 0.8.6beta just send - what seems to be invalid - transaction, which have over 600 bytes and 0 Fee. How come?  :o

Shouldn't Bitcoin-Qt apply 0.0001 BTC, because transaction is over 300 bytes?


https://blockchain.info/tx/c32c43c50268d0ca1d336659586aa00c4653a97fe606260fbd5d99113bf9c35c

EDIT: My bad! AS I find out (https://gist.github.com/gavinandresen/7670433#086-wallet), transactions over 1000 bytes must have a fee. So this one is a 100% valid free transaction. Any one can guess, how long it can wait for confirm?

Thanks,
Lenny


Title: Re: Free Transaction, BitcoinQt 0.8.6beta
Post by: Parliament on March 12, 2014, 01:17:12 PM
Any one can guess, how long it can wait for confirm?

0 fee is generally a bad idea. You can calculate your transaction's priority with:
Code:
priority = sum(input_value_in_base_units * input_age)/size_in_bytes


So we have:
Code:
(160000000*281 + 50000000*390 + 150000000*375 + 150000000*141) /669
= 212,047,832

57,600,000 is the cutoff, so you're quite a bit above that ("high priority"). However, 0 fee transactions always take significantly longer to be included in a block.

To answer your question: a couple hours would be a good bet.