94 points · by artsandsci · 9y ago · 93 comments
Wrong, SegWit (BIP 91 and 141) solves transaction malleability, which in itself will allow new layers (off-chain) to be built on top of the first layer (on-chain), which will allow orders of magnitude more throughput on number of payments per month.
Things to consider, which most people can agree on :
- SegWit2X [ segwit feature, followed by 2MB block size ] is seen as a compromise worth taking to move things forward past the current impasse, by a range of people who dislike SegWit and think an actual blocksize increase is urgently needed
- There is an immediate scaling problem : The mean and median blocksize is converging on the max blocksize of 1MB, and transactions waiting to get into the block blow out on a daily basis to 20MB. This backlog of waiting transactions causes users to pay high fees to get their transaction to the front of the queue, and causes delays in processing/confirmation times.
- there is a less urgent longer term scaling problem due to the linear architecture of the blockchain itself
My personal viewpoint :
- if you are only processing 3 transactions per second, there is substantial room for performance increases
- SegWit may help slightly in alleviating transaction pressure, and a 2MB block size will help a bit more. Given the voracity of the debate, SegWit2X is a practical compromise we should adopt to move forward. The USD/BTC market seems to agree with this.
- We do need a schedule for block increases over the next couple years so all parties have certainty, and so it doesn't create renewed havoc every few months.
- blocksize is just the first of several engineering optimizations that could see transaction throughput on the same linear architecture increase over 1000x. eg. We have a 150GB full blockchain - it would be half the size on disk if compressed.
- Even if LN or side chains are the way to scale, and only 0.1% of transactions are 'settled' on the main chain, we will still need a more efficient main blockchain, because the growth of transaction volumes will likely be exponential for the next decade.
- some people think the blocksize is a fundamental part of the genius breakthrough in technology that is the blockchain, and so cannot be tinkered with. This is wrong. Proof-of-work, monetary supply, miner reward, chained hash of the blocks, longest block wins, distributed redundancy are fundamental ideas at the core of bitcoin .. but blocksize is merely a technical issue, an artificial limit that was there to make implementation simpler, and always assumed that it would need to be increased well before it became an issue.
You also don't seem to understand that Segwit is an increase in the block size, up to about 4MB, and there are very good engineering reasons for keeping blocks smaller-- namely larger blocks increase centralization when the Great Firewall of China is taken into account.
https://blockchain.info/charts/avg-block-size?timespan=all
To my eyes, thats a graph of user growth, not a spam attack.
Similarly, this graph tells the story of an artificial barrier being hit up against :
https://quantblog.files.wordpress.com/2017/07/median_mean_bl...
In June mempools did go up to 100 or 120 MB ... I think due to new users, who then backed off as fees went up .. but even if we factor that out, there has been a steady increase over the past several years, and mempools are routinely up to 20MB every day - ie. 20x times the number of transactions are waiting for a block, as can fit in that block .. so they have to wait around to be cleared. This is not due mainly to spam, it is due to users wanting to send money with bitcoin.
I disagree that "SegWit is a block size increase" - taking the signature data out of the transaction, means the same 1MB block can squeeze in more transactions, but I think a more honest way of saying this is block "compression" or call it an "effective block size increase".
If segwit saves 50-60% of transaction space in the block buffer, then combined with an actual 2x blocksize increase, thats an effective block increase of ~4x .. which is urgently needed.
I also disagree that blocks need to be small due to the 'firewall of china centralization issue'. I suspect 8MB blocks would flow rather well across Chinas virtual borders, particularly if there are good economic reasons for those blocks to flow. Keep in mind we're talking a paltry 200MB of transactions per day .. I'm sure that level of bandwidth is dwarfed by general internet traffic.
Your explanations are presented as "very good engineering reasons", but I genuinely don't think they are.
Speaking plainly - transaction throughput, and thus user growth, is being strangled by a small block size.
https://blockchain.info/charts/mempool-size?timespan=30days
Its almost never below 15MB - ie 15x as many transactions waiting to be processed, as can possibly fit in the next block. [ and blocks arrive on average every 10mins, so its a long wait to clear out the daily peak ]
To me these stats really do present a "very good engineering reason" to increase blocksize.
Refuted: https://twitter.com/aantonop/status/885840778630541312
> Given the voracity of the debate, SegWit2X is a practical compromise we should adopt to move forward
Agreed.
> because the growth of transaction volumes will likely be exponential for the next decade.
Maybe the answer to this is extreme-pruning blockchains, e.g. MimbleWimble.
> some people think the blocksize is a fundamental part of the genius breakthrough in technology that is the blockchain, and so cannot be tinkered with. This is wrong
I don't think they claim that blocksize is directly fundamental, what they might say is that decentralization is fundamental, and blocksize changes could undermine it.
Possibly more digestible/readable sources: https://news.bitcoin.com/bitcoin-network-spam-attack-one-use... , https://bravenewcoin.com/news/bitcoin-spam-attack-stressed-n...
They rallied back because of BIP 91 being locked in leading for SegWit activation later. Nothing to do with 2x increase at the moment.
> immediate scaling problem.
This was spam tx likely from miners who insist on bigger blocks. The backlogs have been reduced now.
https://blockchain.info/charts/mempool-count?timespan=1year
> half the size
It's not compressable. Why would they not compress if it was possible already? Block size increase is not engineering, it's giving up on thinking as it drags disk space and bandwidth with the increase and not solving a thing for the future.
No matter what we do, moving and storing every single transaction is insane. It's like my bank account needing to know what every person in the world's purchases are this morning. I shouldn't need to know what some guy on the other side of the world spent his lunch money on, just to buy my own.
What am I missing? Surely the uber com sci phd's have fully solved this?
-An ecosystem of multiple different currencies does create sharding.
-Merkle trees are a hierarchy of hashes so that someone can hold only the parts of the chain they want to look at and know that they are on the right chain by syncing large parts of it with their hash as a whole.
-At Visa level transaction rates of 300 Million transactions per day and the minimum size of about 4 transactions per KB in bitcoin, that means that at current 8TB hard drive prices it costs about $900 USD per year to store all the transactions. This would also require a steady connection of at least 870 KB/s to sync with the chain.
In short, there are plenty of solutions with even the extreme examples of involvement being very obtainable by the average person in a developed country.
I haven't heard of any recent updates, but I believe ZCoin was supposed to address this issue, to an extent.
http://diyhpl.us/wiki/transcripts/scalingbitcoin/sharding-th...
Sharding is possible because you trust the db.
Blockchains are databases built on trustlessness.
Bitcoin simply doesn't scale very well because of the way transaction history need sto be stored. As long as the rate of blockchain growth can't be significantly reduced, transaction rate can't grow very much.
So small block proponents are likely to be right in that on-chain scaling is unrealistic, but if the market must be forced by developers to adhere to an artificial limit, I think that in itself implies Bitcoin is unlikely to be able to grow very far as the market is unable to self-regulate.
I don't know about you but I feel pretty good that without any algorithmic optimizations, Bitcoin seems to have a 100x scaling potential, with a full node still remaining affordable to run by a "serious" Bitcoin individual (~$100 /month).
And with that kind of cost, forget about individuals hosting.
Also since each block is so huge, others miners will take something like 30+ seconds to validate a block leading to an unfair start on the next block. (5% of a 10 min sounds like some serious gain.)
Apples and oranges. Blocksize trade-offs are related with how decentralized the network is/will be. Off-chain is a way to build layers on top of bitcoin to allow payments to start being only sent between off-chain payment hubs, which at the very long-term will convert on-chain(layer1) transactions into more of a settlement system (instead of payment system).
This, doesn't have anything to do with developers or project governance. Even if the network is decentralized, you cannot decentralize knowledge. In opensource, meritocracy is king, and obviously it will always be like this (so long as know-how is required to solve technical problems).
As far as full nodes go, incentives are a big problem IMO: there's no direct profit in running one, so whoever runs a full node is either a hobbyist/altruist, or needs one to run a business. I don't really see what kind of user needs a full node yet is unable to pay for one, if Bitcoin is more of a high-value settlement network than a high-throughput payment network.
The point is, while blocksize has some effect on centralization I don't think it's all that big a factor in the end.
I'm not sure what you mean with your last point - that the code that gets used is always made by the developers best equipped to set economic policy? Because that is what decisions on blocksize are.
From the perspective of end users, all the Bitcoin advantages materialize only if they use it directly as a payment network; otherwise they are de-facto using something else and it doesn't really matter how that something else is settled in the background, it matters how that something else works and if it works differently than Bitcoin, they're using that and not really Bitcoin.
From the perspective of users (organizations) who need high-value settlement networks, the classic alternatives (e.g. Target2) are better than Bitcoin since the needs are quite different, and the advantages of cryptocurrencies aren't that useful for high-value settlement, they matter mostly for end users.
I disagree, blocksize is only related to decentralization/throughput trade-offs, not economic policy. The only economic policy that bitcoin has is the inflation rate, which is set in stone and very unlikely to ever change.
Bitcoin is not an economy, it's a protocol. Bitcoin does not consist of people, whereas an economy does. A planned economy is literally planning people's lives. An agreed-upon constant in a protocol is not related to this.
Please spare us the pure unsubstantiated and uninformed conjecture.
Obviously yes? I think you will have to explain it anyway since the block size cap does not affect mining difficulty.
There is no technical reason for the limitation, no limits of bottlenecks have been reached now that the blocks are full and anyone could see that bitcoin as it stands takes very little CPU power and very little bandwidth to sync with the chain. If you can watch a stream on twitch or youtube, you can sync with bitcoin's chain with lots of bandwidth to spare.
For a simple user, it's not worth to keep all blockchain, because it does not matter. they can't change it or include transaction into a new block if they not mining.
> after users overwhelmingly voted in favor of implementing a code improvement
It was miners who voted, not users. If you can't get the first paragraph right, I don't need to read the rest of the article...
This is where the disagreement lies. Should the price of on chain transactions be reduced and remain low.
A 0-confirmation Bitcoin transaction similarly needs only < 1 sec to be broadcasted to the network. And a 0-conf tx offers as much security as existing payment networks (which are reversible). When I sell computer gear on Craigslist in person and someone pays me in Bitcoin, I only wait ~1 second for the tx to reach my phone's wallet before letting the buyer walk away.
A merchant needs to wait 1-2 business days before he can spend the money he received through these payments networks. With Bitcoin he only has to wait 1 block (~10 minutes), reducing pressure on his cash flow.
A merchant must wait typically 60 days for a CC transaction to be considered irreversible. With Bitcoin he only has to wait 6 blocks (~1 hour).
So, comparing apples to apples, Bitcoin is either as fast as, or MUCH faster than legacy payment networks.
Some people just needs to get off their asses and dive deep into some horrific legacy code and/or processes and fix or rewrite them. If they are pushed hard enough, they'll do it.
Yeah, who should I call if someone double spent on me? Trustless system needs to be better than that.
No, payment networks verify that the user can spend immediately. That is full confirmation in a few seconds. Bitcoin fails dismally here on very limited transaction volume by taking 10 minutes at best for something approaching confirmation and has no chance with the current architecture of POW of ever realistically replacing those transaction networks - both because of energy use and time.
A merchant needs to wait 1-2 business days before he can spend the money he received through these payments networks.
Yes, Bitcoin has the advantage here - you'll get your money faster, though there is no real technical barrier to existing networks paying out faster, the banks are just incompetent and greedy. This does depend how the payment is done - using FPS it's available instantly, using cc it's not (often more like 7 days, not 2).
A merchant must wait typically 60 days for a CC transaction to be considered irreversible.
That is a matter of policy, not tech. If Bitcoin were a serious transaction protocol, customers would demand the same features, or a guarantee in law that they could return shoddy goods - either way, the protocol is not the problem here.
When I sell computer gear on Craigslist in person and someone pays me in Bitcoin, I only wait ~1 second for the tx to reach my phone's wallet before letting the buyer walk away.
In that case you have no idea if that transaction is actually confirmed and not a double spend (typically Bitcoin requires at least minutes to confirm), that's not equivalent to them paying you by bank transfer in seconds. Comparing a zero confirmation transaction from bitcoin to a full confirmation transaction from a bank is disingenuous at best.
That's not even touching on all the other flaws of bitcoin as a method of payment - irreversibility (yes people really don't want that!), pseudo anonymity (just enough for criminals, not enough to stop states), complexity meaning average users hand their entire savings over to someone else, lack of insurance or regulation (yes people really do want that!), lack of backing as a currency making it extremely vulnerable should it become popular to being targeted and cornered by states or money markets, hidden centralisation through miner cartels running the transaction network and a small group of devs/companies producing the complex software required, energy use of POW which means it could never handle enough volume....
Using merkle trees to store transaction ledgers is really interesting, but with the current architecture of bitcoin is not a rival to current payment networks mostly because it appears to be designed for something else entirely (to replace fiat cash it seems, which is on the way out anyway).
With a very large blocksize limit, miners who produce blocks which are very big, run the risk of a smaller block from a competing miner winning the race, as it is faster to validate and propagate over the network.
This limiting factor should mean the blocksize converges to a size that the network can comfortably handle.
https://motherboard.vice.com/en_us/article/aek3za/bitcoin-co...
If you work in IT this is like a monthly meeting of the team. You ALWAYS hear "oh we are so suprised, it wasn't designed for such an amount of users/load/whatever". It's just not true. It's a show. And I really don't know why this argument STILL works. If you run 10 topics in parallel, 7 will report this exact reason. If you check them out closely 3 report that truthfully, but really let you wonder why management decided to put so stupid people on top of these projects in the first place. 4 actually have planned for this to happen, and where just not sure if they run into it this month or next month.