Bitcoin Forum
November 18, 2024, 03:11:22 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Are all pools running non open source stratum implementations?  (Read 129 times)
jungly (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 5


View Profile
August 16, 2021, 09:39:35 AM
 #1

I was kind of expecting to find some open source implementations of Stratum servers.

Seems like all pools are running some proprietary closed source servers. Is that really the case? I hope I am missing something here.

The only FOSS implementations is from Slush, but the last commit is from Dec 2016. https://github.com/slush0/stratum-mining

The other one is from braiins (slush again). https://github.com/braiins/braiins/tree/bos-devel/open/protocols/stratum/src/v1. Is this used by any pools in production?

Any pointers will be really helpful.

Thanks
mocacinno
Legendary
*
Offline Offline

Activity: 3584
Merit: 5243


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
August 16, 2021, 10:11:18 AM
 #2

It has been years since i last setup a pool, but back in the day there were several open source implementations available...

The last one i installed was p2pool, which isn't a classic pool implementation, but it worked like a charm.
Then, there were yiimp, nomp, yaamp, and a couple others aswell.

This being said, installing and maintaining a pool isn't an easy task. It's never a one-click solution and walktroughs seldom work out-of-the-box. Also, the open source implementations sometimes lag behind in forms of implementing new features or new technology.

I guess most bigger pools run their own implementations, or at least run heavily modified versions of both node and pool software because they have a better grasp at their own implementations, they can update them faster, they can implement their own mempool management, decide which transactions end up in blocks, add payout logic,...

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 16, 2021, 10:26:41 AM
 #3

...
The other one is from braiins (slush again). https://github.com/braiins/braiins/tree/bos-devel/open/protocols/stratum/src/v1. Is this used by any pools in production?
...

braiins is a miner, not a pool.
It's also closed source - they stopped the open source part when they updated the code to a '+' version that is closed source.
While it's not considered a copy, it's designed based on cgminer.

The original most prolific open source miner is of course cgminer.
Latest updates are in my git of course, since I was kicked out of the original git and he shut it down Tongue

https://github.com/kanoi/cgminer

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1573


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
August 23, 2021, 03:37:36 AM
 #4

Well you are incorrect there. Only bosminer+ is closed, the rest is the same. Its like calling Ubuntu closed because it brings nvidia drivers... Bosminer is still open, and still works with S9s. Can you rust? Last time you modded cgminer to please Bitmain didn't end very well did it?

Open source pools? Sure, here: https://bitbucket.org/ckolivas/ckpool

Also the thing made by Slush linked by the OP, is NOT Braiins OS, but something you can point miners to, it talks to bitcoind so its exactly as OP said: a Stratum server.

Why do you bring the mining client when op was clearly talking about pool server? And where is kanominer anyway? Less words, more code. kanopool also missing, of course, talk is cheap.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 23, 2021, 04:43:38 AM
Last edit: August 23, 2021, 01:46:03 PM by kano
Merited by NotFuzzyWarm (2)
 #5

Well you are incorrect there. Only bosminer+ is closed, the rest is the same. Its like calling Ubuntu closed because it brings nvidia drivers...
Not a valid comparison at all.
It is like correctly calling nvidia closed because, yes it is closed.
You didn't write linux ...
Your bosminer+ is closed source, you can't see what code is in it, only what code might have been in it before you closed it, and who knows what changes you have made.
For all anyone knows it could be stealing hashes, providing mining information to 3rd parties, passing extra private information to the pool ... etc ... etc ...

Quote
Bosminer is still open, and still works with S9s. Can you rust?
Last updated more than a year ago - it's pretty much defunct.
You want everyone to use the + closed source version, not that one.

Quote
Last time you modded cgminer to please Bitmain didn't end very well did it?
I'm wondering when the first time was that I modded cgminer to please Bitmain ...
The first, second and third time I modded cgminer to include S1/S2/S3, I modified the driver to improve it, then and still is much better than the Bitmain ones for those machines.
I fixed some rather major issues in their code, the most well known being the fact that until the S7 or S9, BM firmware would discard blocks if they considered them stale, which also caused problems for p2pool losing valid blocks, but they didn't copy the fix from the public cgminer git I did for that in the S1/S2/S3 back to their code until either the S7 or S9 (not sure which one).
Damn shame about that one Smiley
Ended very well indeed - best driver for those three are there in the cgminer public opensource git, based on their code, but includes some rather important fixes I coded also with some good performance improvements and options for variable frequency and other settings.
I of course also released the opensource firmware mods (still available) for those three.
Though I'm not sure if anyone else did that before me, was I the first to do that? Not sure Smiley
I'm not gonna lie about it like slush does and say I'm first, coz I don't know.
Though we do know (and slush always knew) that slush pool wasn't the first pool.

Quote
Open source pools? Sure, here: https://bitbucket.org/ckolivas/ckpool
Funniest thing about listing that is, that it contains more code in it by me than anyone else ... as my sig states.

Quote
Also the thing made by Slush linked by the OP, is NOT Braiins OS, but something you can point miners to, it talks to bitcoind so its exactly as OP said: a Stratum server.
Why do you bring the mining client when op was clearly talking about pool server?
You are indeed correct, I saw the word 'Braiins' and assumed it was the miner.

Quote
And where is kanominer anyway? Less words, more code. kanopool also missing, of course, talk is cheap.
So since talk is cheap, as you've made it clear with your own, where's your opensource code?

kanominer is here:
https://github.com/kanoi/cgminer
with recent commits and very shortly I'll commit all the opensource code I added for the new CompacF Ferrari which uses an S17 chip Smiley
unlike braiins+ closed source S17 code.

The old version of the public code used for kanopool is here:
https://bitbucket.org/ckolivas/ckpool

All opensource ...

Where's the slush pool code?
I remember slush complaining on the forum, while arguing with me, about changing it to fix the only valid issue in stratum, so he wouldn't ...
They probably should have considered at least fixing that in the 'marketing only' stratumv2

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1573


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
August 23, 2021, 01:58:43 PM
 #6

Braiins OS is Linux, literally. Parent distro is Openwrt 17, which is also used by some other Asic manufacturers.

Bosminer+ has the single addition of the autotuning logic and implementation.

Well you can ask Slush directly, if he wants to reply... But that is his software given to Braiins.


The question is, why you never pushed the fork button and renamed the project kanominer (or whatever) and continued maintaining it. Same for ckpool.

Braiins OS is here: https://github.com/braiins/braiins/tree/bos-devel/braiins-os

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 23, 2021, 02:13:40 PM
Last edit: August 23, 2021, 02:25:24 PM by kano
 #7

...
The question is, why you never pushed the fork button and renamed the project kanominer (or whatever) and continued maintaining it. Same for ckpool.
...
Simple, it's a work of many people, and those are the names they were given.

con and I agreed on the name ckpool since c for him and k for me - which again, as I stated, has more code in it by me than him or anyone else.
I had commit privs on the git until around 2017

cgminer was forked from garzik's miner by con and called cgminer by con before I had anything to do with it.
I had commit privs on his git until around 2017
I just happen to be the 2nd most prolific developer of it.

From now on, cgminer is my git, since con archived his git and closed the forum thread.
https://github.com/kanoi/cgminer

Edit: looks like I created that fork around Sep 18 2011

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!