Bitcoin Forum
November 12, 2024, 05:59:45 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Whats the fee for?  (Read 1599 times)
Organized (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 27, 2010, 04:28:51 PM
 #1

Hi

I use bitcoin since ~20 minutes and I am generating coins (nothing yet, but I think they will come). In the options there is a fee of 0.01 recommended. I read the FAQ and found no answer, so: whats this fee for?

If I have a fee of 0.01 and I send 100 BTC to someone else, does the one who generates the block of the transaction get 1 BTC (100 * 0.01)? Is my idea right?

Best Regards
Organized
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1020


View Profile
December 27, 2010, 04:56:54 PM
 #2

You will probably never generate a bitcoin unless you joined a pooled mining effort.

Even so, you will find it 50 times easier to simply sell goods and services for bitcoin. Very few people can mine profitably, anyway.

Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
December 27, 2010, 05:06:51 PM
 #3

I use bitcoin since ~20 minutes and I am generating coins (nothing yet, but I think they will come). In the options there is a fee of 0.01 recommended. I read the FAQ and found no answer, so: whats this fee for?

If I have a fee of 0.01 and I send 100 BTC to someone else, does the one who generates the block of the transaction get 1 BTC (100 * 0.01)? Is my idea right?
The fee is an "incentive" to process your transaction.  At this time, your transaction will almost certainly get processed without a fee.  However, in the future, as returns from generating decline, transaction fees will be a important component of node compensation.  A 0.01 BTC fee is a straight fee, not a percentage.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1060


View Profile
December 27, 2010, 06:06:16 PM
 #4

Woo hoo! I just generated and won my first fee, all of 0.02 BTC. Feels good, though.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5376
Merit: 13410


View Profile
December 27, 2010, 08:09:31 PM
 #5

A 0.01 BTC fee is a straight fee, not a percentage.

It's per kilobyte of transaction size.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1006


Bringing Legendary Har® to you since 1952


View Profile
December 27, 2010, 08:47:24 PM
 #6

A 0.01 BTC fee is a straight fee, not a percentage.

It's per kilobyte of transaction size.

Yeah but i wonder why does it say that transaction size is 1K if currently one transaction takes averagely ~275 bytes of storage ?
Does it take more bandwidth than storage or what ?

Anonymous
Guest

December 28, 2010, 01:30:54 AM
 #7

I feel like a communist if I dont contribute so I  include a tx fee with every payment.

It helps support the network and makes me feel less like a socialist lol.
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1100


View Profile
December 28, 2010, 01:38:46 AM
Last edit: December 28, 2010, 04:29:04 AM by jgarzik
 #8

Yeah but i wonder why does it say that transaction size is 1K if currently one transaction takes averagely ~275 bytes of storage ?
Does it take more bandwidth than storage or what ?

Don't read it too literally.  The fee is per kilobyte, but that does not dictate or say anything about transaction size.

The actual formula is
Code:
     nBytes = number of bytes in your transaction (e.g. 259 bytes or whatever)
     CENT = 1000000
     nMinFee = (1 + nBytes / 1000) * CENT
("CENT" is a multiplier used to convert a fixed-point decimal number, such as 50.44 BTC, into a 64-bit number of "nanocoins", 5044000.)

So, nMinFee==0.01 for small transactions.

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
December 28, 2010, 03:36:23 AM
 #9

So you're saying that it's an integer division and therefore all transactions less than 1K are free?  What affects transaction size, and what causes it to go over 1K?

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5376
Merit: 13410


View Profile
December 28, 2010, 03:58:44 AM
 #10

The minimum fee is 0.01, and increases for larger transactions.

For a 999-byte transaction:
nMinFee = (1 + 999 / 1000) * CENT
nMinFee = (1+0) * CENT
nMinFee = 0.01 BTC

For a 1000-byte transaction:
nMinFee = (1 + 1000 / 1000) * CENT
nMinFee = (1 + 1) * CENT
nMinFee = 0.02 BTC

The UI text should say that most transactions are under 1K and would therefore need a fee of 0.01.

What affects transaction size, and what causes it to go over 1K?

Number of inputs, mostly. Compare the sizes (shown on each page) of these two transactions:
http://blockexplorer.com/tx/19573c608543d95b193ebaf0de2c0c4fd299732f878233f6ea5b5c15a9bf85ff
http://blockexplorer.com/tx/b13bc77ca994479bb8fdc69d9e119163c8d41773cc148c9f82fcb67f78f3d108

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!