Bitcoin Forum
August 23, 2024, 08:37:11 PM *
News: All versions of Windows are affected by a critical security bug; make sure you update.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Transaction fee for the network to confirm a tx w/1 input and many outputs  (Read 318 times)
rodarmor (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 161


View Profile
April 29, 2013, 11:28:22 AM
 #1

I'm considering a site which would require taking a single transaction as input, and sending it to potentially hundreds or thousands of separate addresses in a single transaction.

Can someone help me figure out the amount, in tx fees, which would be needed for the network to confirm the transaction in a reasonable amount of time?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4790



View Profile
April 29, 2013, 05:50:09 PM
 #2

You'll need to pay a fee per kilobyte ( can't remember if it's 0.0001 BTC or 0.0005 BTC).

The overhead in the structure of the transaction itself is between 6 and 12 bytes.  Then the one input will be somewhere around 180 bytes (give or take a couple bytes).

Each output will be 34 bytes.

So, figure worst case 191 + (34 * output_quantity) bytes.

Note that there is a limit to the maximum size a transaction can be and still be accepted/relayed by peers.
rodarmor (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 161


View Profile
April 29, 2013, 09:52:51 PM
 #3

Awesome, thank you!
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!