Refering to the getwork protocol used by bitcoind.

learn more… | top users | synonyms

0
votes
1answer
127 views

Block Hashing Data

Guys I have a few points that are not clear for me. 1) In the link below it says there are some fields we have to combine and hash. However when I get a work by saying getwork from a pool. What I get ...
1
vote
1answer
143 views

What is the origin of the data that the bitcoin algorithm operates on?

According to the bitcoin wiki, the data used comes from calling getwork. getwork is a JSON-RPC defined at https://en.bitcoin.it/wiki/Getwork as "An RPC method used by a miner to get hashing work ...
1
vote
0answers
154 views

Litecoin getwork specification, endianness

Please help me with getwork protocol for litecoin miner.There is mixed info online about endiannes of data provided by getwork and data that should be submitted to mining pools. According to ...
3
votes
1answer
486 views

Do pool servers communicate with bitcoind, and in what capacity?

I'm trying to understand how the whole process flows. Here's how I currently understand it working. Mining client -> Pool server -> Bitcoind getwork: Mining client calls getwork from ...
2
votes
1answer
150 views

Pre-requisites for calling Getwork

I'm a novice to bitcoin trying to learn 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 ...
13
votes
1answer
35k views

The bitcoin mining algorithm from a programmer's viewpoint

This page: Blocks said mining is actually to solve a mathematical problem, but reading Block hashing algorithm doesn't give much help. I also tried reading bitcoind source code, but reading code takes ...
-1
votes
1answer
358 views

Difference between getwork and getblocktemplate?

What are the differences between getwork and getblocktemplate? Who identified the need for the new protocol? Who were the primary contributors to its creation?
-1
votes
1answer
196 views

work source hash rate smaller than worker hash rate

Why would my Work Source hash rate be smaller than my worker output hashing rate? I'm using MBPM and my work sources Hashrate is always lower than my X6500Hotplug Hashrate. I'm just looking for a ...
2
votes
1answer
10k views

GUI Miner no responses to getwork, and Verification failed

I just starting with mining today I have everything set up for slush pool on GUIMiner - v2012-12-03 . I'm not sure what is wrong but this is what the console says 2013-06-21 01:37:26: Listener for ...
1
vote
1answer
581 views

I am unable to figure the getwork api

I called bitcoind getwork slightly earlier in the day and this is what I got: { "midstate" : "6d8b2d759123e7311c552f0c99f6d520378062ac7a14fb11f6d433779d282faf", "data" : ...
1
vote
1answer
391 views

Should I use getwork or getblocktemplate

I am working on an fpga mining device just for fun. I realized that there is a getblocktemplate function which replaces the getwork Json-rpc call. So do I need to switch over to it and change all the ...
0
votes
1answer
437 views

What does nonce mean?

I'm trying to learn how litecoins work (and learn new programming language at same time by writing a crappy little miner). I'm stuck with getdata. Here http://litecoin.info/wiki/Scrypt it says that ...
0
votes
1answer
760 views

Mining: GetWork, Get Nonce, ???, Submit Hash?

I make a getwork request and get back data, hash1, midstate, and target. Mining on a KC705 development FPGA board, and following the readme.md file here: ...
3
votes
1answer
923 views

Please explain getwork

Request: POST / HTTP/1.1 Host: de.btcguild.com:8332 Accept: */* Accept-Encoding: deflate, gzip Content-type: application/json X-Mining-Extensions: longpoll midstate rollntime submitold ...
2
votes
1answer
249 views

How are pools protected from a client “pretending” to mine?

I understand that the GetWork JSON API is used to get a block that needs to be hashed. I also understand there are many pool payout methods (PPS, etc). With regard to mining clients and the pool ...
3
votes
1answer
474 views

Is my idea of getwork protocol for bitminer right?

I am trying to understand the idea behind getwork protocol, by sniffing my communication with a bitminter miner pool. Previously I have read the discussion here, but looking at my packets, I think ...
6
votes
1answer
966 views

Example accepted getwork function input and output?

I'm looking for example getwork input and output of a successful block hash to verify a getwork client I've implemented. I'd also accept suggestions on better ways to verify this. I've looked at ...
2
votes
1answer
119 views

Does the getwork id value do anything?

When sending a getwork request, one always includes an id value. Does this value have any meaning? Will it cause problems to have multiple miners use the same id? Furthermore, if I wanted to send some ...
5
votes
2answers
2k views

How does a miner perform hashing?

I'm trying to walk my way through the process by which a miner hashes. Let's say the getwork request returns a data field of: ...
4
votes
1answer
2k views

What is the extraNonce?

This question helps identify the various components of the getwork "data" field, but I'm curious where the extraNonce comes from. My hunch is it's the first four bytes of the second half of the data, ...
4
votes
1answer
1k views

What are midstate and hash1 used for in mining?

The first answer here does a good job explaining how the SHA-256 function requires more than one input (an initial one is specified by to the SHA-256 specs). As far as I understand it, the "midstate" ...
3
votes
2answers
109 views

Could many large forks cause a DoS attack on the miner?

Suppose it was possible to influence a miner to create many forks. My understanding is that a miner won't retransmit the fork, but will track it internally. Where is this information saved in a ...
5
votes
1answer
845 views

What are the internal details of GetWork() .. the foundation of Bitcoin mining?

According to this answer GetWork() sends "a chunk of data containing the block data, including the randomized bits, and the nonce (the bit which the miner changes)." Can anyone provide details on ...
2
votes
1answer
540 views

How does the rate of getwork requests correlate with the hashrate of a miner?

In a setup where a standard bitcoind serves full difficulty targets to some mining nodes, how can I calculate the hashrate of a mining node from looking at the rate of getwork requests? Does this ...
4
votes
2answers
157 views

How soon does bitcoind incorporate locally solved blocks into its 'getwork' output?

If one sends a solved block to bitcoind server using getmemorypool or getwork, and right after that requests a new block using the same API call, what will the server respond with? Assuming the data ...
2
votes
1answer
211 views

Getwork and GetMemoryPool - why is previous block hash different?

When I called: print bitcoin.getmemorypool() print bitcoin.getwork() using Python JSON for a testnet BitcoinQT server, I got the following responces: {'previousblockhash': ...
2
votes
2answers
1k views

Pool getwork “target”?

In a getwork request, bitcoind sends a target corresponding to the current block's bits value. Do the major pools send the same target as one would expect from bitcoind, difficulty of "1" target, or ...
3
votes
1answer
755 views

In Getwork, how does one calculate the value of Hash1?

(I know the hash1 and midstate are eventually going to be deprecated, but I'm a little curious about them) In Getwork there is a field hash1. From a sample call to bitcoind I received its value as: ...
4
votes
1answer
278 views

Getwork - can the miner increment timestamp?

When requesting getwork from bitcoind or a pool, the miner is expected to be incrementing the nonce value of the block, but can it also increment the timestamp value, or would such tempering cause a ...
2
votes
3answers
1k views

Bitcoin pool and getwork data validity

Bitcoin pools need to check data returned with getwork for validity (proper hashing result, etc.). Bitcoind that issues the initial getworks is also able to perform some data checking, but it might ...
1
vote
1answer
268 views

Miners - HTTP JSON-RPC or JSON-RPC?

Does the main miner software used currently use HTTP JSON-RPC, or JSON-RPC? That is, do they use HTTP calls to obtain getwork, or TCP/IP?
3
votes
1answer
659 views

JSON-RPC getwork data field

I recently tried playing around with the getwork command for JSON-RPC and I'm trying to understand what I got out of it. According to the API Call List wiki entry, the "data" field should contain the ...
1
vote
2answers
242 views

Mining software not using Json-RPC?

Is there some mining software out there that doesn't use Json-RPC as a communication method with the mining pool? If so, what protocol are they using?
4
votes
1answer
5k views

How does one mine Namecoins?

In order to mine Bitcoins, one needs to start the bitcoind with "-server" flag and later request from it a getwork to solve. Does the Namecoin client operate in the same way, or is there some specific ...