Questions tagged [stratum]
The stratum tag has no usage guidance.
93
questions
1
vote
1
answer
147
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/...
1
vote
1
answer
76
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 ...
0
votes
1
answer
41
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 ...
1
vote
1
answer
258
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 ...
0
votes
0
answers
70
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 ...
0
votes
1
answer
106
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?
0
votes
0
answers
89
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....
2
votes
1
answer
290
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 ...
0
votes
1
answer
95
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....
2
votes
1
answer
316
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 ...
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 ...
0
votes
1
answer
260
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 ...
1
vote
1
answer
207
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 ...
1
vote
0
answers
179
views
Stratum: How many shares should I submit per job?
I'm implementing a bitcoin CPU miner just for fun in python. I've been reading a lot about bitcoin and the protocol pools use for communication and coordinating workers but there is a key concept I ...
3
votes
1
answer
833
views
What is a correct extranonce2 value in the stratum protocol?
I'm developing a stratum mining client. I read on stratum v1 docs on braiins.com how mining work is done on the stratum protocol and that the coinbase is done by concatenating coinb1+extranonce1+...
3
votes
0
answers
223
views
How do I compute the coinbase in for a stratum pool?
I searched around Google and didn't get a correct answer, some one says I should use:
hashed_coinbase_ = coinbase1 + extranonce + extranonce2 + coinbase2;
And some other pages says:
hashed_coinbase_ =...
1
vote
0
answers
38
views
Can someone explain the reason for this discrepency in speeds?
Can anyone shed some light on why this is happening?
Firmware is reporting 15TH/s but BFGMiner says its only running at 200GH/s
0
votes
2
answers
3k
views
Stratum protocol - problem with implementation in python
For a couple of days I'm trying to write simple script in python to communicate with stratum pool server. I'm using simplified code of NightMiner (https://github.com/ricmoo/nightminer/) and some ...
1
vote
1
answer
95
views
Why does it make sense for mining pools to send empty blocks to miners in Stratum v1?
I am reading the recently released specs of Stratum v1 versus Stratum v2. One of the features is that "it is equally as efficient for pools to send full blocks for miners to begin working on as it is ...
1
vote
1
answer
539
views
reconstruct block template from stratum mining.notify
I have a mining notification from a stratum pool. I wish to write a general script to extract the value of the block reward that the pool is taking. That is, reconstruct the block template, or at ...
0
votes
1
answer
329
views
Startum protocol extranonce2 - where the extraNonce2 comes from
I'm curious where the extraNonce2 comes from in stratum protocol?
In the official documentation, I found
Extranonce2_size - Represents expected length of extranonce2 which will be generated by the ...
0
votes
1
answer
715
views
Stratum protocol - problem with mining.submit method
code was written according to documentation.
I have following lines for submit method
submit() {
// ["<worker.name>", "<jobID>", "<ExtraNonce2>", "<ntime>", "<nonce>...
0
votes
1
answer
75
views
Do pool operators usually set block version numbers before their clients hash?
I know that pool operators have the power to modify the actual transactions in a block. I also know that pool operators can decide on block transaction orderings and even commit double spends pretty ...
0
votes
1
answer
349
views
How does MPOS communicate with stratum server?
I'm setting up MPOS. There are 3 stratum server options: stratum-mining, NOMP, and CoiniumServ. How does MPOS talk with stratum server? AFAIK, MPOS does not speak stratum protocol. Is it through the ...
2
votes
1
answer
152
views
Do pools distribute "jobs" to miners based on "failed" solutions which have already been submitted?
My question is this: How exactly does the stratum protocol distribute "work" to miners? More specifically, since mining can be compared (in many regards) to "brute forcing" a cryptographic hash (i.e. ...
0
votes
1
answer
407
views
How to Build Block Header in stratum?
When I studied the stratum on here,I found that there were little difference between the stratum and solo mining for building block header.
The stratum tell us that we needed to pad the header to ...
1
vote
1
answer
432
views
How did Extranonce2_size change?
From stratum,I know that the coinbase is composed of "Coinb1 +Extranonce1 + Extranonce2 + Coinb2".
How did Extranonce2_size change ?
Will the Extranonce2_size change when I connect to a pool?
0
votes
1
answer
168
views
Does xmr-stak use Stratum?
Using Wireshark to analyze packets sent by xmr-stak, I found them to be inconsistent with those of Stratum (https://en.bitcoin.it/wiki/Stratum_mining_protocol).
From Wireshark:
{
"method": "login",...
0
votes
1
answer
305
views
What's an example of an ExtraNonce2 value that would be considered invalid?
I've been learning about mining as part of a pool and using the Stratum protocol to submit completed work back to a pool -- https://en.bitcoin.it/wiki/Stratum_mining_protocol . There is this ...
0
votes
1
answer
1k
views
What's the point of the "clean jobs" parameter in Stratum's "mining.notify" protocol?
As I learn about the Stratum protocol, which allows a mining pool to coordinate work with its workers, I was curious what the "clean jobs" param in the mining.notify method means. Per the spec -- ...
0
votes
1
answer
3k
views
What is ExtraNonce2?
I'm reading about the Stratum protocol where miners contribute to pools. Specifically there is a "mining.submit" method -- https://en.bitcoin.it/wiki/Stratum_mining_protocol, in which I miner will ...
1
vote
0
answers
348
views
Solo Mining with Diablo-D3 Miner and Stratum
I'm using Diablo-D3 Miner to solo mine for a personal project. I setup Diablo-D3 Miner on my machine but since I do not want to download the entire blockchain (currently, over 200 GB) I decided to go ...
0
votes
0
answers
259
views
How often should a mining pool be notifying workers about new work (cancelling current jobs)?
I'm trying to get a handle on the Stratum mining pool protocol. If I set up a mining pool client, I will initially get something to work on. Let's say it takes me a while (e.g. an hour) to solve the ...
0
votes
2
answers
206
views
Does a logical mining pool assign harder and harder difficulty to the same miner?
Although every mining pool can do things differently, I wanted to get a handle on how a logical pool would behave. If a miner joins the pool and solves a hash at a low difficult, submits the result ...
0
votes
1
answer
524
views
Mining without full node
In my understanding it should be possible to run stratum server over some kinda limited node (the one that doesn't carry whole blockchain) since stratum doesn't need many functions from the daemon... ...
0
votes
2
answers
904
views
How do honest mining pools generally divide their rewards?
I've been reading a little about mining pools and the Stratum protocol for requesting work from mining pools and it got me to wondering. How does an honest mining pool divide up rewards? I see that ...
1
vote
1
answer
462
views
Does each miner in a bitcoin mining pool have a chance to win the block reward?
Suppose there is mining pool XYZ. 10 miners, 1 through 10, are subscribed to it and miners have varying hash power. Some have 10 GPU mining rigs, while others have just a single CPU running 24 hours a ...
0
votes
1
answer
345
views
what is preventing me from changing difficulty every submit when pool mining?
If I do pool mining at difficulty=1000 and I find a share with difficulty=2000, I can tell the pool that I was mining at difficulty=2000 and then submit the share. I can earn more in this way.
Does ...
0
votes
1
answer
1k
views
Stratum proxy on Windows
I am looking to do solo mining on a SHA-256 altcoin by purchasing hashrate from NiceHash. I have the client set up on a Windows Server 2016 VPS and the blockchain is synced. For NiceHash to point the ...
3
votes
1
answer
714
views
How is a stratum connection secured?
Does stratum mining use something similar to "https" to secure traffic between the pool and the miners?
1
vote
1
answer
775
views
Do pool servers check for duplicate shares?
Assume, for the sake of argument, that I am a miner and that I am ready to cheat. The (stratum) pool server sends me a notify message and I start mining. I find a valid share. I submit it to the pool ...
4
votes
1
answer
7k
views
What is a Stratum "mining.set_difficulty" command for?
On the Stratum protocol the server may issue the following notification:
{ "id": null, "method": "mining.set_difficulty", "params": [2]}
What is this difficulty used for? from my understanding the ...
7
votes
1
answer
10k
views
How do I find a list of all Electrum public servers?
I'm developing software that will connect to "Electrum Servers", the same public servers that Electrum Wallet connects to. The user will be able to specify a custom host if they want, so it ...
1
vote
0
answers
823
views
Bitmain S9 BMMINER does not respond to Stratum set_difficulty command
We use a modified version of this library to implement the first SHA256 multi+merge mining pool.
It works just fine with the S7 which has CGMiner 4.8 ("cgminer/4.8.0").
However, the S9 with BMMINER 2 ...
0
votes
1
answer
798
views
Stratum mining, jobID and stale/rejected shares
Let's imagine following situation:
I've got a job from stratum pool, miner found golden nonce and sending it over the pool.
While waiting for pool response, miner found another satisfying nonce ...
1
vote
0
answers
454
views
Does Stratum cause mining to be more centralized than getBlockTemplate would?
I read the question "I don't understand the "51% attack" problem. Why does a mining pool have power with a 51% share?" and its anwers. That made me wonder that since the GBT protocol is ...
0
votes
1
answer
2k
views
What should a stratum server do with "mining.submit"?
I write some stratum server, for mining in the pool. The answer goes from the client to my server:
{"method": "mining.submit", "params": ["g", "06a8", "01", "1d025f83",
"c03f38ac"], "id":4}
...
1
vote
1
answer
340
views
what's the link between iSCSI protocol and "stratum+tcp attacks
I found a strange file under/var/tmp directory, named ietd.conf
{
"url" : "stratum+tcp://188.165.254.85:80",
"user" : "46Z6dQ77i2qAapF4kjLXaaYKCB59eajwaZbmtyyPsxDXWyxPS5nfYoe5t4R7yTgsvT
...
1
vote
1
answer
880
views
Get transaction history of address using electrum commands
I am using electrum protocol to query history of a bitcoin address using blockchain.address.get_history.
All is good; I am receiving the tx data for every transaction. My problem is that I am unable ...
1
vote
0
answers
128
views
Stratum Server with twisted: Worker Autoadd enabled, nut not working?
I have a problem with Twisted, It works but I have set the config.py the Param for USERS_AUTOADD = True but it doesnt works?
Already restarted my Ubuntu 14.04 LTS 64 bit, and Stratum too, but it ...