TheSCInitiative / bounties

Bounties funded by the SCI. Click on issues to see active bounties.
https://thesciencecommons.org
13 stars 1 forks source link

$500 Bounty: Automatically fix CPID sync issues in Gridcoin wallet #10

Open makeasnek opened 1 year ago

makeasnek commented 1 year ago

btcbalance badge eth balance badge grc balance badge

Context: Gridcoin issues GRC rewards to users on the basis of their BOINC CPID, but the BOINC client may report multiple CPIDs. In theory, these CPIDs should all converge onto one "dominant" CPID (the oldest one), but for brand new users this process may take days and is very confusing.

Requirements to claim bounty:

Feature Description

Contribute to this Bounty You can contribute to SCI's bounty program by donating cash or crypto to SCI. You will get a nice tax deduction, and we will spend those donated funds on our bounty programs. You can also support us every time you shop on Amazon and eBay, please see our donation page for more information.

You can donate to this bounty specifically by sending crypto to the following addresses.

BTC (Bitcoin): bc1q2444qjdhwqqelfptcuz9nwrctyvru7unvdvpg0 btcbalance badge ETH (Ethereum) and DAI: 0xd9e1971ce36B927c744C3246A920e9cae9C8B6f7 eth balance badge GRC (Gridcoin): S3RG46XcuWtJPADckxgFUyNw92Vd5yt4z6 grc balance badge Note that GRC badge does not automatically update. ETH and BTC do.

PS Did you know that crypto is one of the most effective ways to make donations (for US donors)? Cryptocurrency donations to 501(c)3 nonprofits are considered tax-deductible and do not trigger a taxable event, meaning you do not usually have to pay capital gains tax on them. We request that any individual donating over $500USD (or equivalent) provide their information along with their donation to ensure compliance with our AML and KYC policies. Any organization that wishes to make a donation to SCI is requested to reach out to us directly at contact{at}thesciencecommons.org. In the event that the awardee does not want the crypto or the bounty is closed without being paid out, it will be turned over to SCI's bounty fund to be spent on future bounties.

Bounty amount: $500 + Whatever is on BountySource + Whatever is in above Crypto Addresses

BountySource at time of writing has $200 on the bounty. You will also get the satisfaction of knowing you are helping a software and ecosystem which supports the progress of science. BountySource

Development Notes In short, this tool will need to:

Claiming bounty

Comment below if you want to indicate you are working on the bounty (though this is not required) or if you have any questions. BountySource bounty will paid under the BountySource terms (if bounty payers vote that your change fixes the issue). The first person to submit code to the Gridcoin repo and have it accepted will be the only one able to claim the bounty.

About SCI The SCI is a US 501(c)(3) non-profit organization dedicated to rebuilding the bridge of participation and trust between the public and the scientific process. We support tools and infrastructure that enable people to learn about and engage with science. Follow our work via our free newsletter on substack.

mamonet commented 1 year ago

https://github.com/bountysource/core/issues/1586 Bountysource isn't paying hunters anymore. Please stop posting any further bounties at this platform.

makeasnek commented 1 year ago

bountysource/core#1586 Bountysource isn't paying hunters anymore. Please stop posting any further bounties at this platform.

We have had no issues with BountySource so far, all bounties have been paid as expected. I'm not sure what's going on in that thread but things are working fine here.

mamonet commented 1 year ago

Since when your last bounty has been paid? I mean actual withdrawal to bank or PayPyal account of bounty hunter not just moving balance from yours to bounty hunter's.

I've been working on bounties at Bountysource for more than 5 years, never had problem until this year. I haven't got paid since March and they no longer response to emails. IBM's contacting CEO of The Blockchain Group and he keeps procrastinating. It's not safe to do business through Bountysource anymore.

makeasnek commented 1 year ago

Within the last few weeks

makeasnek commented 1 year ago

We are certainly open to using other platforms if you have suggestions.

tehami02 commented 1 year ago

Is this issue still open. Please link the actual Gridcoin Repo...its difficult to find the actual project.

makeasnek commented 1 year ago

Is this issue still open. Please link the actual Gridcoin Repo...its difficult to find the actual project.

This is a draft issue and is not open yet my apologies for the confusion: https://github.com/gridcoin-community/Gridcoin-Research

makeasnek commented 1 year ago

Is this issue still open. Please link the actual Gridcoin Repo...its difficult to find the actual project.

My apologies, this bounty is actually open. I've updated the bounty info to include a link to BountySource

makeasnek commented 10 months ago

Bounty increased to $500

cmpsb commented 9 months ago

Hello! I've been working on this for a some evenings. I have a few questions now that I'm working on the e-mail requirement:

The feature should also check that all BOINC accounts are attached under the same e-mail address (read XML files). If they are not, and there are more BOINC projects under e-mail A than e-mail B, it should offer to remove projects not attached under e-mail A (connect to BOINC client RPC and issue project detach command)

This does not consider the e-mail address entered earlier in the wizard, is that correct?

It also seems infeasible to show the e-mail address(es) that are in the minority, as they're hashed with MD5 and I couldn't find a plain-text version anywhere. Would listing the project names be a solution?

makeasnek commented 9 months ago

It also seems infeasible to show the e-mail address(es) that are in the minority, as they're hashed with MD5 and I couldn't find a plain-text version anywhere. Would listing the project names be a solution?

Aah yes it appears BOINC does store the MD5 not the original e-mail address. In that case, it would be best if the feature would be aware of the e-mail address the user initial pasted into the Gridcoin wallet.

If:

One final aspect to this which isn't included in the original specs but is needed in order to accomplish this goal is that the feature should check if the user is connected to the Science United account manager. If so, it should warn the user that SU is not compatible with Gridcoin and offer to remove it. This should be done at the same step where it is checked if the user is crunching for a pool.