traced82 (OP)
Newbie
Offline
Activity: 20
Merit: 0
|
|
November 16, 2011, 09:26:14 PM |
|
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!
|
|
|
|
|
|
|
|
|
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
SgtSpike
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
November 16, 2011, 09:29:56 PM |
|
Lower fees when you're sending to several addresses.
|
|
|
|
traced82 (OP)
Newbie
Offline
Activity: 20
Merit: 0
|
|
November 16, 2011, 09:34:31 PM |
|
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
Activity: 1400
Merit: 1005
|
|
November 16, 2011, 09:37:31 PM |
|
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
Activity: 20
Merit: 0
|
|
November 16, 2011, 09:52:52 PM |
|
sounds plausible thank you!
|
|
|
|
pc
|
|
November 17, 2011, 02:20:51 AM |
|
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
Activity: 20
Merit: 0
|
|
November 17, 2011, 08:56:28 AM |
|
thx for the advise, seems better with testnet, and there are no "real" fees on it
|
|
|
|
btc_artist
Full Member
Offline
Activity: 154
Merit: 101
Bitcoin!
|
|
November 18, 2011, 04:40:14 PM |
|
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
Activity: 1400
Merit: 1005
|
|
November 18, 2011, 05:40:51 PM |
|
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
Activity: 154
Merit: 101
Bitcoin!
|
|
November 18, 2011, 05:43:29 PM |
|
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
|
|
November 19, 2011, 02:32:47 AM |
|
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:
|
|
|
|