Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: grue on December 17, 2011, 09:55:29 PM



Title: sendmany command line in windows
Post by: grue on December 17, 2011, 09:55:29 PM
does anyone know how to use it? i've tried every combination of quotes and escape characters but i can't get it to work  ???

edit: solved
you need to

bitcoind sendmany "" {"""1ELvnrA6PhUyDBS6iR25K1Xx4xXL6VMfJX""":1,"""1NX3R5Le4c1y9E316NPMze7aEmCXjpCY58""":0.75}


Title: Re: sendmany command line in windows
Post by: payb.tc on July 20, 2012, 12:43:51 PM
instead of bitcoind, should this work with bitcoin -server?


Title: Re: sendmany command line in windows
Post by: grue on July 20, 2012, 08:28:08 PM
no


Title: Re: sendmany command line in windows
Post by: dooglus on July 21, 2012, 06:41:11 AM
I think there's a misunderstanding here.

payb.tc is asking "can I use 'bitcoin -server' as the SERVER, instead of using bitcoind" - yes, you can

grue thinks you're asking "can I use 'bitcoin -server' as the CLIENT, instead of using bitcoind" - no, you can't

The confusion arises from the fact that bitcond can act as both an RPC client and an RPC server, and bitcoin can act as both a graphical app and an RPC server.

Hope that clears it up!


Title: Re: sendmany command line in windows
Post by: grue on July 21, 2012, 02:20:10 PM
I think there's a misunderstanding here.

payb.tc is asking "can I use 'bitcoin -server' as the SERVER, instead of using bitcoind" - yes, you can

grue thinks you're asking "can I use 'bitcoin -server' as the CLIENT, instead of using bitcoind" - no, you can't

The confusion arises from the fact that bitcond can act as both an RPC client and an RPC server, and bitcoin can act as both a graphical app and an RPC server.

Hope that clears it up!
No, I answered no because I interperted his post as "can you put this command line into bitcoin (gui), but with the -server argument". I said no because the gui doesnt parse commandline args like bitcoind does.