Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [stratum]

The tag has no usage guidance.

0 votes
0 answers
62 views

How should I order the block header data in messages with the pool?

First i am creating this post to benefit all of you who are really into understanding and building your own miner from the scratch. There is so many materials but rarely have anything in common. I ...
menelique777's user avatar
2 votes
0 answers
42 views

Any man-in-the-middle (MITM) hashrate theft examples

One benefit of Stratum V1 to Stratum V2 is protection from man-in-the-middle (MITM) hashrate theft. Are there any documented examples of man-in-the-middle (MITM) hashrate theft in practice ? Like ...
WebOrCode's user avatar
  • 373
1 vote
1 answer
264 views

Why does the Stratum protocol use a Share Difficulty of 2^32?

In the comments below his answer to my recent question about Network Difficulty, Pieter noted that Stratum Share Difficulty is an entirely separate concept. See https://bitcoin.stackexchange.com/a/...
sha2fiddy's user avatar
1 vote
1 answer
111 views

Is it better to have multiple connections with stratum protocol or a single one for the entire proxy to the pool?

I'm currently trying to code my own BTC proxy mining pool that need to handle at least 20k workers but I'm still in need of information to build it correctly. My main inquiry is about the TCP ...
ByFish's user avatar
  • 11
0 votes
1 answer
78 views

Calculating hashrate from stratum messages

Interested in validating algorithm for calculating hashrate from stratum messages. From my understanding following data is needed: start_time , time when miner started calculating end_time, time when ...
WebOrCode's user avatar
  • 373
1 vote
1 answer
299 views

Constructing a block template to avoid mining "empty" blocks

In my understanding, Stratum V2 can help avoid "empty" blocks (ref A, ref B), as most of the information can be distributed ahead of time, i.e. before the next block is mined. To avoid ...
C-Otto's user avatar
  • 452
0 votes
0 answers
95 views

Bitcoin Stratum Protocol Implementation In Python

First of all, I am very new to Bitcoin mining and using Python to learn Bitcoin mining for educational purpose. I am using AntPool for pool connection. When I send mining.subscribe request, it returns ...
Sajjad Hossain Sagor's user avatar
0 votes
1 answer
120 views

Stratum V2 incentives?

I am wondering about the prospects of resolving increasing mining pool centralization. What is the incentive for miners and pools to support Stratum V2?
hashimov's user avatar
0 votes
0 answers
126 views

How to calculate the pool difficulty based on mining.set_difficulty method from Stratum protocol?

I am trying to build a simple python cpu miner and I have referenced a few other github repos (for learning purposes not for money purposes). I've noticed that many of them simply ignore the mining....
Isaiah Clemons's user avatar
2 votes
1 answer
369 views

How does stratum v2 work?

I want to know how much independence miners have when they join a pool. Do the individual miners create the block headers and choose which transactions to include in their block or is the block just ...
Marco's user avatar
  • 395
0 votes
1 answer
104 views

Can you infer the geolocation of a stratum server from its address?

Is it possible to determine the geolocation of a bitcoin mining pool's stratum server address? For instance, Antpool has a server with the address stratum.antpool.com:3333. See: https://help.antpool....
Apod's user avatar
  • 103
2 votes
1 answer
423 views

Where on the web can I find a Stratum protocol specification document?

I am writing my own mining pool server for Bitcoin and would like to work with a detailed and complete specification document for the Stratum protocol. There are documents on the web that casually ...
andrewz's user avatar
  • 257
11 votes
1 answer
1k views

Where are BIPs 40 and 41?

I can't find documentation about BIP 40 or BIP 41 anywhere on the web. The list of BIPs shows that they are by Marek Palatinus, but there are no links to them. BIP 0040 is about the Stratum wire ...
andrewz's user avatar
  • 257
0 votes
1 answer
315 views

Questions on Merkle root hashing for Stratum pools

These questions are partially inspired from this post on Merkle root hashing by pool operators. My understanding is that for Stratum mining the only hashing the pool has to do is produce the Merkle ...
jatroy's user avatar
  • 3
1 vote
1 answer
230 views

Why is my target different from a miner?

I'm developing a miner to study how mining works and I've connected it to a pool using Stratum. When I use the bits provided by the pool to calculate the target, it is different from the miner that I ...
bot's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
7