Title: bitcoind sendtoaddress response delay Post by: myusuario on February 14, 2014, 06:24:05 PM Hi,
I am developing a web application and using bitcoind to accept and pay with bitcoin, i have one page to create new address on demand for users and another page where user can withdraw bitcoins. The problem is with the sentoaddress rpc command, i have a queue of withdrawals, i iterate thw queue and call the rpc command sendtoaddress but after 2 or 3 commands the bitcoind frezze, i'm using java (spring mvc) and to connect to bitcoind i'm using apache httpclient. Code:
Title: Re: bitcoind sendtoaddress response delay Post by: theonewhowaskazu on February 14, 2014, 08:34:18 PM This was happening to me, for some reason bitcoind was using up a ton of memory causing the freeze.
Title: Re: bitcoind sendtoaddress response delay Post by: myusuario on February 17, 2014, 04:31:58 PM Hi i find a solution, i change HttpClient to CloseableHttpClient and after each sendtoaddres i close the conection, i try several times and now is working fine. :)
|