Pages:
Author

Topic: [Stratum] Overlay network protocol over Bitcoin (Read 37890 times)

sr. member
Activity: 266
Merit: 250
Looking for a stratum developer to modify stratum a bit. We will pay btc for the modification

We want to limit amount of shares per minute that an IP can send to stratum AND limit the worksize. This will weaken asics and big farms and make em compareble to gpu miners (so asic owners will just leave and mine something else). Is it possible? Please PM me if you have an idea

sounds like a job for a firewall with rate-limiting.
but: its a horrible idea
full member
Activity: 140
Merit: 100
POOL.MN - we mine the hottest coins!
Looking for a stratum developer to modify stratum a bit. We will pay btc for the modification

We want to limit amount of shares per minute that an IP can send to stratum AND limit the worksize. This will weaken asics and big farms and make em compareble to gpu miners (so asic owners will just leave and mine something else). Is it possible? Please PM me if you have an idea
newbie
Activity: 19
Merit: 0
Hi,

can somebody explain me what is the session in stratum?

Quote
{"error": null, "id": 1, "result": [["mining.notify", "ae6812eb4cd7735a302a8a9dd95cf71f"], "00000001", 4]}

Can I ignore this parameter? What is it? Can I set this parameter?

Thanks for reply
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
They expect us to reverse engineer python source code
I am not sure if this was sarcasm, but if it was, I would've preferred a C or C++ implementation. I have more experience with those than Python.
legendary
Activity: 1708
Merit: 1010
They expect us to reverse engineer python source code

Consider it a trial by fire.  If you can't figure it out, they don't want your help.
hero member
Activity: 675
Merit: 514
They expect us to reverse engineer python source code
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
Am I the only one that was not satisfied with the Stratum documentation? I personally found it lacking in explanation a lot, I couldn't write an implementation.
newbie
Activity: 22
Merit: 29

Rather, I should say, I understand what's written in the Stratum spec. Would appreciate enlightenment on what I'm missing if you're sure I don't understand what Stratum's addressing.
newbie
Activity: 22
Merit: 29

I understand it, and I'm talking about the network protocol aspect of it.
legendary
Activity: 1708
Merit: 1010

Guys,

Nice work on Stratum. A note that I hope you will take to heart --- this problem is already solved by open protocol standards (at least in TCP point to point cases). The rest of the financial world is already using it so for the purpose of easing future integration, it's best to leverage that instead of re-invent the wheel.

The FIX (Financial Information Exchange) protocol already covers all the requirements listed in Stratums spec and has been used for over 15 years in the financial world for relaying messages for trading, market data, request for quotes, and others. A recent open source implementation in C++ allows you to easily define new schema (xml, json) to extend the protocol.

http://fix8.org/

The protocol supports replay through sequence numbering, etc.
There are open source implementations in C++, Python, and Java, and possibly others. Oanda's FX trading system uses it:
http://fxtrade.oanda.com/images/FixSpecifications2.pdf

What you want is this to be adapted to the web server/client model.


I don't think you really understand what problem Stratum addresses.
newbie
Activity: 22
Merit: 29

Guys,

Nice work on Stratum. A note that I hope you will take to heart --- this problem is already solved by open protocol standards (at least in TCP point to point cases). The rest of the financial world is already using it so for the purpose of easing future integration, it's best to leverage that instead of re-invent the wheel.

The FIX (Financial Information Exchange) protocol already covers all the requirements listed in Stratums spec and has been used for over 15 years in the financial world for relaying messages for trading, market data, request for quotes, and others. A recent open source implementation in C++ allows you to easily define new schema (xml, json) to extend the protocol.

http://fix8.org/

The protocol supports replay through sequence numbering, etc.
There are open source implementations in C++, Python, and Java, and possibly others. Oanda's FX trading system uses it:
http://fxtrade.oanda.com/images/FixSpecifications2.pdf

What you want is this to be adapted to the web server/client model.
newbie
Activity: 1
Merit: 0
I've started a MIT licensed java implementation of a Stratum client.

Its my first check in (i.e. not even 0.0.1 yet!) that I've tested it with some dogecoin pool servers and it seems ok, but it has not undergone any serious production or load testing yet (in particular I've not gone over it with any stress testing for synchonisation yet so there might be some concurrency bugs to be worked out). 

It is designed to be fairly self contained and uses a hopefully simple to use observer pattern for call backs into calling-code.

https://github.com/matt1/stratum-client-java
newbie
Activity: 6
Merit: 0
Hello

I am building a new miner software and I have a few questions about stratum protocol.

My first question for now is "How can I generate target from the nBit ?"
If someone knows please provide some code in any programming language you like.

Thank you for your replies

legendary
Activity: 1386
Merit: 1097
Can you link to them? Perhaps add links to them from the stratum server readme on github?

There are python, php and js implementations, all available on https://github.com/slush0
legendary
Activity: 1358
Merit: 1003
Ron Gross
BTW, can someone update here on the status of the server network?

- How many Stratum servers are there? (is there a directory)
- Who runs them all?
- Are there reliable & trustworthy (two separate questions)?
- Has there been any thought about connecting to multiple stratum serves for security purposes (so one server can't lie to you)? I guess that this is a client-side effort, no server-side.
- Where is Stratum used today in production?
legendary
Activity: 1358
Merit: 1003
Ron Gross
Is anybody aware of any java implementations that are using the Stratum protocol?

Open source preferably ...  Smiley

There are python, php and JS implementations, but I don't know about working Java binding yet Sad. But please publish it on github if you'll make one Wink.

Can you link to them? Perhaps add links to them from the stratum server readme on github?
legendary
Activity: 1358
Merit: 1003
Ron Gross
Is anybody aware of any java implementations that are using the Stratum protocol?

Open source preferably ...  Smiley

There are python, php and JS implementations, but I don't know about working Java binding yet Sad. But please publish it on github if you'll make one Wink.

I started something 7 months ago.
Sadly it's not even a working prototype ... think of it as preliminary work - I was just trying to get a feel on how to work with BitcoinJ and Stratum. Feel free to use or ignore.

legendary
Activity: 1386
Merit: 1097
Is anybody aware of any java implementations that are using the Stratum protocol?

Open source preferably ...  Smiley

There are python, php and JS implementations, but I don't know about working Java binding yet Sad. But please publish it on github if you'll make one Wink.
newbie
Activity: 41
Merit: 0
Is anybody aware of any java implementations that are using the Stratum protocol?

Open source preferably ...  Smiley
hero member
Activity: 668
Merit: 501
is there a method to query addresses in bulk?
like the proposed bloom filter commands in the main client?

and what is the story if a chain reorganisation occurs? how can a transaction become invalid?
Pages:
Jump to: