4

I have been toying around with the idea of building a bitcoin app. My research has thus far led me to conclude that it makes sense to run a bitcoin client daemon on my server in order to provide an API for my mobile app.

Is bitcoind any good for this? I used the -server mode of the Bitcoin-qt client for mac, as explained here, and it seems to be very slow for most of the RPC calls. Is the daemon any faster? It seems like something this slow is not preferable to run on the server, and would almost force me to cache some responses that would probably be unnecessary for a faster running client (obviously, down the road cacheing would make sense, but for the initial small scale of this, I would like to avoid it.

Are there better server-side clients I could run that would perform better than bitcoind? Do any of them provide better interfaces that JSON-RPC, or is there some reason that JSON-RPC is intrinsically better for this sort of use-case? How about a REST API?

  • What information do you need served? – ThePiachu Feb 7 '13 at 13:38
  • I haven't really gotten that far yet, but hopefully something close to whats available here – finiteloop Feb 7 '13 at 17:47
1

It depends on what information you require. Bitcoind can provide you with information through its API, but you'd need to be running it yourself and it only works through HTTP JSON RPC. There are other sources of similar information, like blockchain.info's API, which can also handle other formats.

  • As indicated in my question, I realize that bitcoind offers these API calls, however in my limited testing (running the mac client in server mode, and using curl to make the JSON RPC calls) showed that it is very slow to respond to some requests. I was asking if its as slow when run on a server, or if thats not something I need to be concerned with. And if it is that slow on the server, there are alternatives without that problem. – finiteloop Feb 9 '13 at 0:14
  • @finiteloop You can compare your results to blockchain.info's response time. I don't know how slow or fast your bitcoind's response time is, so I can't compare it to my machine, nor do I own a server to compare those two values to. – ThePiachu Feb 9 '13 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.