Bitcoin Forum

Other => Beginners & Help => Topic started by: bytefire on September 07, 2013, 04:37:21 PM



Title: How to call Getwork from code?
Post by: bytefire on September 07, 2013, 04:37:21 PM
Hi, I'm a programmer trying to learn bitcoin mining. I know that in order to get the value (header) to hash, you call Getwork. I have seen the bitcoin wiki page for it and read some relevant threads on different forums. What I want want to know is what is required before one can make a call to Getwork? Specifically the following:

  • What URL to call with what parameters?
  • I understand it is a REST call. Can you confirm this is so?
  • Do you need to be registered before being able to make the call?

Please post any relevant links that might help.