2

I know the maximum transaction size is 500Kb.

I also know there is a maximum for sigop in a transaction (20,000?).

What I'm interested in is what is the maximum number of txouts you could include in a single transaction.

2

There is no practical maximum number of outputs in a transaction. The number of transactions can be up to 264-1, or 18446744073709551615. The transaction fee would be more than the total bitcoins to ever exist.

  • 2
    The maximum block size is 250,000 bytes (en.bitcoin.it/wiki/Transaction_fees). txin is approximately 148 bytes, a txout is about 34 bytes. Assuming 1 txin then max_txout ~= 7348. However, I believe that calculation is also limited by the max sigop limit. – user789235 Jan 28 '14 at 20:50
  • @GregHewgill how did you come up with 2^64-1? – George Kimionis Oct 29 '14 at 22:27
  • 1
    @GeorgeKimionis: The number of transactions is stored in the Bitcoin block as a Variable length integer, which has a maximum range of 2^64-1. – Greg Hewgill Oct 29 '14 at 22:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.