Title: Is there a limit on the max number of inputs and outputs in a transaction? Post by: DeathAndTaxes on July 02, 2013, 08:20:35 AM Title says it all....
Is there a limit on the max number of inputs and outputs in a transaction? Title: Re: Is there a limit on the max number of inputs and outputs in a transaction? Post by: rme on July 02, 2013, 08:21:27 AM Yes, currently one transaction cannot be more than 1MB.
Thats the limit. ;) Title: Re: Is there a limit on the max number of inputs and outputs in a transaction? Post by: DeathAndTaxes on July 02, 2013, 08:55:48 AM Gotcha. Also remember since 0.8.2 any tx over 100KB is non-standard but other than total tx size limit there is no restriction on the # of inputs or outputs.
Given an input is ~150 bytes a say 400 input tx and it would still be valid and standard if total tx size is under 100KB. Title: Re: Is there a limit on the max number of inputs and outputs in a transaction? Post by: kjj on July 02, 2013, 12:15:46 PM There is also a far less practical limit. The number of items in the input and output lists are specified using varint values, which max out at 264-1.
It is obviously difficult to imagine situations where that limit will matter, but it is the only limit that applies directly. Title: Re: Is there a limit on the max number of inputs and outputs in a transaction? Post by: DeathAndTaxes on July 02, 2013, 03:54:08 PM There is also a far less practical limit. The number of items in the input and output lists are specified using varint values, which max out at 264-1. It is obviously difficult to imagine situations where that limit will matter, but it is the only limit that applies directly. Ah good point although I agree it is unlikely that limit will be a practical one. |