278 points · by dsr12 · 8y ago · 173 comments
In what way? Publishing a DB dump with a checksum has been around for decades, and doesn't require a new user to download an entire history of deltas from day 1.
The definition implies that if someone says "I'm on block 1000" they cannot create altered version of history without touching all the blocks after the change.
But how is this useful? If there is a disagreement about the last block, majority wins, right? So couldn't majority simply have the most up-to-date version of the database with a single signature?
- Fraud
- DDoS
- Censorship
The usefulness of a consensus protocol is that no one party can be trusted to have the most up-to-date AND valid blockchain. Every node has the incentive to cheat and the consensus rules define a method of evaluating the proposed chain of blocks and determine it's "trustworthiness". In PoW this is often an algorithm like Greedy Heaviest Observed Sub-Tree (GHOST) which favours the fork with the highest accumulated work.
This is why it's important that mining is an expensive activity, to discourage attackers from wasting thousands of euros in electricity and then losing the block reward payment.
That's what it solves. It removes the need for trust and dependence in a central authority. There's no central actor to hack, or that can abuse the system, or be compelled to censor.
Consider Paypal. They're obligated to follow the regulations of every single government whose citizens they serve. Paypal themselves can also make value judgements. That severely limits who can use the system, for what purposes, in what quantities, and how frequently.
Unfortunately, this is a problem almost no-one has; meanwhile, where parties are able to agree on a trustworthy central authority - as parties operating within the rule of law, relying on cooperation with protocol and old-fashioned police/lawyers to identify and punish defectors in old-fashioned meatspace, generally are - blockchain is an incredibly expensive solution to the problem of distributed consensus compared to other options available to them.
This solves the problem of where you would publish said checksum. Instead of publishing it in an issue of the New York Times, say (which could theoretically be forged), you publish it somewhere that you can be 99.99% sure won't be forged, is viewable to everyone, and can be done fairly cheaply and would likely hold up in any court of law.
However, that's pretty much it. That's the whole benefit. You could also probably publish said checksum on facebook, with the same likelihood of it not being tampered with.
Note that I'm not arguing that blockchain won't gain adoption, just as people probably could have made a similar value-based argument about facebook in its early days, I personally believe there are cultural forces that will keep some blockchain asset in somewhat high demand.
That's not quite it. The other thing you get is "and this database guaranteed to have some properties". In the case of bitcoin for example you are guaranteed every transaction was authorised by the owner of the bitcoin being exchanged and there are no double spends.
But even that's not quite it, because those properties are flexible - even for bitcoin. They are actually assertions made by computer programs, something the lines of "if the database says X an Y are true, then I say Z is true". For example X might be "I have the put $x in an escrow account". Y might be "I have not paid the supplier $x in the agreed y days". Z might be "The escrow agent is allowed to deduct an fee from $x for himself, and pay the balance to myself and the supplier as he sees fit".
And thus we have gone from publishing the checksum of a database to controlling what can happen to $x in the future.
In general taking a snapshot of a blockchain at a single point in time and saying "all I have done is published an immutable database" misses the bigger picture. The blockchain is a chain of assertions about what has happened in the past and based on those what can happen in the future - and you can't alter the control of those future assertions re-writing the past, which is prohibitively expensive.
We currently have another way of doing a similar thing that has been refined over the centuries - contracts, interpreted by courts rather than software, enforced by governments, police and guns. Right now the new boy on the block, blockchains, only thrives where this existing system refuses to play - which is to say illegal transactions. (And maybe its detractors are right - maybe it will always be too clumsy and slow to expand beyond that.) However to say the blockchain is merely a snap shot of its database rendered immutable by a published checksum is like saying our system of law is a just the series of title deeds on house, rendered immutable because they line in some government office.
People will still need loans. People will still want low risk investment vehicles to "store" their wealth in. At least some sizable number of them will want an institutional actor to handle operational security and insure against key loss.
> auditors go away
The blockchain mostly guarantees that a ledger hasn't been tampered with, but it doesn't guarantee that the transactions were correct and complete in the first place. Plus, it's trivially easy to transfer funds without it registering on the ledger; all I have to do is create a wallet and give the private key to you out of band somehow.
> credit requirements for market participation go away.
There are no credit requirements today, as long as you're only spending funds you have on hand. Credit requirements allow an actor to spend funds they don't actually possess with a reasonable expectation that they will be willing and able to produce those funds (plus interest) at some later date. Having the ledger public reduces, but doesn't eliminate, the need for the actual providers of those temporary funds to want to form some expectations of future performance.
Most of the ancillary infrastructure that's grown up around fiat currencies is there for really good reasons, and most of those reasons don't automatically go away when the underlying currency type changes.
As somebody pointed out https://news.ycombinator.com/item?id=18076542 high transaction throughput is not exactly the killer feature of modern-day blockchains.
Would this require globally broadcasting all transaction? If yes, wouldn't globally broadcasting all transaction give you a lot of transparency anyway?
The reasons to run a personal node are related with privacy, trust and decentralisation.
1. It's a potentially revolutionary technology (trust-less, decentralized, nearly tamper proof, etc) that hasn't yet found a killer app(s) at scale
2. We're in the middle of a gold rush with zillions of shit-coins really throwing off the signal to noise ratio
This period will pass. Blockchain tech is maturing (PoS replacing PoW, throughput increasing, formal verification, on-chain governance, etc). Most of the shit-coins will disappear (a common headline these days is exchange X delisting NN coins because they're worthless). Things will consolidate, the really valuable tech will bubble to the top.
If you follow the news, you'd know there's a lot of stuff in the works, from major corporations to governments trialing blockchain for different purposes. Now, you can take a philosophical position about blockchain and say it's worthless, but the rest of the world doesn't seem to care and its widespread adoption is beginning to look like a foregone conclusion.
> In energy for instance, much talk about the financial aspect of a blockchain-based energy solution but absolutely zero talk of how the physical grid and infrastructure would engage to support the financial activity.
http://news.trust.org/item/20180828095937-yg29h/
This is a project trialing in Bangkok. Excess electricity from private solar is sold off automatically.
> Helping it along is blockchain, the distributed ledger technology that underpins bitcoin currency, which offers a transparent way to handle complex transactions between users, producers, and even traders and utilities.
> Blockchain also saves individuals the drudgery of switching between sending power and receiving it, said Martin.
I don't have any details, but it seems they've figured out how 'energy on blockchain' actually works. I have heard the project has been successful enough that city decided to tax them to the point of being unprofitable (will likely correct itself in the future, was probably just a knee jerk reaction).
I'd argue it has: cryptocurrency and all the criminal enterprises it supports (e.g., ransomware). If you're willing to enter legally-enforceable contracts with other parties, then "trustless" and "decentralized" don't matter all that much to you.
And of course, you can always include as many people in your transactions as possible but what blockchain does is to make those people unnecessary. Why is this important? Because it enables micro-transactions and credit-less agreements. A blockchain provide options that fiat-based systems can never provide.
I also think that the mad gold rush has the potential to turn off those who would build the real ecosystem, small pieces of useful, reusable smart-contract code at a time.
Also, are you the Dan Collins in Phoenix? I think we did a project together about 4 years ago...
But more importantly, blockchain might provide a way to get around the information asymmetry problem that dominates financial value exchange. Blockchain is better in the idea that the entity trying to transact exposes all their cards on the blockchain - if they want to extract value from a transaction it will not simply be because they "know more than you". Power to the people.
I worked on Square's payment systems and I agree. Most credit card payments at least go through a merchant acquirer, one or two card networks (they can proxy to one another), and the card issuer. Settlement tends to involve other parties like First Data. Sometimes there are extra middlemen like Braintree.
Settlement is slow mainly because of the ancient technology. Payments are usually settled in batches, which are typically processed once a day, and transferred with some variant of FTP. Since there are a few parties involved, it usually takes a few days for each of their batch settlement jobs to complete. The companies involved tend to be very cautious and slow to change; a lot of them still use COBOL running on IBM mainframes.
> On a blockchain that can happen in as little as 10 minutes
Or a matter of seconds with BFT systems :) I'm working on a BFT system with a goal of subsecond consensus.
To give you a concrete example of a use case that can't be met without a blockchain, I'd suggest looking into Aragon and their DAO (decentralised autonomous organisation) software.
Edit: Oh wow -- Anders is the author of the MIT demo. All the same stuff really.
Would love your feedback on it!
So in short, it is an extension of the internet (trust layer) and it will change the world. So I don't think that's nonsense to say, but I can see how these claims would appear to be exaggerated to someone with limited exposure to Bitcoin and other cryptocurrencies.
But let me ask you this: exactly what problem will a database/tree/file solve for vehicles or currencies? We can agree upon that what you are asking and looking for can't be answered or will get a reply similar to: we don't have that problem. You may have asked the wrong question though.
Let me be more precise and create a problem that doesn't exist but for programming purposes I want these requirements: many users should be able to read a (hardly) modifiable data structure that gets more resilient the more use it and that is a singleton who everybody has access to (call it decentralised if you will). Blockchain sounds like a perfect fit doesn't it? Now, when we replace the data structure keyword with OS and resiliency with speed, we can agree upon that this sounds like a decentralised operating system (Ethereum or whatnot).
Don't get me wrong. I don't see any problems that need to be solved with blockchain right now either. But clearly there is a trend in cryptocurrencies and decentralisation that seems to be important to a lot of people. There are tons of problems that need solving: trust misuse, censorships, privacy issues, advertising and so on. That there is a need for a change is obvious. That this change started with blockchain technology is good. I'm also sure cryptography is important to you too. Why not embrace an emerging technology that benefit your field of study?
Vehicle purchasing/financing paperwork.
Inspection tracking.
Yeah, they don't really though. They allow a few extremely specific applications requiring decentralized trust. The trust guarantees only hold if no single party can, even momentarily, control more hashing power than was collectively used to generate the last X blocks, where X is number of updates made since the data you want to tamper with was inserted.
To put it in concrete terms, pretend we have a blockchain for publishing PGP keys, and that your public key is 10 blocks down in the chain. If I want to maliciously replace your key with one of my own then all I need to do is rent a few dozen servers off of AWS for a day or two and use them to generate a modified chain that has my key instead of yours in the 11th block down and then rehash all ten blocks spending slightly more compute power each time than the original committers did. The network will recognize my fork as the authoritative one because it's got more proof of work. That's expensive, but it's certainly not infeasible.
This trust mechanism works out for cryptocurrencies because their only value is monetary. That means that people are incentivized to set up mining rigs to spend a lot of real resources on mining because they automatically get compensated. It also means that there's a bounded maximum amount of effort that a rational actor will spend to tamper with the chain, because there's a finite limit on the available profit to be gained.
Neither of these are true for PGP keys. Publishing a secure update to a PGP key database is not, in and of itself, a profit generating enterprise, meaning fewer miners and far less resources spent per mining rig. And the potential upside of successfully tampering with the right key is enormous.
The actual mechanism which produces the security guarantees in blockchains isn't cryptographic, it's economic. Tampering with a cryptocurrency's blockchain isn't actually impossible, or even difficult, it's just by definition more expensive than it's worth. When you try and move to an application other than financial assets the economics break down, the security guarantees go out the window, and all you're left with is an extremely inefficient git clone.
Or, since manufacturing an automobile is already centralized just use existing PKI.
But I think Block chain can succeed. It matters less that it works, as long as the rich and powerful believe it can help then sustain their status.
(I can imagine some genuine uses, but I'm not interested in explaining them to people, especially not technical people with an axe to grind. So boring! Much quicker and easier just to say nothing, sit tight, see what happens, and find out that way whether I'm wrong or not. Most technical people are myopically technical anyway, and the technical side is just not the interesting bit here.)
Permissionless and trustless digital payments truly has the power to change the world.
It arguably already has with the rise of darknet markets and cryptojacking. Think of all the movies where a suitcase of cash must be delivered to a drop off spot, this now all goes away.
But the bigger picture includes making it much easier and safer for business which cannot take credit cards to accept payments. Think donations to wikileaks, porn and marijuana businesses.
Think about what it means for people to control their own money in case of a crisis. In places like Venezuela people are already using cryptocurrencies to avoid inflation, a corrupt government and to cross the border with their wealth intact. Charities like eatBCH uses cryptocurrency to send people money into the country in order to buy food.
Yet another step back, if cryptocurrencies would truly catch on and replace government backed fiat for general use, then it's not as easy to simply "print more money" to get away from financial troubles. Banks might then have to take responsibility for their actions instead of getting bailout after bailout.
1) Some people are ignorant;
2) Some people are trolls;
3) And some people have an agenda e.g. they're trying to get folk in 1) to buy something.
But if you're talking specifically about cryptocurrencies and bitcoin then I assume you're a bit salty because you think you missed the hype. Don't worry tho, we are still early adopters.
If you are a small producer and you send a shipment of your widgets to Wal Mart, and Wal Mart then say "what widgets?", the efficiency of their SQL Server installation isn't a benefit that will bring you much comfort.
If you are a small producer and you send a shipment of your widgets to Wal Mart with little rfid stickers on tracked by a blockchain system that you, the shipping company, border security, Wal Mart's warehouse and Wal Mart's stores run nodes for, you have a system that may bring you a bit more comfort. Running a node is simpler (or at least more efficient - pen and paper is simpler than SQL Server...), and the outcomes more encouraging for all participants, than some of the alternatives.
The question "Why not just banks using computers?" is where distributed timestamp servers came in and there is an extensive literature devoted to both the ideological and practical arguments around this. Briefly because banks are untrustworthy, expensive and slow. Banks themselves using blockchains is recuperation ideologically speaking, and FOMO technologically speaking. It is less silly to the degree that it does improve banking transparency and trustworthiness, but abandoning proof-of-of-work for the nonsense of "permissioned" blockchains restores it to being very silly.
Is it simply brute-forcing hashes, looking for matching patterns that are not yet known?
And yeah, but it also requires valid transactions if you want to collect fees, as well as the knowledge of the valid previous block.
That way we can make small adjustments to the difficulty. If we actually used a rule like "this many zeros in hex", the difficulty bumps would have to be rather large.
What I like most about cryptocurrency is the fact that it financially incentivizes massive collaborative behaviour without requiring participants to actually own any capital at the beginning. It lets you create financial incentives out of nothing. Before cryptocurrency, this kind of collaborative game-rigging behaviour was only accessible to people who owned a lot of capital (e.g. 'activist' investors).
For example, I could launch my own cryptocurrency tomorrow and then use it to air-drop (aka bribe) journalists to write about my project in a positive way - This is pretty standard behaviour among Silicon Valley startups but now you can do it without VC money.
It sounds bad but it's much better than what we have now.
It levels the playing field for everyone. For the first time ever, regular people have the power to change the world together through incentivised collaboration.
It's like if you could give some shares of your startup to a journalist in exchange for writing an article about your startup. Cryptocurrency can act like shares without central authority. If enough software services rely on a specific cryptocurrency as payment, then it has actual intrinsic value
I wish I'd seen this earlier. Pretty sure this is false, but it is an excellent summation of the thought behind what's run up digital currencies.
Then ultimately a chain that is consistent might have been manipulated, but you can check it against other copies. At this point you could be just comparing plain text ledgers (but blockchain comparison could be easier by just comparing hashes.)
The difficulty can be adjusted to ensure that finding such a number is very hard. Obviously in the demo, it was not so very difficult - your machine was able to work out a value for the nonce very quickly by itself, but in the real network, the difficult is set so that this is hard. So hard that the whole network of miners working together will only find one, on average every x minutes (configurable depending on how you update the difficulty). This means that creating another block is difficult.
The whole network has the rule that longer chains of blocks are preferred over shorter ones, so as more blocks are added to a chain, the amount of computation required to overtake the main chain and have your modified chain accepted as the truth becomes very large. To rewrite history, you don't just need to modify the data and recalculate the hash for each subsequent block, you need to find a nonce that works for each of the subsequent blocks, and you need to be doing this faster than the main chain is adding new blocks, or your chain will never be as long as the main chain, and it will never be considered the 'truth'.
That's why people talk about 51% attacks - the idea is that you need to have a majority of the hash power of the network working on your dodgy chain if you want it to overtake the main chain. Now there are things you can do with less than 51% of the network hash power, but for the naive approach, you're going to need a phenomenal amount of computing power to stand a chance of having people accept your version of history. For alt-coin chains with very few participants, there have been real attacks along these lines. It's hard to imagine attacks like this succeeding against any of the main blockchains though.
And yes, comparing two blockchains for equality is very easy - the hash of a block includes the hash of the previous block, as you can see in the demo, so the hash represents the entire history. If two blockchains have a different hash for the top block, they have different histories.
I think that distinction needs to be made (centralized vs distributed).
Is there only one of its kind?
Is "How Internet Works" grammatically correct?
EDIT: I didn't see this was already asked in another comment.
It's just a short-handed title given to a concept by people who need to talk about it but don't fully understand it. Like the way politicians talk about "cyber"
Edit: The use of "blockchain" in this article rather than "a blockchain" or "blockchains" seems to be just to conform to the broader discussion. The linked page does seem to demonstrate a clear understanding of how blockchains work.
But it's how financial/business people are typically abbreviating "blockchain technology". It's like Brexit: there are many possible implementations, but one concept.
Blockchain is both the descriptive label for distributed ledgers and the pronoun for Bitcoin’s Blockchain.
It could have been “how blockchains work” if talking about blockchains generally but “how Blockchain works” would seem to be the title of an article discussing how Bitcoin’s Blockchain works specifically.