News for hackers. Stuff that matters.
Re:The first Bitcoin Cash block has been mined by brndnmtthws on Tuesday August 01, 2017 @03:34PM (#14904494)
To me, it seems like Bitcoin Cash (BCH) is just a cash grab (no pun intended) by a minority of misguided Bitcoin enthusiasts. From what I can tell, the main reason for the resistance to Segwit is that it reduces the power and influence of miners. That's why the people who are pushing BCH are also invested in mining. Miners earn money from transaction fees, and therefore have an incentive to artificially inflate the fees by delaying transactions (transactions are processed in order of highest to lowest fees).

There's a great blog post which summarizes the situation here: https://www.linkedin.com/pulse/why-heck-bitcoin-might-split-...

Re:The first Bitcoin Cash block has been mined by andrewla on Tuesday August 01, 2017 @04:04PM (#14904756)
It really takes some twisted logic to paint BCH has a miner-friendly measure. It is unfriendly to miners in every way that matters, which is why miners have never achieved consensus on any of the large-block proposals so far.

Specifically, it:

- reduces the need for fees on transactions, as block space is no longer a sufficiently scarce resources

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

Although I'm a large-blocker myself, Segwit has one thing going for it, namely, fixing transaction malleability. For anyone who has to deal with bitcoin in bulk (any business using bitcoin, basically), malleability is a killer bug -- it makes it very hard to detect if your transactions have made it on to the network, and impossible to chain transactions together reliably. That's who benefits from Segwit, and it's a big benefit.

It also enables some off-chain solutions that are infeasible in a malleable-prone network.

The opposition to Segwit, in my opinion, stems mainly from the fact that it is complicated, and was given priority over the "clear and present" problem of blocks being full that had a simpler solution of hard-forking to increase block size. So it's being held up as a totem by the large-blocking crowd of the poor decisions of Core, and for alleged conflicts of interest around the off-chain solutions.

Other than the risk of a hard fork itself, the negative effects of a block size increase are so small as to be meaningless, for users and for miners.

Re:The first Bitcoin Cash block has been mined by dwaltrip on Tuesday August 01, 2017 @04:13PM (#14904840)
> reduces the need for fees on transactions, as block space is no longer a sufficiently scarce resources

If bitcoin popularity grows, more transactions with lower per-tx fees will likely result in more total fees per block, compared to a world in which the block size is fixed and individual fees are higher. The induced demand will be a significant factor. This is fairly straightforward economics. This is a good thing by the way =)

Regarding orphan rates: I don't understand all of the gritty details, but I have seen some convincing explanations describing how, if block space isn't scarce, a miner's decision to include an additional tx is largely based on the likelihood that adding the tx will result in a block they find being "orphaned". So it is a self-regulating feedback loop of sorts. And as another poster said, it should affect all miner's equally, assuming they have a sufficiently sophisticated setup (low-latency, well-connected, etc).

For those don't know about orphan rates: An "orphaned" block is one that is wasted (and the reward thus lost). This happens when another miner finds a competing candidate block at a similar time and manages to propagate it more quickly through the network such that it is chosen by the majority as the next block.

Re:The first Bitcoin Cash block has been mined by flashdance on Tuesday August 01, 2017 @04:19PM (#14904902)
> 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.

Re:The first Bitcoin Cash block has been mined by RustyRussell on Tuesday August 01, 2017 @04:35PM (#14905052)
No, you don't have an orphaning problem on your own blocks, so it drives centralization.

This is exactly what happened when blocksize jumped from 100k to 250k: every small miner jumped to the largest pool (ghash.io) because they were seeing increased orphan rates, driving that pool over 50% of hashing power.

Re:The first Bitcoin Cash block has been mined by mikekchar on Tuesday August 01, 2017 @09:54PM (#14907271)
I don't actually see why that would happen. The chance of a block being an orphan is dependent upon the number of competing miners solving the block at the same time. Why would block size impact that at all?

Larger block size increases computation necessary to solve the block, so it is equivalent to increasing the difficulty. Another factor is that you might decide to wait longer to get more transactions in the block. This reduces your chance of solving the block, but increases your payback. I can't see how it could possibly increase the orphan rate because it increases the possible spread for solution time (some people will wait, while other won't). In other words, it should decrease the orphan rate.

I suppose block size increases the network latency for advertising solved blocks... but going from 100k to 250k every 10 minutes does not strike me as being particularly problematic.

Also, I'm trying to verify your claim and I can't see any evidence of it. It appears that different clients were using different block sizes for a long time. The maximum block size on the BTC network has been over 250K since 2013, according to [0]. Also take a look of this graph of orphaned blocks [1]. It seems to be highly variable between 2014 and 1016, but then lower since then. I see no evidence of a sudden increase in orphans. Clearly, having most of the hashing power in one miner will reduce orphans, but I just don't see a connection at all with blocksize.

So what am I missing?

[0] - http://hashingit.com/analysis/39-the-myth-of-the-megabyte-bi... [1] - https://blockchain.info/charts/n-orphaned-blocks?timespan=al...

Re:The first Bitcoin Cash block has been mined by RustyRussell on Tuesday August 01, 2017 @10:30PM (#14907455)
> Larger block size increases computation necessary to solve the block

No, they're merkled, so it doesn't.

> I suppose block size increases the network latency for advertising solved blocks... but going from 100k to 250k every 10 minutes does not strike me as being particularly problematic.

Doesn't matter how often it is, I find a block, I mine the child immediately. You have to wait until you've received and validated the block. It's all about latency.

> Also, I'm trying to verify your claim and I can't see any evidence of it. It appears that different clients were using different block sizes for a long time. The maximum block size on the BTC network has been over 250K since 2013, according to [0]. Also take a look of this graph of orphaned blocks [1]

Yep, this is now ancient history. Mean blocksizes tend to mask what's really happening, but I recall the orphaning problem and ghash.io spike personally.

And blockchain.info's orphan block measurements are completely unreliable :(

More background: https://rusty.ozlabs.org/?p=535 (my blog)

Re:The first Bitcoin Cash block has been mined by mikekchar on Wednesday August 02, 2017 @03:33AM (#14908619)
Thanks for the reply. I have to say that I still can't quite understand how block sizes affect orphaning, but I'll have to think about it.
Re:The first Bitcoin Cash block has been mined by flashdance on Tuesday August 01, 2017 @09:24PM (#14907130)
That's a fair point.
Re:The first Bitcoin Cash block has been mined by tlrobinson on Tuesday August 01, 2017 @05:01PM (#14905267)
Block size increase will further centralize mining (as you mentioned, it makes orphaned blocks more likely, especially for smaller/less well-connected miners) and is a linearly scaling solution to an exponential (?) scaling problem.
Re:The first Bitcoin Cash block has been mined by dwaltrip on Tuesday August 01, 2017 @03:46PM (#14904612)
There isn't a legitimate reason to restrict block sizes to 1MB. That is the primary reason for the fork.

Some claim that anything larger than 1MB will "hurt decentralization", but many others have shown this to be a very weak argument (sorry, I don't have any links handy).

You don't need every Jane Smith running a full node on a rasberry pi to have robust decentralization.

Re:The first Bitcoin Cash block has been mined by brndnmtthws on Tuesday August 01, 2017 @03:55PM (#14904690)
There is still a plan to activate 2MB blocks, at a later date (which is part of the Segwit2x proposal).

I actually don't fully understand the reasons for why the pro-segwit side doesn't want to increase the block size (even beyond 2MB), except that it's a slippery slope: with Bitcoin, every time you change the block size it requires a hard fork.

Increasing the block size isn't a long-term solution, because there's always going to be some new ceiling. Eventually increasing the block size will become impractical.

As an aside, some coins have a variable block size to deal with this. AFAIK Monero is the only "major" coin which features variable blocks. It's also the only coin that's actually private.

Re:The first Bitcoin Cash block has been mined by fosap on Tuesday August 01, 2017 @04:13PM (#14904836)
I don't understand why bitcoin is afraid of hardforks. Ethereum hard forks like there is no tomorrow, and so far the number of major block-chain-splits is equal, two. The offical implementation not forking does by no means prevent anybody else from hardforking to begin with, Bitcoin cash demonstrates.
Re:The first Bitcoin Cash block has been mined by andrewla on Tuesday August 01, 2017 @04:06PM (#14904777)
I think ZCash is the only coin that is private in a real sense; Monero is somewhat private, but as I recall, by watching the mempool, it is possible to see the chains being built and to reconstruct the payments. That's all transient data that is not included in the blockchain itself, but for agents interested in tracing future transactions or logging current transactions there's a significant amount of pseudonymous traceability.
Re:The first Bitcoin Cash block has been mined by jstanley on Tuesday August 01, 2017 @05:22PM (#14905481)
I think this is FUD about Monero. You don't see any more in the mempool than you do in actual blocks.

Can you cite any sources?

Re:The first Bitcoin Cash block has been mined by andrewla on Tuesday August 01, 2017 @09:27PM (#14907154)
This was based on my own assessment of the whitepaper when it first became prominent. The way that transactions were formed was to build on an existing transaction in the mempool and mix the results together with the ring signatures. Looking at the coin now it appears that there's some optional (soon to be mandatory) protocol changes that will mask the output addresses, but I have not looked closer.

The Wikipedia article has two papers that draw similar conclusions about the traceability:

http://monerolink.com/monerolink.pdf

https://drive.google.com/file/d/0B7e8g-wJId8md3FYUGF0TlB5NjQ...

RingCT claims to conceal the amount, and "stealth addresses" claims to obscure output addresses, but I have not verified these claims because I'm reluctant to spend more time verifying a coin that I am skeptical about.

Re:The first Bitcoin Cash block has been mined by vocatus_gate on Wednesday August 02, 2017 @10:39AM (#14910897)
I was honestly pretty skeptical about it for a while too, and only recently came around after finally sitting down and doing some reading on it. Currently Monero is the only coin I'd trust for any sort of transaction requiring privacy.
Re:The first Bitcoin Cash block has been mined by vocatus_gate on Wednesday August 02, 2017 @10:38AM (#14910890)
I think you might be mistaken. Zcash is definitely NOT private for the majority of transactions. You have to opt-in to obfuscated transactions and so few of them are private that the ones that are really stand out.

Monero enforces privacy on all transactions by default. Back in the day you could send non-private transactions but during one of the previous hard-forks they removed that ability.

Re:The first Bitcoin Cash block has been mined by ftlio on Tuesday August 01, 2017 @05:00PM (#14905252)
None have shown it to be a weak argument. None. If you could post your links so that HN can see the kind of pseudo-science the Bitcoin community has had to put up with, it would be much appreciated.
Re:The first Bitcoin Cash block has been mined by duckingtest on Tuesday August 01, 2017 @05:58PM (#14905770)
Calling it 'weak' is giving it too much consideration. The only sensible argument against larger blocks is that they boost mining centralization because larger blocks may take more time to propagate. Which may be true but it requires 1GB+ blocks. 10Gbps connection isn't a noticeable cost item for a serious mining operation, which means latency for a 1MB block and a 1GB one should be almost identical.

That's it. Remember that decentralization in bitcoin concerns miners, and miners only. 'Nodes' in the whitepaper are synonymous with miners.

Non-mining wallets need to have enough bandwidth to download blocks from miners as they appear. For 1GB blocks 20Mbps is enough. Which means a full verifying wallet for 1GB blocks is practical on a LTE connection.

Storage is also a non-problem with utxo commitments.

Re:The first Bitcoin Cash block has been mined by kalleboo on Tuesday August 01, 2017 @09:57PM (#14907283)
I thought the main concern with the block size was not typical western connections (where as you say 10 Gbps is no problem) but the limited performance of data crossing the Great Firewall of China?
Re:The first Bitcoin Cash block has been mined by duckingtest on Wednesday August 02, 2017 @01:06PM (#14912413)
That's complete FUD on several levels. On a most general level, mining itself only needs the header. Chinese miners can verify blocks and transactions elsewhere and only send headers to the actual mining sites. A dial-up should be enough.

Regardless, from what I heard it's not a problem anymore. Even if it was, allowing 'fast passage' for bitcoin blocks seems like a obvious course of action for the Chinese government, it's just another export industry at this point.

Re:The first Bitcoin Cash block has been mined by ftlio on Tuesday August 01, 2017 @09:20PM (#14907111)
> Calling it 'weak' is giving it too much consideration

You can only say this if you're too ignorant to be worth a damn on the subject, or are insane enough to think that the people who have developed the protocol for the last 8 years are all misguided. If you launch into some conspiracy about Blockstream, Inc., then we'll know it's a combination of both.

> Remember that decentralization in bitcoin concerns miners, and miners only

And exchanges, merchants, consumers. If you have a stake in the ledger by owning or accepting BTC, then you have a stake in the monetary policy of BTC. If you have a stake in the monetary policy of BTC, then you can only hope to enforce it (or attempt to change it) by running a node.

That's before the mathematics of bigger blocks, where the decentralization of miners is threatened even by a 2 MB block size, as those with more hash rate get another bonus due to the latency increases of even a 1 MB block size increase.

If all that mattered in Bitcoin was the decentralization of miners, this game would have been over a long time ago. Anybody who thinks that even a landscape of thousands of miners, pooled by very few pools, is decentralized enough on its own, without others validating and auditing the blockchain, is too capable of assumptions to be let near engineering.

Why does every currency that has ever existed get devalued into dogshit by its policymakers? Every currency dies because those close to the mint can afford devaluation more than those further from it.

Re:The first Bitcoin Cash block has been mined by dwaltrip on Tuesday August 01, 2017 @10:39PM (#14907507)
> the decentralization of miners is threatened even by a 2 MB block size, as those with more hash rate get another bonus due to the latency increases of even a 1 MB block size increase

This is completely ridiculous. If someone can't send 2MB of data across the network in less than a few seconds, then of course they shouldn't be mining.

Re:The first Bitcoin Cash block has been mined by duckingtest on Wednesday August 02, 2017 @01:09PM (#14912471)
>You can only say this if you're too ignorant to be worth a damn on the subject, or are insane enough to think that the people who have developed the protocol for the last 8 years are all misguided

Argument from authority

>where the decentralization of miners is threatened even by a 2 MB block size

proof by assertion

>is too capable of assumptions to be let near engineering.

ie 'u dumb'

I'm sure you convinced many people with your thoughtful comment. :)

Re:The first Bitcoin Cash block has been mined by ftlio on Thursday August 03, 2017 @08:06PM (#14925236)
"Argument from authority" i.e. you dismiss arguments by people worth listening to as 'weak' because you don't like that they are relevant, authorities on a subject and you are not.

Proof by assertion i.e. leaving off the second half of a sentence and leaving only the assertion.

ie 'u dumb' i.e. I have picked up on that you are calling me dumb and can only reply by misusing Debate 101 nomenclature.

Re:The first Bitcoin Cash block has been mined by sayurichick on Tuesday August 01, 2017 @04:48PM (#14905162)
as someone who was involved with bitcoin since 2009. you are VERY wrong.

this article will probably cover it better than I can. https://coingeek.com/core-think-bitcoin-cash/

but there was only ever the "big blocks" camp to begin with. Starting with Satoshi and Gavin Andresen. The "small block" movement is the newer "vision" and didn't/wouldn't exist if not for the financial interest suddenly employing the core developers.

The market has wanted bigger blocks for YEARS, and each attempt was slandered/DDoS'ed/attacked. Bitcoin Cash is the result of the market finally getting what it wants.

Re:The first Bitcoin Cash block has been mined by MichaelGG on Tuesday August 01, 2017 @03:46PM (#14904608)
Why would a larger block size increase fees?

ASICBoost might be a reason miners are against segwit. But enabling offchain payments kills the P2P aspect pretty hard.

There's no good reason for not having had at least 2MB blocks years ago. And it'd have provided solid info on the real impact, not just fear mongering.

Re:The first Bitcoin Cash block has been mined by brndnmtthws on Tuesday August 01, 2017 @03:56PM (#14904694)
I addressed this in another reply, but I'll repeat: it's a temporary solution. You're merely delaying the inevitable, since the block size limit can't be changed without a hard fork.
Re:The first Bitcoin Cash block has been mined by MichaelGG on Tuesday August 01, 2017 @04:55PM (#14905216)
I don't think anyone is arguing otherwise. But 2x or 8x'ing the capacity would be welcome, especially a while ago when the mempool was dozens of MB.

It's silly to say it's not a permanent solution therefore not worth doing at all.

Re:The first Bitcoin Cash block has been mined by googletazer on Tuesday August 01, 2017 @04:12PM (#14904829)
Yup you got it. Bitcoin cash is a game of musical chairs - you can only raise the block size so much before its completely centralized (even more than it already is), by hardware requirements.
Re:The first Bitcoin Cash block has been mined by throwaway9966 on Tuesday August 01, 2017 @04:55PM (#14905211)
How centralized does 8mb blocks (the max for BCC) make bitcoin? Seems decentralized enough for me.

Blocksize should be growing at the same rate that bandwidth availability is growing, but is isnt. Why not? That wouldnt affect decentralization at all.

Re:The first Bitcoin Cash block has been mined by brasky on Tuesday August 01, 2017 @06:59PM (#14906280)
Bigger blocks take more time to process if they are stuffed with transactions that take a long time for a node to process because of quadratic hashing problems. A miner could make blocks like this and then also delay the release of the block to gain an advantage finding the next block. Also add in the whole asicboost advantage and the GFC lag and it would be a nice attack for the Chinese miners. It seems like this is why they want big blocks and no segwit.
Re:The first Bitcoin Cash block has been mined by throwaway9966 on Tuesday August 01, 2017 @09:47PM (#14907234)
Well first of all, segwit doesnt affect the quadratic hashing attack vector because legacy non-segwit transactions are still valid even with segwit activated, so the attacker would just use non-segwit transactions for his attack. Flextrans (a bitcoin classic proposal) on the other hand could actually solve quadratic hashing.

Secondly, the Chinese miners overwhelmingly support segwit2x, including the 2mb HF that comes with it. If they are trying to keep asicboost (which has not been proven to actually being used), why would they support segwit2x instead of trying to force BU instead? Segwit2x includes....you guessed it....segwit...which disables covert asicboost.

Re:The first Bitcoin Cash block has been mined by brasky on Tuesday August 01, 2017 @09:52PM (#14907261)
We still have to wait and see if segwit2x actually happens. I guess we don't have much longer to wait.