Better HN
topnewbestaskshowjobs
Log inSign up

flashdance

372 karma · joined Aug 9, 2016 (10y ago) · 102 submissions

Submissions

61.

[PDF] Who Sorts the Sorters?(sigbovik.org ↗)

1 points · by flashdance · 9y ago · discuss

comment 9y ago · link · parent

"Well, I think the bubble sort would be the wrong way to go."

--Barack Obama

comment 9y ago · link · parent

Askscience isn't that bad, either!

comment 9y ago · link · parent

http://reddit.com/r/askhistorians is a favourite of mine!

comment 9y ago · link · parent

Fun fact incoming: there is a mini-magnetosphere centered around Mare Crisium on the Moon.

http://onlinelibrary.wiley.com/doi/10.1029/2009GL041721/abst...

It's only 360km across though...

comment 9y ago · link · parent

Probably pretty good because it comes with GNOME

comment 9y ago · link · parent

Hashnest is a similar service run by bitmain.

> Hashnest is a cloud hashing platform. This means you can participate in bitcoin mining without maintaining the hardware yourself.

comment 9y ago · link · parent

Thanks for being curious. I scraped around to find some numbers to back up my wild claim--I think I did a fairly decent job of it. I do warn you--my numbers are pretty rough.

Blockchain.info claims to be the most popular web wallet with 10M users and users have control of their own keys without needing to run a node. Their android app has 1-5M downloads.

The Mycelium wallet for android has 100k-500k downloads.This is an SPV wallet like electrum, where users have control of their keys without needing to run a node.

Bitpay's wallet for android also has 100k-500k downloads, which is an SPV wallet.

The generic bitcoin wallet for android (also SPV) has 1-5M installs.

Multibit (also SPV) is the only desktop client that posts statistics but it claimed 1.5 million downloads in 2014. Now that multibit is discontinued (and bitcoin has gotten more popular since 2014) it's fairly safe to assume that electrum has numbers quite a bit higher than that. I suspect (although I can't prove) that electrum is more popular than all of the android wallets--It's even packaged in TAILS by default.

For comparison, the only popular wallet where users DON'T have control of their keys is the coinbase wallet with 9 million accounts. Other exchanges exist, and may have higher volume, but they don't market themselves as wallets to users.

There are less than 10,000 full nodes running at any given time--and a large amount of that is running 24/7. Its safe to say full-chainers are in the minority if you do some guesstimation.

I got most of these figures from the google play store.

comment 9y ago · link · parent

> Unless they use an exchange (which would functionally be a bank), they’d need an expensive computer and a reliable Internet connection to hold and update 120 gigabytes of blockchain.

Some of your points are well thought out, but I couldn't leave this one alone.

The vast majority of bitcoin users don't use a bitcoin exchange to store their coins. They also don't download the entire blockchain.

SPV wallets exist (like electrum or the android bitcoin wallet) that give the user complete control over their private keys without needing a copy of the blockchain or using substantial bandwith.

https://en.bitcoin.it/wiki/Electrum

https://en.wikipedia.org/wiki/Bitcoin_network#Payment_verifi...

comment 9y ago · link · parent

I should have read that before agreeing to it...

Well, I better get prepped to fight the Estatis Inc. Retaliatory Creature to retain full ownership of my soul. Thanks for the heads up.

comment 9y ago · link · parent

Not a lawyer, of course, but IIRC Canada has something similar to the fifth amendment in the charter of rights and freedoms.

https://en.wikipedia.org/wiki/Right_to_silence

comment 9y ago · link · parent

That's a fair point.

comment 9y ago · link · parent

> makes orphaned blocks more likely, which means that the probability of losing a block that you already successfully mined is increased

A higher orphan rate won't reduce miner profitability. Since everyone would experience the orphaning, the difficulty will stabilize at a lower level and profitability should be the same.

comment 9y ago · link · parent

I've heard that it's roughly 1%. It probably isn't too high because:

1) The main chain's rate of block generation has not dropped substantially. Of course, it's hard to tell in such a short timeframe, but at least according to https://bitcoinwisdom.com/bitcoin/difficulty not much is happening.

2) No BCH blocks have been mined in the past 2.5 hours. This could be variance (even with 100% of the hashrate this sort of gap is plausible), but I suspect not.

comment 9y ago · link · parent

IIRC, if a miner includes an invalid sighash into a block it will be rejected by regular bitcoin nodes. Ya gotta follow the spec.

comment 9y ago · link · parent

If you're curious why this guy is being indicted in California in the first place, IIRC it appears that he laundered some of his money at the now-defunct San Francisco based exchange Tradehill.

As well, BTC-E did business with Americans which is a big no-no if you don't have KYC and AML compliance.

comment 9y ago · link · parent

That link is giving me problems.

> Secure Connection Failed

> The connection to the server was reset while the page was loading.

> The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

comment 9y ago · link · parent

> He's right. The Core-versus-the-world battle is far from over.

Proposals from the core development team have widespread support from businesses and exchanges [1].

Saying it's bitcoin core versus the world is a tad bit hyperbolic.

[1] https://en.bitcoin.it/wiki/Segwit_support

comment 9y ago · link · parent

> You don't need to do any of this to secure the network though.

Not doing those things actually weakens the network. If most users operated a node like the one you described, there would be several negative effects on the overall network's health:

* It would take longer to relay transactions: full nodes would be less interconnected and there will be more "hops" between any two nodes. This in itself can cause many problems: it gives miners an incentive to centralize geographically (latency increases orphan rate) and can make a 51% attack slightly easier.

* The network will become more vulnerable to DoS attacks, because only nodes that relay transactions need to be targeted.

* Full nodes will have even higher bandwith requirements, because they will have to relay transactions to more nodes (that don't relay in turn), like a torrent with many leechers.

It's kind of like how the development of popcorn time is bad for the health of torrent networks (not the same though, different reasons).

> Anyway, that's not even my main point. I just thing that I think this particular problem is overblown and used as a bogeyman by the opposing party. Not that "big blockers" are without blame, there are insane conspiracy theories on both side and even in between.

I get it, but I don't think this problem is overblown.

comment 9y ago · link · parent

There's no need for lightning on litecoin because litecoin has very few users.

comment 9y ago · link · parent

> Furthermore ~400GB per year is not particularly insane, you can get a 6TB drive for less than $200 and that'll be enough to store more than 15 years worth of blockchain.

> As for bandwidth it amounts to less than 14kB/s on average.

Fourteen kilobytes a second is quite an understatement of the bandwidth needed to operate a bitcoin full node. Remember, nodes don't just download the chain: they also relay unconfirmed transactions and blocks to other nodes, which increases bandwidth requirements by a few orders of magnitude.

When I ran a full node a while back it was eating a couple of TB a month. Nowadays that blocks are full I suspect that it's quite a bit more than that.

comment 9y ago · link · parent

>That's true - but then the potential split would be between segwit and segwit2x and not whether or not segwit is activated, would it?

Yep, you're 100% right.

Thanks for being interested, haha.

comment 9y ago · link · parent

Super late response, but...

> So by the time the 2x fork comes up, the segwit-enabled chain will already be in use for several months.

Correct. But there's an asterisk here: most people (78%) are running bitcoin core, some run Core/UASF (5%), and some run bitcore (2%). Together, that's 85% of nodes. Core 0.14, Core/UASF, and bitcore are all compatible with segwit, but not with the blocksize increase. Even if you wait multiple months, if people stick with Core (a possible outcome) then they will see 2x blocks as invalid.

> That sounds as if the minority chain could become effectively unminable for the rest of the difficulty period.

The chain wouldn't be unmineable, it would just get mined slower (mining profitability wouldn't be impacted for miners staying on the chain provided the price stays the same). But you're right, blocks will come slower, throughput will be lower, and the adjustment will take longer.

comment 9y ago · link · parent

> Maybe I'm misinformed, but aren't SegWit (without 2x) blocks backwards compatible?

You're correct. However, I'm fairly sure OP was talking about Segwit (with 2x).

If most users/exchanges/services don't get on board by the time the scheduled segwit2x hardfork happens, then those blocks would be considered invalid.

comment 9y ago · link · parent

Not maybe, definitely. A first-gen pi can mine at 200KH/s [1], and a 3rd gen pi is roughly 10x faster in cpu tests [2].

At 2 MH/s per pi, times 7 billion people, you get a paltry 14 petahashes/s. That's a hair over 0.2% of the network...

You'd need three trillion raspberry pis to get half the network. Good luck with that!

[1] https://en.bitcoin.it/wiki/Non-specialized_hardware_comparis...

[2] http://lifehacker.com/how-the-raspberry-pi-3-benchmarks-agai...

comment 9y ago · link · parent

Oh, I see what you mean now! The block propagation delay that larger/faster blocks would cause could allow attackers to double spend with less than 50% of the network because the blocks of honest miners will be occasionally orphaned while your secret chain won't. The longer the delay... the more orphans, and the bigger advantage you have. Is that the effect that you are describing?

If you're interested in how big the delay is you can check this out, it's cited to the paper you linked me and I found it helpful.

http://ieeexplore.ieee.org/xpls/icp.jsp?arnumber=6688704

comment 9y ago · link · parent

You can't bribe your way into 30 megawatts of power.

The biggest mining operations have legal partnerships with local and national governments.[1] As well, Russia isn't a major place for bitcoin mining: instead, mining is mostly concentrated in Georgia (the country, not the state) and China.

[1] http://ifact.ge/en/bitfury/

comment 9y ago · link · parent

I used to track where large bitcoin mines were.

Mostly they're concentrated around cheap hydroelectricity, with major mines in Labrador (2c/kwh), Central China (varies, but <4c/kwh), and Georgia (unknown, bitfury likely has a special deal with the local government). A few exceptions are Northern China (coal grid @ ~3c/kwh) and Iceland (geothermal @ maybe 5c/kwh, this isn't too clear either).

Solar panels are not effective for bitcoin mining, because hardware needs to run 24/7 (a shitload of batteries are needed) and the upfront cost is high.

comment 9y ago · link · parent

> it's probably too cold in winter to not have any interior climate control

Trust me, these miners put off enough heat that it's not an issue.

comment 9y ago · link · parent

> If block creation intervals were lower it would compromise the security of the system and enable attacks with much less than 50% of the hash power.

Not really. The odds of an attacker successfully generating a double-spending block remain the same with a lower block interval. Many alternative cryptocurrencies have far shorter blocktimes: Litecoin has 2.5min blocktimes, and ethereum is less than 30 seconds IIRC, and they don't have problems with rampant double spends.

The problem with shorter blocktimes is that latency has a greater impact on mining profitability. A miner with a 600ms ping will lose ~0.1% of their revenue with a 10 minute blocktime, but will lose 2% of their revenue with a 30s blocktime.

This gives miners an incentive to centralize geographically to reduce their latency. No bueno!

1234