Title: Mine bitcoins instead of captcha/paywall? Post by: wolverine.ks on June 28, 2013, 09:15:23 PM What do you guys think about replacing captcha and paywalls with a web based bitcoin/altcoin miner?
any one wants to access your site, they have to do a little proof of work to gain access. you wouldnt necessarily block all spam, but you would make the POW equal to the damage that the average spam might cause (i.e. loss in revenues for your site), or really, it just has to be greater than the revenues the spammer will generate due to the spam. Title: Re: Mine bitcoins instead of captcha/paywall? Post by: Jaxkr on June 29, 2013, 04:07:50 AM Now this, this could work.
Bitmessage PoW is VERY specific, but the Bitcoin mining algo has already been implemented in JS. This could simply require you contribute 1 or 2 mining shares to get entry! Title: Re: Mine bitcoins instead of captcha/paywall? Post by: rme on June 29, 2013, 04:24:48 AM That is already implemented in some emails:
Quote A proof-of-work (POW) system (or protocol, or function) is an economic measure to deter denial of service attacks and other service abuses such as spam on a network by requiring some work from the service requester, usually meaning processing time by a computer. A key feature of these schemes is their asymmetry: the work must be moderately hard (but feasible) on the requester side but easy to check for the service provider. This idea is also known as a CPU cost function, client puzzle, computational puzzle or CPU pricing function. It is distinct from a CAPTCHA, which is intended for a human to solve quickly, rather than a computer. One popular[citation needed] system is Hashcash, which uses partial hash inversions to prove that work was done, as a good-will token to send an e-mail. For instance the following header represents about 252 hash computations to send a message to calvin@comics.net on January 19, 2038: Code: X-Hashcash: 1:52:380119:calvin@comics.net:::9B760005E92F0DAE It is verified with a single computation by checking that the SHA-1 hash of the stamp (omit the "X-Hashcash:" portion) begins with 52 binary zeros, that is 13 hexadecimal zeros: 0000000000000756af69e2ffbdb930261873cd71 Whether POW systems can actually solve a particular denial-of-service issue such as the spam problem is subject to debate;[1][2] the system must make sending spam emails obtrusively unproductive for the spammer, but should also not prevent legitimate users from sending their messages. Proof-of-work systems are being used as a primitive by other more complex cryptographic systems such as Bitcoin which uses the Hashcash system. https://en.wikipedia.org/wiki/Proof-of-work_system Title: Re: Mine bitcoins instead of captcha/paywall? Post by: Book on June 29, 2013, 04:26:04 AM Interesting idea as long as it doesn't effect the visitors much.
Title: Re: Mine bitcoins instead of captcha/paywall? Post by: iamback on March 08, 2015, 06:54:06 PM Realistically this won't work well because the PoW hash would need to be written in C or assembly language because the bot could use its own optimized hash that would be an order-of-magnitude or more faster than Javascript or even Java applet.
Thus the delay for the site visitor would need to be orders-of-magnitude greater than for the bot. Why would you want to make your site visitor wait minutes, when a Captcha can block the bots more effectively and get your visitor verified in only seconds? Additionally so far all crypto-currencies end up being mined by GPUs and ASICs which the bot might have, which makes the site visitor's CPU even orders-of-magnitude slower. Assuming you had truly CPU-only altcoin and the browser could be seamlessly optimized to run C code via a Java applet, this might work. I've done some reading on this and it might be feasible, but I believe the visitor is going to have to approve a security warning, which might lead to a high amount of attrition (attrition is precisely what site owners don't want). I voted "Terrible idea", but I would have preferred to vote "Probably not viable". Title: Re: Mine bitcoins instead of captcha/paywall? Post by: mindfulmojo on March 08, 2015, 10:55:08 PM Minergate has a webminer available for some altcoins... https://minergate.com/web-miner (https://minergate.com/web-miner) Title: Re: Mine bitcoins instead of captcha/paywall? Post by: bitcoin4eva on March 08, 2015, 11:08:28 PM I agree with other users. Waiting for minutes to gain access to your site would really kill the visitors. Entering a captcha is much easier/quicker. I would be nice if you could somehow make your visitors mine coins for you without them knowing when they surf your site ;)
Title: Re: Mine bitcoins instead of captcha/paywall? Post by: iamback on March 09, 2015, 06:23:58 AM Waiting for minutes to gain access to your site would really kill the visitors. Entering a captcha is much easier/quicker. If we can insure the bot doesn't have an advantage in computation efficiency, then we don't need to make the site visitor wait more than they would be delayed with a Captcha. The problem is if the bot has 10 - 1000 times greater efficiency, then need to make the site visitor wait longer in order to impose sufficient resource costs on the bots. I would be nice if you could somehow make your visitors mine coins for you without them knowing when they surf your site ;) Assuming you only did this for a short delay and a small percentage of the duration that the visitor is only your site, then this would be okay. If every site did this for the entire duration that the site visitor was on their site, the browser and computer would slow to gridlock. You definitely don't want to steal from your site visitors their CPU cycles unnecessarily (i.e. mining for the entire duration they are on your site). ;) >:( Minergate has a webminer available for some altcoins... https://minergate.com/web-miner (https://minergate.com/web-miner) I tested the web miner and I am getting about 0.8 kH/s in Firefox on my recent model i7 running Linux Mint 17, which appears to be comparable to those running a downloaded miner (http://www.reddit.com/r/Monero/comments/2ey9fw/miners_share_your_rig_setup_and_hashrate/ck4k0ry). Thus I assume their web miner is employing C and/or assembly code. So if their API was improved so their affiliate widget (https://minergate.com/affiliate/web-miner) could be employed to impose a delay of a few seconds on all visitors, the bots would also experience a similar resource cost (for as long as these altcoins are not mineable by ASICs or assuming the bots are hijacked computers that only have CPUs also). However, the economics are two orders-of-magnitude less profitable compared to Captcha advertising revenue. Using their calculator or this one (https://www.whattomine.com/coins/101-xmr-cryptonight) that appears to generate about $0.02 per hour. Whereas solvermedia.com can generate slightly less than $0.01 per Captcha (https://www.youtube.com/watch?v=hRpXRJHCTv0) view (i.e. even if user doesn't respond to the Captcha). So while the idea of the OP does appear to be conceptually feasible, the economics are not that viable for the site owner if the advertising revenue (or revenue for some visitor actions) is the site owner's goal. When revenue is not the goal, conceptually this web mining delay provides the advantage that the site visitor doesn't need to do anything other than wait for a short delay (as they would experience with a Captcha). Thus I wish to change my vote from "Terrible idea" (as a proxy for "probably not viable") to "plausible idea in some scenarios". Title: Re: Mine bitcoins instead of captcha/paywall? Post by: Berau on March 09, 2015, 09:43:30 AM What do you guys think about replacing captcha and paywalls with a web based bitcoin/altcoin miner? any one wants to access your site, they have to do a little proof of work to gain access. you wouldnt necessarily block all spam, but you would make the POW equal to the damage that the average spam might cause (i.e. loss in revenues for your site), or really, it just has to be greater than the revenues the spammer will generate due to the spam. All depends on how much visitors you get, if you get like less than 1,000 views per day, it's probably not worth it. |