Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100k GRC bounty -> make a secure and opensourced Gridcoin pool #2

Open
Erkan-Yilmaz opened this issue Jan 20, 2017 · 55 comments
Open

Comments

@Erkan-Yilmaz
Copy link
Owner

Erkan-Yilmaz commented Jan 20, 2017

Gridcoin has only 1 pool, and when this would not work anymore it'd be bad for newcomers.
It works ok, but the payout is not immediate

Thus the idea is to make an opensourced one:
https://cryptocointalk.com/topic/49262-open-source-project-gridcoin-pool-boinc-account-manager/

Dis-/Advantages of a pool: https://steemit.com/gridcoin/@erkan/pool-or-solo-mining

mentioned in hangout 1:

  • 0:55:50-0:59:10
    • @fkinglag pay Katie a bounty ?
    • @spassbold "definitely worth to pay quite a lot to get this opensourced"
  • 0:10:00
@Erkan-Yilmaz Erkan-Yilmaz changed the title open sourcing the Gridcoin pool POOL: open sourcing it Jan 20, 2017
@grctest
Copy link

grctest commented Jan 22, 2017

Katiee would likely only open-source the pool if she closed down pool.gridcoin.co, in which if there was no immediate replacement we may disenfranchise the existing pool users (over 1000).

I do believe that creating an open-source pool kit is a high priority item though, multiple pools will create competition which will hopefully drive innovation.

@Erkan-Yilmaz
Copy link
Owner Author

Erkan-Yilmaz commented Jan 22, 2017

we have now a bounty for this task:

Quez: "I set up a bounty of 10,000 GRC for the individual or group who finishes the secure open source pool project."
https://cryptocointalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/page-1217#entry232096

I think, this is his github account: cc @Quezacoatl1

@frank0051
Copy link

I don't use pools because I want the BOINC credit, but how do we get Katiee to provide her code? Or is someone else actively working on a new pool source? I'll put in 10K GRCs as well.

@Erkan-Yilmaz Can you edit the title so we know how much the bounty is up to?

@Erkan-Yilmaz Erkan-Yilmaz changed the title POOL: open sourcing it POOL: open sourcing it -> BOUNTY of 20000 GRC Jan 22, 2017
@Erkan-Yilmaz
Copy link
Owner Author

@frank0051 edited, and thank you for the bounty

@Erkan-Yilmaz Erkan-Yilmaz changed the title POOL: open sourcing it -> BOUNTY of 20000 GRC 20k GRC bounty -> make a secure and opensourced Gridcoin pool Jan 22, 2017
@Erkan-Yilmaz Erkan-Yilmaz changed the title 20k GRC bounty -> make a secure and opensourced Gridcoin pool 40k GRC bounty -> make a secure and opensourced Gridcoin pool Jan 22, 2017
@Erkan-Yilmaz
Copy link
Owner Author

DasTholo added also 20k GRC as bounty:

"I would increase the bounty by 20000 GRC!"

see https://cryptocointalk.com/topic/49262-open-source-project-gridcoin-pool-boinc-account-manager/page-3#entry232122

@Erkan-Yilmaz
Copy link
Owner Author

"QZ and me started a repository with issues to start a collaborative implementation":

"OSS Gridcoin pool that pays regularly to clients in proportion to their BOINC contribution."
https://github.com/gustav1976/grcpool

https://cryptocointalk.com/topic/49262-open-source-project-gridcoin-pool-boinc-account-manager/page-3#entry232128

@Erkan-Yilmaz Erkan-Yilmaz changed the title 40k GRC bounty -> make a secure and opensourced Gridcoin pool 60k GRC bounty -> make a secure and opensourced Gridcoin pool Jan 22, 2017
@frank0051
Copy link

Dude, we're changing the GRC world here - this bounty is going to be HUGE!

@Erkan-Yilmaz Erkan-Yilmaz changed the title 60k GRC bounty -> make a secure and opensourced Gridcoin pool 70k GRC bounty -> make a secure and opensourced Gridcoin pool Jan 22, 2017
@Erkan-Yilmaz
Copy link
Owner Author

Erkan-Yilmaz commented Jan 22, 2017

lennstar added: "you can get 10K from me for the pool too"
comment here
https://cryptocointalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/page-1217

@Erkan-Yilmaz
Copy link
Owner Author

Katiee would likely only open-source the pool if she closed down pool.gridcoin.co,
in which if there was no immediate replacement we may disenfranchise the existing pool users (over 1000).

stats from fediverse:

  • "Katie's pool: 1 account to which 1988 accounts contribute to, 26.8% of them active"

So, 533 active users there currently

BUT, after a certain event the 1455 inactive users would try to come back, and then BOOM, nothing there :-(

cc @grctest

@Erkan-Yilmaz
Copy link
Owner Author

Erkan-Yilmaz commented Jan 22, 2017

someone asked here what a pool is:

I've added my thoughts there what I'd expect from a pool, in short:

  • same features as Katie's pool
  • eliminating known disadvantages of pools:
    • e.g. that pool members are also able to influence Gridcoin polls (e.g. on the pool website + the majority outcome of this is used by the pool operator to vote in the Gridcoin poll itself)

another thing to add:

  • "charitable pool: I want to give x % of my earnings to a charity + select which charity XYZ to give it to" (mentioned in hangout 5)

Also, see #54:
approach account managers, POW pools about helping us with opensource pool

@Erkan-Yilmaz
Copy link
Owner Author

Alien: "I would add 30K GRC to the bounty, what address should I send to? Thanks"

https://cryptocointalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/page-1218#entry232217

@Erkan-Yilmaz Erkan-Yilmaz changed the title 70k GRC bounty -> make a secure and opensourced Gridcoin pool 100k GRC bounty -> make a secure and opensourced Gridcoin pool Jan 23, 2017
@Quezacoatl1
Copy link

I have set up a bounty GRC address for those who wish that I take care of their bounty payment.
SHGHP2BVCpbwVxX9cqoc9xt8aTToPxSyes
http://gridcoinstats.eu/addresses.php?a=view&id=SHGHP2BVCpbwVxX9cqoc9xt8aTToPxSyes
The address curently contains 30k GRC from Alien and 10k from myself.

@sergiofbsilva
Copy link

das Leben ist nicht leicht :-)

@Quezacoatl1
Copy link

BTW, development efforts can be seen at grcpool.com
http://gridcoinstats.eu/addresses.php?a=view&id=SHGHP2BVCpbwVxX9cqoc9xt8aTToPxSyes now counts 60k GRC

@Erkan-Yilmaz
Copy link
Owner Author

I talked in hangout 23 about my ideas of what should go into the pool kit

@Quezacoatl1
Copy link

Quezacoatl1 commented Feb 11, 2017

@Erkan-Yilmaz can you maybe summarize your ideas here, maybe you even have more? I'd like to give the list to BGB who is currently working on grcpool.com :)
You can also go to the pool website, maybe you have constructive critizism?

@bryhardt
Copy link

bryhardt commented Mar 4, 2017

just saw this thread, @Erkan-Yilmaz I would like to hear anything you want about the pool. The bulk of things are working ok so far. so i am tidying things up for open sourcing and creating apis. So it would be a great time to entertain more ideas.

@bryhardt
Copy link

bryhardt commented Mar 7, 2017

When Amicable numbers was approved for the Whitelist, I started researching it on one my rigs to get it going. But there seems to be a current issue with Amicable not getting magnitudes even though it is white listed. So the pool thinks it is white listed and is processing mag for my host. I addressed this issue on the facebook page for the pool a couple days ago and indicated I would put any funds generated by that host back into the pool once the problem was solved.

I am not famialir with the "Native BOINC" but will check into it. That would make things much easier for sure.

@NickAnEngineer
Copy link

Re Native Boinc, I don't think its an option for people with newer Android phones as its not PIE aware. The official Boinc app had the same problem a few years ago. And Native Boinc hasn't been updated since 2013.

@bryhardt
Copy link

bryhardt commented Mar 9, 2017

2 Factor Authentication?

I have this done on my dev box, probably put it out in production tomorrow (3/10)

@grctest
Copy link

grctest commented Mar 13, 2017

I just thought of something else regarding the GRC:Computation market front end, for a premium allow users to point the computer resources at another team to compete against team gridcoin? haha!

Alternatively, teams within the pool would be pretty cool for the community.

The pool is looking great :)

@grctest
Copy link

grctest commented Apr 14, 2017

@bryhardt How are things coming along with the pool?

Can you verify whether or not you have access to account keys? #106

An user in reddit had a good point regarding handling funds if a computation market was implemented within a pool - some form of escrow would be great.

An escrow service could basically serve as a pool function, offering participants some assurance that they'd actually get their share of whatever amount was being promised if they helped to work on the project. Project Rain or similar would be the last step, actually distributing the funds, but what I'm suggesting is an intermediary marketplace that you could, as a user, search through and that provides a guarantee rather than a post-facto airdrop of payments.

@bryhardt
Copy link

Hi, I think things are going pretty good. I am getting daily suggestions and comments from researchers on the pool, and everything so far has been positive. I have probably 85% of the code out on github, so I should get the last few files on there soon. I have been shuffling around some servers this week for the test pool, and have been building a new dev box. So not much development the last few days.

I do have access to the account keys for researchers that have accounts not on the pool when boinc contacts the pool. I did a quick honest check to see if the keys would give me full access to a researcher's account, and of course they did. I reached out to a Gridcoin community members about this, and it was recommended I contact BOINC dev. The first reply from BOINC wasn't very positive (basically the response was, why are you making an account manager, they already exist, go away), but I persisted and they responded back they would provide an update to limit what keys were sent during the account manager requests.

I have been thinking about the computational market quite a bit, and with the pentathlon coming on the project rain that may be associated with it. I am hung up on how much BTC/GRC something like that would be worth to projects, and what % incentive to give to the researches who elect to be part of the market.

I agree a escrow service for the rain would be great. It would show researchers what the bounties are instead of waiting and keeping fingers crossed at the end, Furthermore, this would allow the rain to be distributed appropriately when it comes to the pool with the proper comments in the transactions.

@grctest
Copy link

grctest commented Apr 14, 2017

They responded back they would provide an update to limit what keys were sent during the account manager requests.

Perhaps worth creating a github issue on the BOINC repo regarding this issue so that more attention is brought to this issue? Pretty typical archaic way they initially reacted, but it's good to see that they changed attitude when you persisted.

I am hung up on how much BTC/GRC something like that would be worth to projects

Projects themselves may not be the ones to buy computation until we start seeing more commercial BOINC projects being created.

Users most likely to use a GRC:Computation market:

  • Other Gridcoin users
  • Non-gridcoin BOINC users (Wanting the computers to crunch for their team instead of for team gridcoin)
  • Individuals interested in contributing to research being performed within a project by renting computers to crunch a project they're most interested in.

Perhaps another idea would be to compete against Eobot, with regards to their cloud seti offerings - you could rent out the computers and potentially return the earned GRC? The idea isn't fully fleshed out, but just take a moment to calculate eobot's valuation of BOINC computation - it's a couple orders of magnitude greater than the current marketcap.

what % incentive to give to the researches who elect to be part of the market.
IMO, the researchers should get the majority of the earnings and the pool takes a fee. A 25% cut for the pool seems reasonable, however if many pools are created there may be fee rate competition.

@cjmielke
Copy link

Happy to hack if this is still open, but don't want to step on any toes. I'm more of a python developer, so let me know if anything is needed on that front.

@bryhardt
Copy link

bryhardt commented Jul 5, 2017

Are we ready to close this for now? Open source files are on my github https://github.com/bryhardt/grcpool and on gustav via pull requests https://github.com/gustav1976/grcpool

Of course there is plenty of work to keep going on, but I think it is fairly established at this point.

@Quezacoatl1
Copy link

Quezacoatl1 commented Jul 6, 2017

Dear @bryhardt , I have most of the funds for the bounty but I do not have the skills to tell whether the task has been completed. Could you add a guide to run the pool OR can someone else validate the claim of the task being completed?

@bryhardt
Copy link

bryhardt commented Jul 9, 2017

I can at least add some items to the readme to go over how it is setup. I don't expect anybody at this point to be able to push a button and be up and running. This thing is still very much a moving target. My todo feature list is growing rather than shrinking right now. Which is good....

@xPh03n1x
Copy link

xPh03n1x commented Jul 16, 2017

Perhaps another idea would be to compete against Eobot, with regards to their cloud seti offerings - you could rent out the computers and potentially return the earned GRC? The idea isn't fully fleshed out, but just take a moment to calculate eobot's valuation of BOINC computation - it's a couple orders of magnitude greater than the current marketcap.

That's actually what I was thinking and what landed me on this page 😸 I even have a domain name on deck which is a bit similar - avabot.com

PHP is not my favorite language as well, for a number of reasons, but it does the job sometimes. I will also like to contribute and I even tried to run a local version of @bryhardt code today. I managed to get most (if not all) the necessary packages set in less than 30 minutes. However, as it stands now, in my opinion the project is incomplete.

Although the code is there and its open source, it would be quite a hassle for anyone to use it without the MySQL structure, which seems you guys forgot to attach 😉

Arguably, based on the coded queries, one could create the database by simply following the query logic, but that will take a considerable amount of time.

If you don't have the time to make a tutorial/create an installer, that's absolutely understandable. As soon as you attach the database structure, I can jump in and lend a hand by creating a thorough tutorial on how to setup a pool using the code, accompanied with a simple to use installer. That is of course, if you want my help 😜

BTW, you might want to add "grcpool.props.json" to the repo as well, just don't forget to strip out the valuable info and add a comment for clarity sake.

EDIT: I just noticed that the code is oriented towards serving two pools together. Although that could be handy to someone with a potentially enormous user group, for the standard pool starting people it could be problematic. Thus, you might want to add a comment or two here and there and orient the GitHub version to be more of a "template" version of the code, rather than directly pointing to GrcPool.com

@bryhardt
Copy link

Hi, and thanks four your feedback. One of the reasons I haven't added any real docs is how fast this thing is moving. In the past few days there are dozens of new database fields and lots of other stuff going on and they would be outdated shortly after writing them. I hope to get to a point where it can be refactored enough to be more open source friendly, not to mention refactoring some framework things.

@xPh03n1x
Copy link

Although I get your point, the very same can be said for numerous files. But then again, that's why you have revisions 😉

Even if you don't go "full manual" but only placing comments here and there in the code - that would help a fellow contributor as well. But without comments/manual and most importantly - without database, I don't believe it would be fair to close this issue and consider this "completed".

@bryhardt
Copy link

That is fair enough. I have been working over the last couple of weeks to tune the indexes and such. So hopefully soon I will get to a point where I feel good about putting the schema on there.

@Peppernrino
Copy link

@bryhardt
Copy link

Hi, in order to help with the pool being more open sourced... I have created a repo on the community site called, PHP-Pool, and started to streamline it a bit. I would prefer if people want to branch or contribute they do it there than here. I won't be posting any updates to this repo anymore. I will keep the more advanced pool on my personal github account also. I just see lots of features and things I want to add to the pool, but they might not fit into an open sourced pool since they might not really be pool related.

@Erkan-Yilmaz
Copy link
Owner Author

status on those repos:

@Deybacsi
Copy link

Deybacsi commented Mar 13, 2018

Hello guys,

do I see clearly that this goal was never accomplished, and this bounty was never payed out? I've found some old posts on the net what claimed the "100k bounty" is hold on the address SHGHP2BVCpbwVxX9cqoc9xt8aTToPxSyes

The below post promises "every GRC sent to this address will be transferred to the team which develops the open source pool"...

https://cryptocurrencytalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/?do=findComment&comment=232220

And it stills contains ~86k GRC

@Quezacoatl1
Copy link

I believe the bounty address contains GRC from

@Vortac2
aceypilot
startail
and myself

plus interest and a bit of POR I generated with it. The 80k + interest will be paid to the one claiming the bounty if all donators agree on that (I don't know where the other 20k should be coming from). We just need one claiming it. Right now @bryhardt seems to be the best "choice", but there seems to be other projects :) Maybe those can also share it. We will see when it is claimed by whom.

Kind Regard, Quez

@bryhardt
Copy link

Hi all,

I would still like to lay claim to the bounty. I plan on distributing it out to the community anyway, just haven't decided on what form. I am not sure what might more be needed. I could see having a "one-click" install for the pool, but then again I am not sure if that is even possible as with all the connections and moving parts required with BOINC projects, daemon setup, etc...

These are the current Pools on github:

@Deybacsi
Copy link

Hi guys,

My story comes below...

I found the whole GRC community about 5-6 months ago, and I tried to read almost everything what was accessible at the moment. Also I've found both of the pools, and bryhardt's code too.
I decided to give it a try. As xP03n1Xx stated in this post:
"Although the code is there and its open source, it would be quite a hassle for anyone to use it without the MySQL structure"

As he said too "Arguably, based on the coded queries, one could create the database by simply following the query logic, but that will take a considerable amount of time."

I did it. I was working on this hardly, I created a bash script which tried to figure out the database structure, and generated the corresponding "create table" queries for me. I gave it up after 4 days of work, because there were so much missing informations. Too much prerequired data, which I can't get/figure from the code easily... :/

I thought it will be much easier if I wrote my own GRC pool and Boinc account manager.

It's obvious in bryhardt's code that he has many years of experience with Boinc, php, and the other stuff. He is a tech guy, focusing on the goal itself, and not on the future lamers who tries to understand this code. Grcpool is huge, robust, and well-thought as code. I use it for a few months, so I can say, it's stable too.

I started my work in an opposite direction, I remembered the pain what I've got when I tried to understand the uncommented code, tried to find out the missing infos, etc.

I decided to write some "starter kit" GRC pool. Some minimal, with commented code, data structure, with documents about how all this is working. So anyone who is interested in GRC and making a pool, can easily start to play with this.

Here is a small code sample:
poolcode

I think bryhardt and me are representing a different approach to the same problem. He is focusing on solving problems (polls, for example), I'm focusing on helping new developers to start from a minimal pool system.

My pool solution is about 95% finished, I'm testing it now. Unfortunately I don't have the right amount of GRC to stake daily, it happens only about in every 3-4 weeks, so it slows down the process heavily.

Nowadays I don't have as much time as I wish, but I try to upload the code to github on next week for review. After this, the community will be able to decide if me and my project is eligible for claiming the bounty or not :)

I started to write a series about the whole Boinc communication as an introductory for the whole pool project's install guide, here you can see the first "episode" from it.

https://steemit.com/gridcoin/@deybacsi/how-it-works-boinc-account-managers

@sau412
Copy link

sau412 commented May 28, 2018

I also claim bounty, but I think it should be distributed between all pools. It could speed up stakes for small pools, like Deybacsi's.

My pool github: https://github.com/sau412/arikado_gridcoin_pool
Working implementation: https://grc.arikado.ru/

@jring-o
Copy link

jring-o commented Oct 6, 2019

Was this GRC distributed?

@Quezacoatl1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests