Bitcoin Forum
April 25, 2024, 01:19:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: confusion to understand trandaction fee  (Read 569 times)
pawanjain (OP)
Hero Member
*****
Offline Offline

Activity: 2660
Merit: 713


Nothing lasts forever


View Profile
February 23, 2017, 07:02:46 AM
 #1

I made a thread in which I mentioned about my transaction charge that got instantly confirmed .
But a friends in that thread said something that I don't understand accurately .

 The amount of coin does not matter, only the size (in bits) of the transaction.
Your transaction is just about the



in the above quote the friend told me no matter of amount that we transact
But in the same thread of same post he wrote in last

You paid a reasonable fee, made a small transaction, and had some luck.
That is all there is to it.




now here why the amount of bitcoin transfered by me matter again for small .


I mean both quote are  saying opposite to each other .
Can anyone explain me .



Finally  question arise , is really the amount of bitcoin transaction fee depend upon the amount of bitcoin or  vice versa .

reference post of helper , started by me
      https://bitcointalk.org/index.php?topic=1801447.new#new 

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
1714007991
Hero Member
*
Offline Offline

Posts: 1714007991

View Profile Personal Message (Offline)

Ignore
1714007991
Reply with quote  #2

1714007991
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714007991
Hero Member
*
Offline Offline

Posts: 1714007991

View Profile Personal Message (Offline)

Ignore
1714007991
Reply with quote  #2

1714007991
Report to moderator
ArcCsch
Full Member
***
Offline Offline

Activity: 224
Merit: 117


▲ Portable backup power source for mining.


View Profile
February 23, 2017, 07:21:30 AM
Merited by ABCbits (2)
 #2

I see where the confusion stems from, size as in number of bits (think document or check with long paragraphs of text vs. just a few sentences) vs. size as in value (think check for $500 vs. check for $100, same amount of text but different value).
To avoid confusion, I will use "size" only for the amount of data in the transaction, and "value" for the amount of bitcoin.

The miners prioritize transactions based on the "fee rate", which is the value of the fee (the tip given to miners) divided by the size of the transaction. Fee rate is usually expressed in satoshis (10^-8 bitcoin) per byte (8 binary digits), this is kind of like paying for a telegram in cents (value) per word (size).
How fast your transaction gets confirmed depends on the fee you give and on the size, not on the value.
Size is determined by number of inputs and outputs (if you see more text on blockchain.info, that transaction has a larger size), and your transaction had a smaller size than the others.

In the second quote, by "small transaction" I meant size, not value.

I hope this clears up the confusion.

If you don't have sole and complete control over the private keys, you don't have any bitcoin!  Signature campaigns are OK, zero tolorance for spam!
1JGYXhfhPrkiHcpYkiuCoKpdycPhGCuswa
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4606



View Profile
February 23, 2017, 11:53:00 AM
Last edit: February 23, 2017, 12:03:14 PM by DannyHamilton
Merited by ABCbits (3)
 #3

The size of a transaction (in bytes) is determined by the number of inputs and the number of outputs.
Every transaction has 10 bytes of required information.
Each output adds another 34 bytes
Each input adds 148 bytes if it was previously received at a compressed key address and 180 bytes if it was received at an uncompressed key address.

Looking at your other post...



This transaction is the one you said you created:
3b16f704f1086d2f3bcfe1716618027045092ab52fec85013ebc2999d50d9174
It has only 1 input of 0.01 bitcoins that were previously received at address 1xExA3dry8eavsAMrtAzZd1KWMk78BiHB (a compressed key address) at 2017-02-23 03:40:00 UTC in transaction b54c0dd3b91bf0137b2d7900d4a0216d9b193bea5125d59188ae6364bd3dca78.
It has only 1 output of 0.00981107 bitcoins sent to address 13Q3jM8fwznuV5WGCRJSwTGFzdjVYE8NnN
The remaining 0.00018893 bitcoins is the transaction fee.
The size of your transaction is:
10 bytes + 34 bytes (one output) + 148 bytes (one compressed key input) = 192 bytes.
The fee you paid is:
0.00018893 bitcoins / 192bytes  = 0.00000098 bitcoins per byte



This is one of your friend's transaction:
4126ada7e11d40ea8ba77743571d2ae5562ab41033cce7e253b7e255405a96ea
It has only 1 input of 0.20833 bitcoins that were previously received at address 13Q3jM8fwznuV5WGCRJSwTGFzdjVYE8NnN (an uncompressed key address) at 2017-02-15 15:37:51 UTC in transaction 0fcf2b850d898a55d9264d43c06b8d2c3ab4d6269e97d66cf616deb539dcdcab.
It has 2 outputs
  • One output is 0.2 bitcoins sent to 1JmnkuZNXm72v1h2yRY11uNd2UcR27x7LH
  • The other output is 0.0081831 bitcoins sent back to address 13Q3jM8fwznuV5WGCRJSwTGFzdjVYE8NnN
The remaining 0.00014690 bitcoins is the transaction fee.
The size of your friend's transaction is:
10 bytes + 68 bytes (two outputs) + 180 bytes (one uncompressed key input) = 258 bytes.
The fee your friend paid is:
0.00014690 bitcoins / 258 bytes = 0.00000057 bitcoins per byte

Your transaction confirmed faster because you paid a transaction fee that is 0.00000041 bitcoins MORE per byte than your friend.



This is another of your friend's transaction:
1fdaf7e2f50aea9d272165232f578bc62c3875abdd06b2b4bd2e1eb63bf40088
It has only 1 input of 0.06057447 bitcoins that were previously received at address 13Q3jM8fwznuV5WGCRJSwTGFzdjVYE8NnN (an uncompressed key address) at 2017-02-13 08:25:40 UTC in transaction 66f35a46101d441840beef33df0eb1b36bfa61df5f38651235405dae03738387.
It has 2 outputs
  • One output is 0.02223 bitcoins sent to 1Aq8nBwVLzXTJvoAt1z11gvbXFMW2i9C7P
  • The other output is 0.03818447 bitcoins sent back to address 13Q3jM8fwznuV5WGCRJSwTGFzdjVYE8NnN
The remaining 0.00016 bitcoins is the transaction fee.
The size of your friend's transaction is:
10 bytes + 68 bytes (two outputs) + 180 bytes (one uncompressed key input) = 258 bytes.
The fee your friend paid is:
0.00016 bitcoins / 258 bytes = 0.00000062 bitcoins per byte

Your transaction confirmed faster because you paid a transaction fee that is 0.00000036 bitcoins MORE per byte than your friend.
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!