News for hackers. Stuff that matters.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by flibble on Monday December 11, 2017 @11:17AM (#15897974)
Does anyone have an idea of the ROI on this? I'm thinking you'd need a massive number of 10 second to mine any meaningful number of BTC on consumer laptops.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Vadoff on Monday December 11, 2017 @11:46AM (#15898196)
Coinhive estimates that a user with a mid-range laptop would have a hashrate of 30 h/s.

10 minutes of mining = 30 * 10 * 60 = 18,000 hashes

Since Coinhive pays out 0.000090 XMR per million hashes (current rate as of Dec 11. 2017), that's $0.0004250394 per user (18000/1000000 * 0.000090 * 262.37).

In order to make $1, you would need 2,353 visitors with laptops mining for 10 minutes each.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Fire1Assassin on Monday December 11, 2017 @12:56PM (#15898787)
I’m guessing this would work extremely well if it were set up as a honey pot at University? Tempted to test it.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by diggan on Monday December 11, 2017 @11:22AM (#15898010)
Not sure about the ROI, but I do know that Coin-Hive (which is being used in this "trick") mines Monero, not Bitcoin.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by criddell on Monday December 11, 2017 @11:26AM (#15898040)
I've wondered what the ROI would be for me to leave my home office computer mining bitcoin while I'm at work. I know the likelihood of me mining something is tiny, but so is the expected payout when I buy a lotto ticket.

I spent about $20 / year on lotto tickets (basically whenever Powerball gets near a record jackpot). That same amount of money will keep my i5 ThinkPad running for a long time. Am I more likely to mine some Bitcoin or win the lottery?

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Jemmeh on Monday December 11, 2017 @11:32AM (#15898089)
I am by no means an expert, but my understanding is that a personal computer isn't energy/heat efficient enough to make a profit from mining. It costs more in energy than you would make from the bitcoin. My friends who do some mining have told me the same.

You're competing with computers that are made exclusively for bitcoin and people who are heavily investing their time into it so it makes sense.

It would probably be fine just for trying the system out and seeing how it works before you invest though.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by astura on Monday December 11, 2017 @12:04PM (#15898346)
Jeez, you're completely missing the point.

The GP was asking for a comparison the odds/cost of mining a coin with the odds/cost of winning the lottery. Not about "investing," and not about "making a profit."

Basically, which form of gambling is better from a cost/rewards perspective.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Jemmeh on Monday December 11, 2017 @12:44PM (#15898677)
My understanding is you are always outspending on energy costs because of the energy inefficiency of personal computers for mining vs. a dedicated machine. So the chance of return would be more or less 0%. More like, "If I pay $5 for a lottery ticket where the max I can win is $4, what are my chances of profiting?"

But again, not an expert. Just the articles I've read and people I know who mine bitcoin say you can't profit that way.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by em3rgent0rdr on Monday December 11, 2017 @02:24PM (#15899532)
> "If I pay $5 for a lottery ticket where the max I can win is $4, what are my chances of profiting?"

If you use a mining pool then you won't make a profit on a laptop. However if you were solo mining on your laptop, then there is a very small chance that you could win seriously big moola.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by RandomTrees on Monday December 11, 2017 @12:58PM (#15898803)
In my understanding, there is continuously a chance (when mining solo) that you mine a Bitcoin block. If that happens (unlikely with consumer hardware) you make a lot of money at once since you get a whole block.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by astura on Monday December 11, 2017 @03:54PM (#15900334)
Very false. You appear to not understand how mining works.

The reason people join pools is to make money even if you never personally mine a coin. In a pool you just get paid for your effort. This is why joining a pool with consumer hardware will always lose.

In this case we aren't talking about pools!

There is two things that can happen when you solo mine - you either "lose it all" (all money spent on electricity down the drain) or "hit the jackpot," (1 full Bitcoin all for you!)

At that level with a small hash rate its gambling, you're throwing some amount of money at it at the very, very tiny chance of a big payout.

Say, for example, there's a 1/10000 chance any one person will mine a coin on consumer hardware per every $100 in electricity. So you're buying a $100 lottery ticket where the payout is $17,000.

Of course you "can't make money like that," the vast majority of people will lose money, just like the majority of lottery players will lose money.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by criddell on Monday December 11, 2017 @04:00PM (#15900393)
With the lottery, you are at least partially funding public education (35% of the revenue if I remember correctly). Are there any social benefits to Bitcoin mining?
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Jemmeh on Monday December 11, 2017 @05:23PM (#15901134)
I was mistaken then. What I've read about it was somewhat incomplete from what people are saying here.

That said there is absolutely no need to be such a jerk about it.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by byteman on Tuesday December 12, 2017 @08:01AM (#15905273)
I think that the current reward for mining a block is 12.5 Bitcoin (+ transaction fees of course)
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by byteman on Tuesday December 12, 2017 @08:09AM (#15905315)
>Just the articles I've read

I strongly recommend reading the Bitcoin white paper: https://bitcoin.org/bitcoin.pdf It is not as nearly as long and complicated as you would think, if you know the basics (what's a hash, how do public keys and digital signatures work). I found it way clearer than all the explanation articles I've seen on the internet.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Jemmeh on Tuesday December 12, 2017 @10:41AM (#15906318)
Thank you, that's quite useful! I was doing some light reading on it so I just started with some simple articles, but perhaps they were over simplifying.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by elif on Monday December 11, 2017 @11:46AM (#15898197)
not very good odds on your thinkpad..

but if you set up a handful (3-5) of high end ASIC miners and mine BCH (10x more difficulty/hashrate on BTC right now) without a pool for a year, there is a realistic chance you'll get lucky and mine a block (worth about $17k).

The numbers are changing all the time, but when I last did that calculation I was surprised.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by soared on Monday December 11, 2017 @11:34AM (#15898107)
I don't think anyone mines for bitcoins by themselves anymore - they join a pool so you get a small guaranteed payout.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by criddell on Monday December 11, 2017 @11:42AM (#15898163)
I have no interest in a small guaranteed payout.

I'm asking if I have $20 to buy Powerball tickets (with a chance to win $1 billion) or $20 to buy electricity for my i5-based mining machine, how do the odds compare?

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by Vadoff on Monday December 11, 2017 @12:13PM (#15898404)
I'm not sure what the exact house edge is on Powerball. But let's say it's 20%.

Due to dynamic difficulty adjustments, the profit for miners is just a bit more than the cost of electricity. However, this is only true for those who have the best specialized mining equipment and the cheapest electricity in the world. For an average person living in a typical area, even with dedicated equipment, you'd probably be far under breaking even. Most likely much less than 20%.

And that's with specialized equipment (costing thousands of dollars). With your home computer, it'll be hundreds of thousands of times less efficient per watt of electricity to mine bitcoin. Even for other cryptocurrencies that might be resistant to specialized equipment, you'd still most likely be over 10x less efficient.

Go with the powerball tickets.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by 55555 on Monday December 11, 2017 @11:42AM (#15898167)
You can still mine yourself and that might appeal to someone who likes buying lottery tickets. Mining yourself at least has the possibility of positive ROI as opposed to a guarantee of losing money.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by soared on Monday December 11, 2017 @03:27PM (#15900128)
I didn't say you can't do it - I said people don't really do it anymore. You can easily get a positive roi if you do it correctly, why do you think there are literal crypto factories built to mine coins?
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by maltalex on Monday December 11, 2017 @11:29AM (#15898065)
It makes no economic sense at all.

Mining Bitcoin using CPUs is unprofitable. They're basically gaining cents worth of bitcoins using dollars worth of electricity. See https://bitcoin.stackexchange.com/questions/41276/in-the-asi...

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by freeflight on Monday December 11, 2017 @11:43AM (#15898175)
Another comment pointed out they are not literally mining Bitcoin but rather Monero [0], which seems to be profitable to mine on CPUs and SoC.

[0] https://en.wikipedia.org/wiki/Monero_(cryptocurrency)

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by QAPereo on Monday December 11, 2017 @11:32AM (#15898087)
Are they paying for that electricity?
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by eberkund on Monday December 11, 2017 @11:36AM (#15898121)
Sort of, I'm assuming a lot of people bring their chargers with them if they're using the WiFi at Starbucks
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by ErnestedCode on Monday December 11, 2017 @11:43AM (#15898177)
I suppose the cost benefit depends on whether they stay in the store charging their laptops longer because of that 10 second delay. If the customer plugs in their laptop at 1pm and plans to leave at 1:30pm, then at least they'd be making money 10 seconds longer while spending the same amount of money on electricity. If the customer leaves at 1:30:10, then they'd be paying extra for the time. But in any case, they're not paying for any extra hardware.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by ryangittins on Monday December 11, 2017 @11:23AM (#15898017)
Even if they did this in all Starbucks locations, I can't see it really making any money. Ten seconds on a laptop CPU rounds to zero. Coinhive has just never made any sense to me in practice. Maybe 5+ years ago, but not today. What a mismatch of effort and timing.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by mipmap04 on Monday December 11, 2017 @11:31AM (#15898084)
Coinhive seems pretty upfront with this though (to answer "Will this work on my site?":

"Technically yes, economically probably not. If you run a blog that gets 10 visits/day, the payout will be miniscule. For the captcha and shortlinks with a sensible hash goal (1024–16384) you'll need to have a whole lot of users to make this worthwhile."

I do like it as an accessibility friendly captcha system, though.

Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by 55555 on Monday December 11, 2017 @11:44AM (#15898181)
Coinhash mines monero and it is a business aimed towards hackers who want to monetize websites they have access to.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by dvdhnt on Monday December 11, 2017 @11:20AM (#15897994)
Probably $0 after the backlash, perhaps even net negative.
Re:Starbucks in-store wifi provider in Buenos Aires uses Coi... by ct0 on Monday December 11, 2017 @11:20AM (#15897992)
I wonder if sbux even knows. Im sure theyve outsourced their wifi by now...