Bitcoin Forum
November 12, 2024, 01:42:32 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Protocol used for pool mining  (Read 954 times)
pieppiep (OP)
Hero Member
*****
Offline Offline

Activity: 1596
Merit: 502


View Profile
February 03, 2012, 08:35:53 PM
 #1

I'm trying to find the protocol or api used by the different miners to get work from the different pools but I can't find it.
Can anyone point me in the right direction?
Soap? json? something else?
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
February 03, 2012, 09:16:00 PM
 #2

JSON-RPC.

https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
https://en.bitcoin.it/wiki/Getwork

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
stcupp
Full Member
***
Offline Offline

Activity: 209
Merit: 100


View Profile
February 05, 2012, 02:11:06 AM
 #3

no i think hes talking about the pushpool daemon heres the source:

https://github.com/jgarzik/pushpool
pieppiep (OP)
Hero Member
*****
Offline Offline

Activity: 1596
Merit: 502


View Profile
February 05, 2012, 10:54:58 AM
 #4

Thanks both Smiley

The thing I want to make is a miner.
First to test if I understand everything an unoptimized software miner, later a fpga miner.
I don't care if it is slow, it's just a hobby project at the moment.

With the links Revalin gave I found a C# implementation called bitnet.
With only a few lines of code I succeeded to get some work to do and I fully understand the data the function returns so the next step is do some hashing with the sha256 function I already made earlier.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!