Bitcoin Forum
May 21, 2024, 06:11:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does sending BTC from 3 wallet address roughly triple the transaction size?  (Read 282 times)
letitbegood (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 25, 2017, 04:49:25 AM
 #1

I just recently sent some BTC from a wallet to cold storage, and it pulled the BTC from 3 different wallet address in order to get the amount I wanted to send.  The total transaction size showed 668 bytes, roughly 3 times the typical size.  Because of this, the fee I paid was over $4.

Is it normal that each wallet address that BTC is pulled from adds approx. 220 bytes to the transaction size?

I know that new wallet addresses are often generated for each deposit for privacy/security reasons, but from a fee standpoint wouldn't it cost a lot less to reuse a wallet address more than once?  This way, when money is sent from the wallet it's less likely to need to pull from so many addresses?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 25, 2017, 04:58:20 AM
 #2

Transaction size in bytes is calculated more or less as:

(#Inputs * 148) + (#outputs * 34) + 10 bytes.

It isn't the number of addresses per se, but the number of inputs... For example, I've seen transactions that have 10 inputs... all from 1 address... but it is still 10 inputs... so 10 * 148 = 1480 bytes, + the output bytes + the 10 fixed bytes...

Also, when you send multiple inputs to an address... it doesn't create one big amount of BTC... they are all still separate chunks...

ie. if you send 1.0 BTC, 0.1 BTC and 0.01 BTC... you don't have a single amount of 1.11 BTC in your wallet... you still have 3 separate UTXOs that you can then spend.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
letitbegood (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 25, 2017, 05:32:12 AM
 #3

Thanks for the response.  So if I understand correctly: If I received say 5 separate deposits, regardless of whether they all came into one address or into multiple addresses, it would still be the same amount of inputs (and therefore same transaction size) if I send all of these deposits to another wallet in a single transaction?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 25, 2017, 06:12:06 AM
 #4

Correct

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!