Bitcoin Forum
November 11, 2024, 05:09:31 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: sendmany andanvatage?  (Read 1284 times)
traced82 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
November 16, 2011, 09:26:14 PM
 #1

Hi there,
could someohne please explain me what exactly is the advantage to use sendmany when sending money?
Could not find anything about it in the documents...

thx!
SgtSpike
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
November 16, 2011, 09:29:56 PM
 #2

Lower fees when you're sending to several addresses.
traced82 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
November 16, 2011, 09:34:31 PM
 #3

ah, thank you!
is there a sample output anywhere what happens, if i call this with rpc, and ie one address is invalid? or if account has an invalid balance after n transactions?
SgtSpike
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
November 16, 2011, 09:37:31 PM
 #4

Good question.  Since the sendmany is just a single transaction, even though it may involve many addresses, it will be denied if just one of those addresses is invalid (i.e. checksum doesn't match).  It will also deny the entire transaction if the client wallet doesn't have enough funds to cover the entire transaction.
traced82 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
November 16, 2011, 09:52:52 PM
 #5

sounds plausible Smiley thank you!
pc
Sr. Member
****
Offline Offline

Activity: 253
Merit: 250


View Profile
November 17, 2011, 02:20:51 AM
 #6

If you're playing with the RPC interface, I recommend you set up a client pointing at testnet to play with. That way, you can experiment with invalid stuff all you want and not worry about losing real coins.
traced82 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
November 17, 2011, 08:56:28 AM
 #7

thx for the advise, seems better with testnet, and there are no "real" fees on it Smiley
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 102

Bitcoin!


View Profile WWW
November 18, 2011, 04:40:14 PM
 #8

The 0.5 client seems to be able to send BTC to more than one address with one transaction (via the UI). Does anyone know if that uses 'sendmany'?

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
SgtSpike
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
November 18, 2011, 05:40:51 PM
 #9

The 0.5 client seems to be able to send BTC to more than one address with one transaction (via the UI). Does anyone know if that uses 'sendmany'?
Oooh, neato.  It must use sendmany - that's the only way I've ever heard of to send to multiple addresses in the same transaction.
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 102

Bitcoin!


View Profile WWW
November 18, 2011, 05:43:29 PM
 #10

The 0.5 client seems to be able to send BTC to more than one address with one transaction (via the UI). Does anyone know if that uses 'sendmany'?
Oooh, neato.  It must use sendmany - that's the only way I've ever heard of to send to multiple addresses in the same transaction.
I haven't actually tried it, but on the "send" tab, you can add multiple recipients with different amounts of BTC.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
mila
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
November 19, 2011, 02:32:47 AM
 #11

my story:

I need to fund 'a lot' of addresses to print 'offline' bitcoins
in the past I had to send bitcoins to them 1 payment at time

Now all I need to do is to run (offline) the script from bitaddress.org, parse it for address & private key and even get QR codes.
To fund each address, all I need is to add them to a single transaction.

My test tx showed up as a single tx to many addresses. Great improvement IMO.

edit: blockchain entry

your ad here:
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!