Bitcoin Forum
May 25, 2024, 12:29:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to work out how much data your transaction will use?  (Read 369 times)
helloeverybody (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile WWW
February 29, 2016, 04:50:40 PM
 #1

Can anyone explain how the transaction sizes are calculated? For example if i send 1million btc will this take up the whole 1mb? Im not quite sure how this is all calculated.

--Encrypted--
Copper Member
Legendary
*
Offline Offline

Activity: 924
Merit: 1007

hee-ho.


View Profile
February 29, 2016, 04:54:06 PM
 #2

Can anyone explain how the transaction sizes are calculated? For example if i send 1million btc will this take up the whole 1mb? Im not quite sure how this is all calculated.

it's calculated from the number of input and output.
10 + {I*180} + {O*24} = tx size in byte. give or take few bytes.

edit:
there's a more technical explanation here.
helloeverybody (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile WWW
February 29, 2016, 05:00:40 PM
 #3

Can anyone explain how the transaction sizes are calculated? For example if i send 1million btc will this take up the whole 1mb? Im not quite sure how this is all calculated.

it's calculated from the number of input and output.
10 + {I*180} + {O*24} = tx size in byte. give or take few bytes.

edit:
there's a more technical explanation here.

Thanks i was thinking it might have been a bit simpler lol. I will have a read over that and try and get my head round it.

--Encrypted--
Copper Member
Legendary
*
Offline Offline

Activity: 924
Merit: 1007

hee-ho.


View Profile
February 29, 2016, 05:27:10 PM
 #4

just found out that that thing I posted above is kind of outdated.
now it's
10 + {I*148} + {O*34} plus or minus 'I' = size. give or take few bytes.

source of that here. it's actually not that hard to understand.
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!