Check getaccount <bitcoinaddress>: "Returns the account associated with the given address." You give it a bitcoin address, receive the corresponding account, and can then use that account to sendfrom. However, for security reasons, I advise against sending payments directly from PHP running on a web server. You may want to...
Bitcoind has a walletnotify method that you can use. You can use it to run a command (in your case, execute a php file) as soon as your bitcoind gets a transaction. For some reason I cannot find a link to the bitcoin api but here are some links I...
When you are sending the commands to Bitcoind make sure you are sending in the minimum confirmations count of 0, this should show your Bitcoins. Change the number passed in to return the balance based on how many confirmations are required. I'm not sure which language your using but the...
I'll answer my own question, It was unbelievably easy. (from the debug console or command line) listunspent produces a/the list of unspent outputs at your disposal. Make a note of the 'txid', 'vout' and 'scriptPubKey' of each output you wish to use. Use the 'createrawtransaction' command followed by a list...
I finally figured out the error in the above code. Replace the line my $action = $api->call('sendmany','',%recipients); with my $action = $api->call('sendmany','',\%recipients); Basically just add a forward slash before %recipients. Hope this helps someone....
oom never is your first problem. You need this: oom score never Additionally, do not use oom score never except for critical system services. Try -500 or -700 instead. That should be a higher priority than most processes, but not the ones that are essential for any running system. So...
The Error "EXCEPTION: 11DbException Db::put: Cannot allocate memory bitcoin in ProcessMessage() " is comming because you are using a very old version of bitcoind(0.3.24) . I had the same problem and I upgraded it to the latest bitcoind version(0.9.3) and now every thing is working fine for me. So I...
python,django,bitcoin,bitcoind
Finally, i solved the problem. It was an issue with the bitcoind deamon, who stopped with no reason ! after restarting the bitcoind everything was running fine...