Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: gigamike on May 14, 2014, 07:12:04 AM



Title: bitcoind sendmany vs. sendtoaddress
Post by: gigamike on May 14, 2014, 07:12:04 AM
Guys,

Any advantage if i gonna use sendmany over sendtoaddress?

Im planning to send payouts to many btc address so im thinking of looping to sendtoaddress OR single command of sendmany.

TIA

Mike


Title: Re: bitcoind sendmany vs. sendtoaddress
Post by: DeathAndTaxes on May 14, 2014, 07:13:55 AM
Sendmany creates a single transaction with multiple outputs.
Sendtoaddress would be one transaction per address.

Outputs are relatively small, inputs are much larger so using sendmany reduces the average tx size on a per output basis.


Title: Re: bitcoind sendmany vs. sendtoaddress
Post by: gigamike on May 14, 2014, 07:26:56 AM
Sendmany creates a single transaction with multiple outputs.
Sendtoaddress would be one transaction per address.

Outputs are relatively small, inputs are much larger so using sendmany reduces the average tx size on a per output basis.

thanks for the info.

It doesn't mean as well that there will be much lesser Transaction fee?

TIA

Mike


Title: Re: bitcoind sendmany vs. sendtoaddress
Post by: Kluge on May 14, 2014, 07:37:57 AM
Sendmany creates a single transaction with multiple outputs.
Sendtoaddress would be one transaction per address.

Outputs are relatively small, inputs are much larger so using sendmany reduces the average tx size on a per output basis.

thanks for the info.

It doesn't mean as well that there will be much lesser Transaction fee?

TIA

Mike
"Minimum" fee should be significantly reduced. If you're splitting a relatively large output into many outputs, there's a much greater savings. Outside of having all the outputs linked together in the blockchain (which may be a privacy concern), I don't know of any disadvantages to sendmany... maybe messier to deal with if manually entering it into the console?


Title: Re: bitcoind sendmany vs. sendtoaddress
Post by: gigamike on May 14, 2014, 07:58:44 AM
Sendmany creates a single transaction with multiple outputs.
Sendtoaddress would be one transaction per address.

Outputs are relatively small, inputs are much larger so using sendmany reduces the average tx size on a per output basis.

thanks for the info.

It doesn't mean as well that there will be much lesser Transaction fee?

TIA

Mike
"Minimum" fee should be significantly reduced. If you're splitting a relatively large output into many outputs, there's a much greater savings. Outside of having all the outputs linked together in the blockchain (which may be a privacy concern), I don't know of any disadvantages to sendmany... maybe messier to deal with if manually entering it into the console?

thanks for info :)