Bitcoin Forum
May 10, 2024, 06:20:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Protocol used for pool mining  (Read 936 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?
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715322047
Hero Member
*
Offline Offline

Posts: 1715322047

View Profile Personal Message (Offline)

Ignore
1715322047
Reply with quote  #2

1715322047
Report to moderator
1715322047
Hero Member
*
Offline Offline

Posts: 1715322047

View Profile Personal Message (Offline)

Ignore
1715322047
Reply with quote  #2

1715322047
Report to moderator
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!