Bitcoin Forum
November 17, 2017, 06:12:43 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: getwork and Stratum  (Read 3509 times)
mamadmankan
Member
**
Offline Offline

Activity: 74


View Profile
September 06, 2013, 05:36:22 PM
 #1

hello

i was just confused and i didnt know which pool to use but what is the difference between getwork and Stratum ?? and which pools or websites would i be able to use for getwork or whatever and what is GBT is that the short form of getwork or is that 2 different things ?

also why is some websites using it and some websites or pools dont use it ?

like i am using http://eligius.st but i dont understand how it works and how you can check your hashrate ?!?!?! :S really confusing if anyone can help me out that would be much appreciated thank you

also is there any other websites that support the getwork option ?
1510942363
Hero Member
*
Offline Offline

Posts: 1510942363

View Profile Personal Message (Offline)

Ignore
1510942363
Reply with quote  #2

1510942363
Report to moderator
1510942363
Hero Member
*
Offline Offline

Posts: 1510942363

View Profile Personal Message (Offline)

Ignore
1510942363
Reply with quote  #2

1510942363
Report to moderator
1510942363
Hero Member
*
Offline Offline

Posts: 1510942363

View Profile Personal Message (Offline)

Ignore
1510942363
Reply with quote  #2

1510942363
Report to moderator
Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 630



View Profile
September 06, 2013, 05:41:10 PM
 #2

Getwork is old and shit - it's only still around for legacy devices, and ancient software.  It's slow, uses WAY more bandwidth than Stratum, and uses more resources on the pool server.

Most pools have turned off their getwork interfaces, as everything either supports stratum, or you can use Slush's stratum proxy which allows getwork clients to connect to stratum pools.  The latest version of bfgminer (not Windows version though) does the same.

For Eligius stats, go to http://eligius.st/~gateway/stats and put in your wallet address (the same one you're using as your username in your miner). 

| 
 
50
| 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
| 
 
$1,5 M
|


        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
Graet
VIP
Legendary
*
Offline Offline

Activity: 980



View Profile WWW
September 07, 2013, 03:57:15 AM
 #3

unfortunately a lot of asicminers hardware still uses getwork - rather disappointing for pool operators and miners,
Stratum is a new(ish) protocol for miners to connect to pools and was designed with ASIC hardware in mind
Ozcoin offers both getwork and stratum, as do as few other pools

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
eleuthria
Legendary
*
Offline Offline

Activity: 1750



View Profile
September 07, 2013, 04:03:56 AM
 #4

BTC Guild still offers getwork, but its days are numbered.  The only products that rely on getwork are luckily marketed towards technical people, so stratum proxies aren't all that difficult for them to get running.

RIP BTC Guild, April 2011 - June 2015
mamadmankan
Member
**
Offline Offline

Activity: 74


View Profile
September 07, 2013, 05:30:37 AM
 #5

oh i see , but isnt the getwork and GPT better ?? or is Stratum the best way to go ??
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 630



View Profile
September 07, 2013, 08:08:56 AM
 #6

oh i see , but isnt the getwork and GPT better ?? or is Stratum the best way to go ??

Wow.  Didn't you read the previous posts?  Huh  You don't see, otherwise you'd know getwork isn't better.  GPT has it own set of issues, which are discussed at length elsewhere, and is basically unsupported everywhere except maybe Eligius (GPT is Luke-Jr's making, I think).

| 
 
50
| 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
| 
 
$1,5 M
|


        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
DrHaribo
Legendary
*
Offline Offline

Activity: 2240


Bitminter.com Operator


View Profile WWW
September 07, 2013, 09:14:08 AM
 #7

Stratum: the server gives the client templates that the client can use to generate its own work. Only the block header and first transaction (generation transaction) are included. Stratum uses the least bandwidth of all the protocols. Stratum also makes it very fast and efficient to switch to new work data when there is a block change, which can help keep down the reject ratio caused by stale work. Unlike the other protocols it is not HTTP, so it won't work over an HTTP proxy. There is no real specification. There is a document that explains the core features and for the rest you have to read the source code for "stratum mining proxy" and/or old posts on bitcointalk.org.

GBT (getblocktemplate): the server gives the client templates that the client can use to generate its own work. The client is given full block data and (if supported by server and client) this allows the client to modify the block. For instance the miner could choose which transactions to include in a block. Because of these features GBT needs to transfer more data than Stratum, so bandwidth usage is higher. These features are not supported anywhere yet, as far as I know. GBT is well documented through detailed specs.

Plain getwork: the way mining was done originally. The server gives the client a block header without any transactions or any way to modify the block except for the nonce value. The client is limited to trying all possible nonce values and will then need to request more work from the server. This causes massive bandwidth usage for modern mining hardware. Like Stratum it doesn't give the miner any control over what is mined. You get the worst of both worlds.

getwork with rollntime extension: allows the client a limited way to generate work by modifying the timestamp on the block header. If you process 10 nonce ranges per second (42.9 Ghps) you'd want to request 10 block headers from the server. As each second passes you update the timestamp on those block headers, allowing you to reuse the same work for the next second. Bandwidth usage goes up with hashrate. 429 Ghps would require 100 small request-response exchanges with the server to get enough work after every block change. Compare with GBT where bandwidth usage goes up with the size of the transactions (one big request-response exchange per block change). Which uses less bandwidth depends on your hashrate (getwork) and the size of the block you are hashing (GBT).

TL;DR: getwork is the old way. The rollntime extension gave it back some life, but it won't scale as mining devices get faster. There are two new protocols to improve mining: Stratum which focuses on low bandwidth usage and GBT which focuses on allowing the miner to control what goes in a block.

The BitMinter mining pool supports all of the above.

▶▶▶ Bitminter.com - Your trusted mining pool since 2011.
mamadmankan
Member
**
Offline Offline

Activity: 74


View Profile
September 07, 2013, 03:53:42 PM
 #8

Stratum: the server gives the client templates that the client can use to generate its own work. Only the block header and first transaction (generation transaction) are included. Stratum uses the least bandwidth of all the protocols. Stratum also makes it very fast and efficient to switch to new work data when there is a block change, which can help keep down the reject ratio caused by stale work. Unlike the other protocols it is not HTTP, so it won't work over an HTTP proxy. There is no real specification. There is a document that explains the core features and for the rest you have to read the source code for "stratum mining proxy" and/or old posts on bitcointalk.org.

GBT (getblocktemplate): the server gives the client templates that the client can use to generate its own work. The client is given full block data and (if supported by server and client) this allows the client to modify the block. For instance the miner could choose which transactions to include in a block. Because of these features GBT needs to transfer more data than Stratum, so bandwidth usage is higher. These features are not supported anywhere yet, as far as I know. GBT is well documented through detailed specs.

Plain getwork: the way mining was done originally. The server gives the client a block header without any transactions or any way to modify the block except for the nonce value. The client is limited to trying all possible nonce values and will then need to request more work from the server. This causes massive bandwidth usage for modern mining hardware. Like Stratum it doesn't give the miner any control over what is mined. You get the worst of both worlds.

getwork with rollntime extension: allows the client a limited way to generate work by modifying the timestamp on the block header. If you process 10 nonce ranges per second (42.9 Ghps) you'd want to request 10 block headers from the server. As each second passes you update the timestamp on those block headers, allowing you to reuse the same work for the next second. Bandwidth usage goes up with hashrate. 429 Ghps would require 100 small request-response exchanges with the server to get enough work after every block change. Compare with GBT where bandwidth usage goes up with the size of the transactions (one big request-response exchange per block change). Which uses less bandwidth depends on your hashrate (getwork) and the size of the block you are hashing (GBT).

TL;DR: getwork is the old way. The rollntime extension gave it back some life, but it won't scale as mining devices get faster. There are two new protocols to improve mining: Stratum which focuses on low bandwidth usage and GBT which focuses on allowing the miner to control what goes in a block.

The BitMinter mining pool supports all of the above.


oh i see now , yea thats more detailed thank you for the information . by far Stratum is better then other protocols
semaster
Sr. Member
****
Offline Offline

Activity: 400


View Profile
September 13, 2013, 09:42:05 PM
 #9

don't waste your time  Wink
use any p2pool node
for example - http://elizium.name

natureltiqqy
Member
**
Offline Offline

Activity: 70

"Akche, Türkiye'nin Dijital Parası"


View Profile
November 03, 2017, 11:17:48 AM
 #10

Stratum: the server gives the client templates that the client can use to generate its own work. Only the block header and first transaction (generation transaction) are included. Stratum uses the least bandwidth of all the protocols. Stratum also makes it very fast and efficient to switch to new work data when there is a block change, which can help keep down the reject ratio caused by stale work. Unlike the other protocols it is not HTTP, so it won't work over an HTTP proxy. There is no real specification. There is a document that explains the core features and for the rest you have to read the source code for "stratum mining proxy" and/or old posts on bitcointalk.org.

GBT (getblocktemplate): the server gives the client templates that the client can use to generate its own work. The client is given full block data and (if supported by server and client) this allows the client to modify the block. For instance the miner could choose which transactions to include in a block. Because of these features GBT needs to transfer more data than Stratum, so bandwidth usage is higher. These features are not supported anywhere yet, as far as I know. GBT is well documented through detailed specs.

Plain getwork: the way mining was done originally. The server gives the client a block header without any transactions or any way to modify the block except for the nonce value. The client is limited to trying all possible nonce values and will then need to request more work from the server. This causes massive bandwidth usage for modern mining hardware. Like Stratum it doesn't give the miner any control over what is mined. You get the worst of both worlds.

getwork with rollntime extension: allows the client a limited way to generate work by modifying the timestamp on the block header. If you process 10 nonce ranges per second (42.9 Ghps) you'd want to request 10 block headers from the server. As each second passes you update the timestamp on those block headers, allowing you to reuse the same work for the next second. Bandwidth usage goes up with hashrate. 429 Ghps would require 100 small request-response exchanges with the server to get enough work after every block change. Compare with GBT where bandwidth usage goes up with the size of the transactions (one big request-response exchange per block change). Which uses less bandwidth depends on your hashrate (getwork) and the size of the block you are hashing (GBT).

TL;DR: getwork is the old way. The rollntime extension gave it back some life, but it won't scale as mining devices get faster. There are two new protocols to improve mining: Stratum which focuses on low bandwidth usage and GBT which focuses on allowing the miner to control what goes in a block.

The BitMinter mining pool supports all of the above.

the information I've been looking for days. I appreciate you being so helpful. I understand that mining is the best link stratum at the moment.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!