News for hackers. Stuff that matters.
Re:Blockchains are the new Linux, not the new Internet by lumberjack on Sunday May 28, 2017 @02:48PM (#14435576)
I'm not very well versed in the world of banking and finance. What would banks use a blockchain for?

All I can think of is a trustless clearing house. That would make sense on one hand, but it would also divulge a lot of possibly sensitive information to the public.

Other that that I know there have been a lot of hackathons about Bitcoin organised by banks but I never heard anything coming out of them.

Re:Blockchains are the new Linux, not the new Internet by runeks on Sunday May 28, 2017 @03:28PM (#14435725)
> I'm not very well versed in the world of banking and finance. What would banks use a blockchain for?

Nothing, in my opinion. The value of a blockchain stems from the fact that, combined with proof-of-work, a single history of transactions can be agreed upon without a central party. This is the same feature that prevents alteration of history, because it would require recalculating the proof-of-work. This comes at a very high cost, however, since energy is literally burnt off just to reach this distributed consensus. Therefore, it only makes sense for the utmost valuable applications, like digital money.

I mean, right now Bitcoin miners are paid over a million USD per day in order for the network to reach distributed consensus. Please, anyone, let me know which kinds of applications can bear even a tiny fraction of this cost, except digital money. Even at 1% of this cost, a blockchain-based clearing protocol would be both more expensive and orders of magnitudes slower than using a central party -- and the purpose of clearing is to increase efficiency/reduce costs in the first place.

Banks are in the business of taking in deposits and lending them out, while taking a cut. Trustless lending makes no sense; you need to trust whoever you lend money to, or you'll be lending a lot of money to gambling addicts, with little chance of repayment.

Re:Blockchains are the new Linux, not the new Internet by avar on Sunday May 28, 2017 @05:02PM (#14436075)
You're making a couple of assumptions which make your entire argument invalid in the context of a "private" blockchain between e.g. several banks.

The first is that you're assuming a race to the bottom where the banks will simply try to outspend each other on CPU. You can get a lot of the benefits of a blockchain where e.g. the 10 banks could all agree to each have 1 x86 box contributing to their part of the blockchain.

Any violation of such an agreement could be easily solved in meatspace, i.e. 9/10 remaining banks would just agree to ignore the chain maintained by the violator. Since they'd all recognize that they're getting /other/ benefits out of the blockchain without succumbing to some game-theory-esque race to the bottom.

Even if there's no such agreement the claim that any sort of alternate blockchain will use up the same resources as Bitcoin itself does is trivially refuted by various altcoins which use up less total CPU, since they're smaller networks.

The second faulty assumption is thinking that the only thing standing in the way of rewriting blockchain history is prohibitively expensive CPU resources. In the context of a "private" bank blockchain the banks could simply manually ignore a branch of the chain recognized as being produced by some malicious actor.

That leaves a bunch of valuable uses of the blockchain for banks. It's been mentioned as a replacement for the largely manual cross-bank money settling protocols they use now, replacing those with a blockchain would likely be much more secure and transparent, and any issues that arose by voluntarily running a "limited" blockchain would likely be smaller and more easily mitigated than whatever security issues their ad-hoc protocols have now.

Re:Blockchains are the new Linux, not the new Internet by TheDong on Sunday May 28, 2017 @05:08PM (#14436093)
There's no value of the work if there's meatspace negotiation, limitations like that on mining, etc, etc.

Tell me how this theoretical private blockchain would be better, in any way, than a git repository where each bank signs commits, commits them, and pushes those commits to all participating banks.

Re:Blockchains are the new Linux, not the new Internet by avar on Sunday May 28, 2017 @05:22PM (#14436141)
Here's quotes from a bunch of people interested in the subject on how this would be useful, instead of me trying to repeat all of that: https://bitcoinmagazine.com/articles/what-are-the-use-cases-...

It would be useful beyond some custom git-based solution because if what you want is just a distributed ledger with safety & auditing built-in you can get that off the shelf by leveraging e.g. the Bitcoin codebase. If you're doing that with Git you need to write a bunch of custom software around it to arrive at the same result.

Re:Blockchains are the new Linux, not the new Internet by danmaz74 on Sunday May 28, 2017 @06:34PM (#14436389)
Thanks for the link - but honestly, I didn't see any compelling use case listed there.
Re:Blockchains are the new Linux, not the new Internet by TheDong on Sunday May 28, 2017 @05:51PM (#14436233)
git is a distributed ledger with safety and auditing built in just as much as a blockchain is, if not more.

The bitcoin codebase doesn't provide anything as good as you describe.

For example, let's say you wanted to find, in the ledger's history, a transfer of $20 from $a to $b. With bitcoin, that requires writing custom software. Git has built in tools to find changes with certain contents, signed by certain keys, etc.

If you want to argue about what has more mature tooling for the banking usecase, you'll find that literally anything that isn't a blockchain, be it git or a sql database, has more mature auditing tooling.

Re:Blockchains are the new Linux, not the new Internet by nugget on Sunday May 28, 2017 @05:16PM (#14436118)
ETH vs ETC was essentially behind the scenes meatspace negotiation. The physical world is not as obsolete as some people think.
Re:Blockchains are the new Linux, not the new Internet by politician on Sunday May 28, 2017 @05:18PM (#14436127)
Today, banks clear transactions between themselves through the SWIFT network. By investing in distributed ledgers, a group of banks can collude to avoid settlement feees incurred by going through SWIFT.

That's the benefit to financial institutions, and the threat to SWIFT. The technology itself is nearly irrelevant. From a game theory perspective, what matters is whether their R&D is plausible enough that they can use the tech as leverage to negotiate lower fees.

Also known as cutting out the middleman.

Re:Blockchains are the new Linux, not the new Internet by runeks on Monday May 29, 2017 @12:38AM (#14437431)
> By investing in distributed ledgers, a group of banks can collude to avoid settlement feees incurred by going through SWIFT.

How does a distributed ledger remove/lower settlement costs?

Re:Blockchains are the new Linux, not the new Internet by castellar on Sunday May 28, 2017 @08:31PM (#14436753)
Yes but the technology we're discussing would almost certainly need to be maintained and verified by the banks at some financial cost?
Re:Blockchains are the new Linux, not the new Internet by rorykoehler on Sunday May 28, 2017 @08:51PM (#14436805)
The banks own SWIFT.
Re:Blockchains are the new Linux, not the new Internet by kpil on Monday May 29, 2017 @01:36AM (#14437582)
The idea is to spend less money than the other guys.
Re:Blockchains are the new Linux, not the new Internet by paulmd on Monday May 29, 2017 @02:06AM (#14437642)
If you trust the counterparties enough to trust that they'll hold to the hashrate limitations, you are implicitly trusting that they won't try to screw you and take 51% control, in which case they can do whatever they want. The two concepts are literally one and the same.

Validating transaction settlement according to an agreed-upon set of rules is perfectly fine. The whole hashing thing on top of it makes no sense whatsoever for trusted counterparties: you just agree that if the block doesn't validate then it doesn't happen and nobody accepts it. The attacking bank is now "hardforked" onto their own chain that nobody else cares about.

Again, for trusted parties the hashing thing is entirely useless. A distributed ledger is fine, but not groundbreaking in a world with off-site replication of databases. You can probably hack something together with triggers for validation in like a week.

Re:Blockchains are the new Linux, not the new Internet by avar on Monday May 29, 2017 @05:37AM (#14438278)
You don't need to trust everyone to hold to hashrate limitations, you have a closed network, you just need the majority of participants on the network to agree kick out any violators.

Here's an article describing how the majority of hashrate was reversed once for Bitcoin itself:

https://bitcoinmagazine.com/articles/bitcoin-network-shaken-...

The largest miners all agreed to switch to the 0.7 chain, even though the 0.8 chain had more CPU power. This could just as well have been done on a closed bank network by e.g. everyone agreeing that Deutsche Bank are being dicks and trying to take over the network, and simply manually ignoring what they're mining.

If you're one of 10 miners on a closed network and you know the other 9 will simply start ignoring you if you break the rules, you don't have any incentive to break the rules.

You also haven't come up with any plausible scenario for why one bank would even bother to do this. If you're using a private blockchain for e.g. a SWIFT replacement as discussed in this thread, what's Deutsche Bank going to do once they become dicks and acquire 99.9% of the mining power? Disproportionately pay for running the whole thing? They don't have any interest either in screwing up the network or approving double-spending or whatever, since they're also using this SWIFT-replacement just like everyone else is.

Claiming that this is "useless" in "a world with off-site replication of databases" is missing the point. You're just failing to imagine that there can be anything on the spectrum betweeen a 100% centralized system with 100% trust and a 100% decentralized system with 0% trust.

How is a group of 10 banks who needs a SWIFT-like system going to run a traditional DB with off-site replicas, say the primary fails, which replica run by the 10 banks does everyone agree to fail over to? You'll very quickly just need some centralized party to run the whole thing at a large cost, and you'll end up with SWIFT again.

This is the part that a private blockchain makes easy. You have banks or other private parties that all benefit from running a low-cost distributed ledger, they can firewall this off from the open internet, and all of them just have an interest in keeping the system going as-is at a low cost.

It's easy to monitor whether some party is breaking the basic rules of mining, and once you have that setup adding new banks becomes a much easier lower-trust operation than e.g. giving some random new bank read-write access to your traditional RDBMs SWIFT replacement.

Re:Blockchains are the new Linux, not the new Internet by pjmorris on Sunday May 28, 2017 @06:25PM (#14436357)
> I mean, right now Bitcoin miners are paid over a million USD per day in order for the network to reach distributed consensus. Please, anyone, let me know which kinds of applications can bear even a tiny fraction of this cost, except digital money.

Real estate sales. US residential market, ~188K average house price, 5M house sales annually, 6% commission + 1-2% fees per sale. A blockchain record tracking the transfer of title, perhaps in parallel to the existing county appraiser records, and to the MERS system [0], would be worth something. At a flat fee of $100 (less than the property appraiser fee), that's 500M annually, clearing your bar of 365M. At a percentage of the sale, anything over 0.005% would do.

You're looking at tracking currency, but tracking assets and their ownership is another important function of banks, one that blockchains can help implement.

[0] https://www.mersinc.org/

Re:Blockchains are the new Linux, not the new Internet by mter on Sunday May 28, 2017 @07:01PM (#14436471)
Wouldn't a 51% attack means I could lose my house?

I seem to be missing how this would work or why this would be desirable.

Re:Blockchains are the new Linux, not the new Internet by literallycancer on Sunday May 28, 2017 @07:41PM (#14436589)
Anyone could fake your signature on a few papers, bribe the guy at the land registry or whatever bureau handles property transactions and you could lose your house. It doesn't have to be a house, it can be a company or anything else. All at a fraction of the cost of 51% attack.
Re:Blockchains are the new Linux, not the new Internet by paulmd on Monday May 29, 2017 @01:48AM (#14437606)
However, with a 51% the attacker now authoritatively owns my house. If someone tries to land-snatch my house in the real world, I go to court and get it back.

Meatspace resolution is a feature, not a bug. Including for cryptocurrency, as the ETH/ETC hardfork has definitively shown (comparing the relative values of the two). Everyone talks a big talk about immutability... but nobody actually wants to live on the "authoritative" blockchain where somebody made off with 15% of the money supply.

If your assumption here is that you live in a war-torn country where a warlord can use guns to take away your property, or another situation with no real rule of law... the warlord is not going to care about what some "blockchain" says. Or they'll use their guns to force you to transfer it to them for a penny. Get real.

Re:Blockchains are the new Linux, not the new Internet by avar on Monday May 29, 2017 @05:49AM (#14438321)
You and so many other people in this thread misunderstand how a 51% attack would work in this context.

You buy a house, the transaction gets on the blockchain network. Just like you wait for confirmations with Bitcoin you'd wait e.g. for 1 day or for 1 week confirmations, this would be agreed upon by both the seller and buyer.

Now, let's say someone with deep pockets re-computes the last 1 week of transactions in a 51% attack and "undoes" that transaction. The branch of the blockchain that got replaced doesn't just disappear, it has your house in it, thousands of other houses will have been sold through that branch of the chain, and thousands of people will have that full public record.

At this point you and the rest of the owners could obviously go to a court and get your houses back, just as you could if the deeds got lost through a fire today but you had other evidence to prove they existed.

Nobody's suggesting that the entire court system be replaced by a blockchain and we ignore all other mitigating evidence, it's just being suggested that storing e.g. deeds in such a system is more reliable than storing them in a couple of filing cabinets somewhere.

Re:Blockchains are the new Linux, not the new Internet by DennisP on Sunday May 28, 2017 @08:27PM (#14436746)
And all those attacks are common in some third-world countries. Registering ownership on a public blockchain would be a big step up for them.
Re:Blockchains are the new Linux, not the new Internet by chx on Sunday May 28, 2017 @08:43PM (#14436788)
I only want to know one thing: do you guys live in this world? I have been following Bitcoin since the beginning and there seems to be an utter disconnect between the blockchain hypers and the real world.

Seriously, who in their right mind would accept this? That you pull some data in a ... what, app? Provided by whom? And it proves house ownership? Have you ever bought real estate or are you 14 to believe this shit?

In the real world, there is a chain of trust made out of lawyers, notaries, various government agencies and so on. It's only in the fever dreams of juvenile hackers and Ayn Rand believers who thinks the world work without it.

Re:Blockchains are the new Linux, not the new Internet by benchaney on Sunday May 28, 2017 @11:41PM (#14437277)
Did you read the comment you are replying to? Not every country in the world is exactly like the United States. I was impressed that you managed to make a comment that was refuted by the comment it was replying to. But then you insult his intelligence? That is some next level idiocy.
Re:Blockchains are the new Linux, not the new Internet by pjmorris on Sunday May 28, 2017 @09:07PM (#14436855)
> Seriously, who in their right mind would accept this? That you pull some data in a ... what, app? Provided by whom?

Exactly the problem I have with the system - MERS [0,1] - that the banks have been putting in place over the last 20 years. I think having to file, in paper, with local property appraisers may make the most sense as a check on large-scale manipulation, but having some kind of independent, incorruptible single source of truth is desperately needed and isn't especially there right now.

> In the real world, there is a chain of trust made out of lawyers, notaries, various government agencies and so on.

And in that real world, there's plenty of manipulation in which houses get taken from their rightful owners. See, for instance, 'Chain of Title' [2] by David Dayen. Again, some kind of independent, incorruptible single source of truth is desperately needed and isn't especially there right now. I wouldn't want to replace multiple, independent parties checking the validity of transactions, but having an accessible, reliable, incorruptible reference would help everybody, I think.

[0] https://www.mersinc.org/ [1] https://en.wikipedia.org/wiki/Mortgage_Electronic_Registrati...

[2] https://www.amazon.com/dp/B01DV1YERY/ref=dp-kindle-redirect?...

Re:Blockchains are the new Linux, not the new Internet by chx on Sunday May 28, 2017 @09:31PM (#14436914)
You seem to misunderstand what we expect from a system like this.

We expect that the ratio of failure compared to the burden on society to be low and so far the real estate registry, notaries, banks, lawyers very occasionally corrected by courts of law are providing this. Even if in a few contrived, complex cases it doesn't work out, that's fine.

Here's an example: I am a resident of Vancouver, Canada and last year I was buying a house in Hungary and I needed to empower my brother to act as my agent, and, repeat, I was the buyer not the seller and yet to give a power of attorney that is recognized for real estate contract purposes I needed a "strong" one: either one with an apostille which you can't get in Canada or one sealed by a consul of Hungary. The honorary consul in Vancouver was on vacation. So my options were: visit the honorary consul in Seattle, visit a notary in Washington State and send the document to the Corporations Division in Olympia, WA for an apostille and hope it gets done in time or fly to the embassy in Ottawa or the high consulate in Los Angeles. Lovely options, all of them. Thanks god, I actually had business in Bellevue anyways and the honorary consul in Seattle was helpful.

This is the sort of documentary strength we demand and accept when exchanging goods of high value. I have a strong trust in seals, signatures and such when backed by the court and ultimately the monopoly on violence by the state -- I have this trust even in Hungary where systematic corruption is in place. If someone debates whether I own that house in Hungary, I have the contract bearing the seal of a lawyer to show I bought it and the title in the real estate registry shows that the previous owner was indeed the seller. That's the chain of ownership. Could you bribe the real estate registry? Sure, I did in 2008 to expedite the copying of an important piece of paper (that's Hungary for you, no express processing available) -- but I have serious doubts of the possibilities of bribing the registry to falsify the title as there is the chain to show it false.

Meanwhile I have zero trust whatsoever in a piece of software. I am a senior software developer / architect / whatever you want to name, and I know how this particular sausage is made and I would not trust it too far.

We could create systems that fail in even fewer cases but as always with engineering as you get closer and closer to 100% precision, costs skyrocket. We could demand that ten good people testify to your ownership like a minyan for The Mourner's Kaddish but society, so far, is satisfied with the current system enough not to do this because it would be terribly onerous.

Re:Blockchains are the new Linux, not the new Internet by NamPNQ on Monday May 29, 2017 @02:02AM (#14437629)
What values of the documentary when political instability occurs, your assets still is your assets? Blockchain can do that.
Re:Blockchains are the new Linux, not the new Internet by thisisit on Monday May 29, 2017 @07:34AM (#14438584)
Not it can't. Because governments can refuse to honor the documents and they can also refuse to honor the blockchain proof too. Sure like on paper, block chain will show he owns the house but without an approving authority no one cares.

As it is stated in one of the earlier comments, block chain is good for digital currency only.

Re:Blockchains are the new Linux, not the new Internet by julianmarq on Monday May 29, 2017 @01:09AM (#14437506)
Ok I have zero interest in blockchains and somewhat firmly believe them to be a fad but, honestly, you read like an Amish decrying "those metal monsters."

Software was good enough to send a few guys to the Moon and back fifty years ago, software is enough to tell you that your house is yours.

Re:Blockchains are the new Linux, not the new Internet by joosters on Sunday May 28, 2017 @08:58PM (#14436825)
Luckily, those kind of attacks can be detected and corrected in a non-blockchain world. A blockchain's features are not a good fit for this kind of use case.
Re:Blockchains are the new Linux, not the new Internet by runeks on Monday May 29, 2017 @12:24AM (#14437396)
Real estate sales, as you mention, are already quite expensive. Why would burning off energy, which adds to this cost, make any sense?

Anyone who can get by without intentionally wasting energy, for the purpose of reaching consensus (between whom?), will be able to offer the same service at a lower price.

I just don't see the purpose of employing an algorithm designed for distributed consensus, between a few, well-defined parties (buyer, seller, county appraiser).

Re:Blockchains are the new Linux, not the new Internet by m1sta_ on Sunday May 28, 2017 @07:14PM (#14436511)
Re:Blockchains are the new Linux, not the new Internet by ChemicalWarfare on Sunday May 28, 2017 @08:37PM (#14436769)
>> The value of a blockchain stems from the fact that, combined with proof-of-work, a single history of transactions can be agreed upon without a central party.

PoW is not the only consensus algorithm out there. Sure, in a completely trustless scenario which is what bitcoin and some ethereum apps are doing - something like PoW or PoS needs to be in place (although Ripple has a different approach for example).

For internal private blockchains, this is not really necessary however and would just reduce the tx approval rate.

Re:Blockchains are the new Linux, not the new Internet by joosters on Sunday May 28, 2017 @08:54PM (#14436817)
Proof of Stake has some difficult problems to overcome, and it's not clear if they are solvable or not, see the paper https://download.wpsoftware.net/bitcoin/pos.pdf for some background.

It's likely that PoS really just degrades into PoW, with stake holders needing to perform calculations as fast as possible to prevent attackers from out-competing them and generating alternate versions of the blockchain. Adding complicated fines and 'punishments' to deter PoS cheaters just increases the amount of work that they need to do, but cannot stop the problem.

Re:Blockchains are the new Linux, not the new Internet by drdeca on Sunday May 28, 2017 @11:46PM (#14437298)
Does it seem reasonably likely to you that PoS could increase the proportion of computational resources that attackers would need, provided that the attackers control a low enough proportion of the tokens?
Re:Blockchains are the new Linux, not the new Internet by joosters on Monday May 29, 2017 @04:32AM (#14438079)
Intuitively, I'd say no. I can't see how you can ever prevent a '51%' attack (that is, 51% of compute power). No matter how many coins you own, the attackers can validate their own holdings and disavow the honest stakeholders.

At first glance, it seems to be a solvable problem because you can try to put obstacles in place that punish attackers (e.g. fining PoS attackers who generate 'false' results). But you cannot make these inducements to honesty bite, the attackers can happily keep churning out false results until they take over.

The problem is worsened because PoS is meant to save wasteful power usage. Honest participants are not likely to dedicate vast computational resources to it, while the attackers will be strongly motivated to do so. The end result seems likely to be an arms race, leading to an effective slide back to PoW, just with added complexity.

Re:Blockchains are the new Linux, not the new Internet by kristjansson on Sunday May 28, 2017 @09:07PM (#14436852)
> internal private block chains

What are the possible use cases for something like this?

Re:Blockchains are the new Linux, not the new Internet by danbruc on Sunday May 28, 2017 @09:49PM (#14436968)
Nothing that is not as easily done with a database. Once you remove the proof of work which enables pseudonymity you are left with a kind of replicated database.
Re:Blockchains are the new Linux, not the new Internet by buckie on Sunday May 28, 2017 @10:57PM (#14437142)
tl;dr -- private blockchains make it possible to distribute a common piece of infrastructure between businesses with competing interests. The sit between the stream of new inputs and the database.

I've built one of these types of systems (kadena.io). The key differences between a replicated DB, though let's use consul instead because it's closer to a private/permissioned blockchain (distributed) and the differences are the same, are two-fold:

#1 They are designed to run in a multi-administrative context (i.e. where you don't own all the servers). Imagine running consul where you only had direct access to 20% of the nodes. You could do it, but you'll eventually have problems as it's possible for a few misconfigured servers to slow/halt/collapse the cluster. The problem is that in multi-admin you can't directly fix the troublesome servers. The system itself needs to be robust against them -- you need BFT consensus (for this and other reasons).

#2 The killer feature of private blockchains is having a smart contract language. It allows you to write and run code that runs on my servers without me having to trust/audit your code. This is only possible because of the frankly ridiculous level of security that the system provides. It is also a fundamentally new feature. For a new language that's actually appropriate for serious work (which EVM-based langs are not) take a look at Pact on the aforementioned site.

Simply, if you want to be able to host logic and data, with the infrastructure distributed among multiple administrative units (businesses/firms) that don't completely trust each other, then you end up building a "private blockchain". You need a decentralized way to replicate new information (consensus), that is robust against bad nodes (BFT), that linearizes the new information (blockchain-like), that can execute logic on your machine written by individuals that you don't trust (smart contracts), that tracks/enforces auth at every level (PPK-Sigs everywhere!).

Re:Blockchains are the new Linux, not the new Internet by runeks on Monday May 29, 2017 @12:11AM (#14437370)
> The killer feature of private blockchains is having a smart contract language.

A contract language has nothing to do with blockchains. All you need is a well-defined interpreter, whose interpretation all parties agree represents "the truth", and all that's left is entering into a legally binding contract which states these terms plus the "smart contract" in question.

Ethereum showed very well what happened when people enter into a non-binding (by the legal system) smart contract: they refuse to abide by the decision by retroactively modifying the interpreter to interpret the contract in their favor. And why wouldn't they?

Re:Blockchains are the new Linux, not the new Internet by buckie on Monday May 29, 2017 @04:06PM (#14441124)
> A contract language has nothing to do with blockchains.

In a strict sense, you're right. All a smart contract language needs to run is a linear set of inputs. However, they have a lot less utility without the other parts of a blockchain (distributed, crypto-data structure for assurance, etc.). If you don't care about being distributed, just use an API or run the external code in a container/vm.

> they refuse to abide by the decision by retroactively modifying the interpreter to interpret the contract in their favor. And why wouldn't they?

While I don't agree with the hard-fork decision, I understand (from a biz POV) why they did it. They didn't have too many options. Either hard fork or let the "hacker" collect the prize. IMO this lack of options was a failure of the EVM and solidity language itself.

While the DAO debacle had a bunch of causes but the main problems, from a language point of view, were: (a) centralized governance (upgrading/migrating) of a live contract isn't a first class citizen in solidity, (b) there's no distributed governance mechanism at all, (c) formal verification of solidity contracts is still years away.

Pact has (a) already and we'll be upgrading it to handle (b) as well next month (via a weighted vote mechanism). Either of these would have at least been able to mitigate the impact of DAO's issues -- just upgrade the contract and migrate the table the contract is guarding. Pact also has (c): https://youtu.be/Nw1glriQYP8?t=1072

Re:Blockchains are the new Linux, not the new Internet by paulmd on Monday May 29, 2017 @02:03AM (#14437633)
> It allows you to write and run code that runs on my servers without me having to trust/audit your code.

So basically it's a hilariously slow and wasteful equivalent of Heroku. Amazing.

Re:Blockchains are the new Linux, not the new Internet by buckie on Monday May 29, 2017 @03:46PM (#14441018)
If you're thinking about the EVM's take what smart contracts should look like then you're 100% right. General, replicated computation is a good first step but a poor idea long term.

Blockchains, both public and private, are really just distributed DB's. You wouldn't fold a protein or price an option in your DB, you'd use some external system and save the results to the DB. The same line of reasoning goes for blockchains.

This is why we made our own language from scratch -- Pact is a bit like regular SQL + procedural SQL + programmable auth. It's not Turing complete and can compile to Z3 for formal verification. Given that every execution is a transaction, and it's interfacing with a normal DB, it's performance bottleneck is are the underlying DB itself.

Re:Blockchains are the new Linux, not the new Internet by girvo on Sunday May 28, 2017 @09:46PM (#14436962)
A project I'm working on at work is utilising it for confidential computing between a number of parties that want to share data between themselves, but are direct competitors and don't trust each other.
Re:Blockchains are the new Linux, not the new Internet by atgreen on Sunday May 28, 2017 @06:11PM (#14436314)
My view is that the 'blockchain' hype has forced a conversation in the FI community around disintermediation and allowed them to invest in process optimization under the guise of blockchain innovation. I agree that the real innovation in this space is distributed security through proof-of-work, but AFAICT that's not interesting to the banking community.
Re:Blockchains are the new Linux, not the new Internet by kpil on Sunday May 28, 2017 @06:34PM (#14436390)
I can't decide if the investors in R3 have no clue or if they are actually smart and are using this as an opportunity to modernise, unsettle the large networks, and also take the opportunity to pose as relevant.

I'm leaning towards giving them the benefit of a doubt as there are plenty of 'trusted 3rd parties' that are charging the banks significant amounts of money. There are clearly some incentives here.

As a technical decision, it makes zero sense though.

I have tried to figure out if a shared distributed ledger could reduce the huge deposited reserves for fast money transfer, but I doubt it unless the central banks are in this somehow.

Re:Blockchains are the new Linux, not the new Internet by kpil on Monday May 29, 2017 @01:40AM (#14437587)
Ok. After reading all the comments, I am now instead leaning more towards the conclusion that private blockchains are tools to separate fools from their money.
Re:Blockchains are the new Linux, not the new Internet by highd on Sunday May 28, 2017 @04:31PM (#14435964)
Proof-of-Stake will be released on Ethereum soon and will greatly reduce the mining overhead, FYI.
Re:Blockchains are the new Linux, not the new Internet by robinson-wall on Sunday May 28, 2017 @08:29PM (#14436750)
How is Proof of Stake useful in an interbank network though? My understanding of PoS is that everyone wants to follow the same chain because the interest payments on your stake make it beneficial to you to accept a new block. Presumably there wouldn't be anything to stake in a private blockchain.
Re:Blockchains are the new Linux, not the new Internet by runeks on Monday May 29, 2017 @03:20AM (#14437859)
Proof-of-stake is not a consensus algorithm on the same level as proof-of-work.

When faced with two blockchains, one in which I control 100% of coins -- and thus 100% of the stake -- and some other chain, which chain do you choose, and why?

You can't use stake to make the choice, because that's a property of a chain, so you need to decide which chain to use before stake has meaning.

Also, what happens if an attacker exploits a bug in the Ethereum implementation, and uses it to replace all nodes' chains with his own copy? How can we ever return to the correct chain unless we just use trust/majority vote?

Re:Blockchains are the new Linux, not the new Internet by iamphilrae on Sunday May 28, 2017 @04:43PM (#14436003)
Actually, if you read one of their blog posts from the last few weeks, they've pretty much abandoned it because it's too hard a problem to solve. Sorry I can't cite, on a mobile and in a rush.
Re:Blockchains are the new Linux, not the new Internet by terhechte on Sunday May 28, 2017 @05:16PM (#14436119)
This is wrong. Ethereum's proof of stake algorithm is named Casper, and is already open source, you can see the repository here:

https://github.com/ethereum/casper

There's even a Github project where you can see that the current state is work on the "Fork choice/chain logic". This was started 6 days ago:

https://github.com/ethereum/casper/projects/1

The next release (Metropolis) will afaik contain a first implementation of proof of stake which will run in parallel with their proof of work algorithm (last I heard was that every 1000th transaction will be run via proof of stake, but I may be wrong here).

Re:Blockchains are the new Linux, not the new Internet by cslarson on Sunday May 28, 2017 @06:07PM (#14436304)
I don't think the metropolis release will include any POS based consensus.
Re:Blockchains are the new Linux, not the new Internet by djrtwo on Sunday May 28, 2017 @04:53PM (#14436043)
I spend a lot of time in the ethereum proof of stake gitter and I can confirm that this is false. It's actively being researched and still in the roadmap. A hybrid PoS/PoW model will likely come out first.
Re:Blockchains are the new Linux, not the new Internet by joosters on Sunday May 28, 2017 @09:03PM (#14436843)
Re:Blockchains are the new Linux, not the new Internet by srbl on Sunday May 28, 2017 @03:16PM (#14435677)
So I can't provide a strictly bank-oriented response, but blockchain is just a distributed ledger system. I think some disservice is done in not clearly separating out the functions of blockchain from those of cryptocurrencies. You could use blockchain to manage property, contracts, microtransactions, data commerce, file storage, or certification, to name a few things. I think it's mostly a question of what can be fit into the ledger framework. Some people think that various local networks and other functionalities in the Internet of Things could be a testing ground for its broader uses (e.g., managing ownership of smart devices). Blockstack envisions it as kind of a backbone for a new Internet browsing paradigm, leveraging blockchain as a sort of DNS replacement if memory serves correctly. It's unclear if any of these ideas will take off in the near term.

Going back to these blockchain applications being separate from cryptocurrencies, to me Ethereum is a step away from the coupling of the two, because it is designed with contracts in mind rather than just money. And a number of folks have signed on to developing systems that leverage Ethereum - take a look at the Enterprise Ethereum Alliance. Still I suspect that given the fact that it's unproven, the actual investment made in personnel and capital by these firms is low. Also, the ironic counterpoint to this view is that Ethereum also has ETH, a cryptocurrency. I'm an investor in ETH, but even so, I am not sure what it is worth at this point, since the value of Ethereum seems to lie not in currency but in other applications of the blockchain.

Re:Blockchains are the new Linux, not the new Internet by zanny on Sunday May 28, 2017 @04:17PM (#14435914)
Except the examples you give demonstrate two widely divergent use cases - public and private. If you are managing an internal database, you don't need proof of work. You need concurrent conflict resolution. Every major database right now has such faculties built in and you don't need to spend megawatts of power to maintain it.

In the public dns replacement use case there is promise and potential, but it has the laundry list of problems you would need to solve to make it happen. I look forward to the attempts, of course, because traditional dns is a brittle top down nightmare of exploitable corruption and manipulation.

But still, blockchains as they are are only useful when you don't trust participants. And for along large-scale application, making that claim puts you in a political position - either you trust or distrust the governments oversight of whatever you are trying to reach consensus on. While a lot of people will, at inquiry, say they don't trust the government, very few people are willing to put the effort into forging an alternative public trust framework for things like property rights or certification that you mentioned.

Re:Blockchains are the new Linux, not the new Internet by srbl on Monday May 29, 2017 @02:36AM (#14437732)
I agree with you that the public use case makes more sense than the private one, though really I feel that it's not about "public" or "private" but rather about different sides in some market, whether it is public or private.

But I'm not sure I understand, were any of those use cases "private?" When I mentioned "manage property, contracts, microtransactions, data commerce, file storage, or certification, to name a few things", I think pretty much all of those besides file storage (on which I'd defer to Blockstack) represent agreements or exchanges between different sides in a market or platform.

Re:Blockchains are the new Linux, not the new Internet by Lazare on Sunday May 28, 2017 @07:59PM (#14436645)
A lot of the financial system is built on legacy systems that don't work very well, don't interoperate very well, and don't really have the capacity to handle what's demanded of them. Hence why a lot of very simple things takes days when they should take seconds, or cost several dollars when they should cost fractions of a penny: Stuff like transferring money between accounts, registering a change in ownership of financial assets, etc. Generally speaking the situation is something like "there's a central organisation that everyone trusts, they run a central ledger, but it's slow and limited; we need to upgrade it."

However, spending millions and millions of dollars to make a better system for recording payments, or changes in land title, or whatever is a hard sell. It's an extremely boring problem that's been solved ages ago, and now someone needs to actually go and build it, but nobody wants to fund it, and nobody wants to work on it.

A blockchain, on the other hand, is cool. People want to talk about them, people want to work on them, and you can get funding. Of course, it's totally unsuited to solving any problems banks actually face, but that's neither here nor there. :)

Re:Blockchains are the new Linux, not the new Internet by Roritharr on Sunday May 28, 2017 @04:11PM (#14435892)
I recently read an Interview with the CEO of one of Germany's biggest travelling agencies, TUI[1]. In it, he described selling the "hotelbeds" database service for 1.19bn€ because in the future information about hotelbed vacancies would be stored in a public blockchain, not in centralised closed data silos. He described this as a democratization of data, a counter model compared to how Facebook and Google currently hoard data without giving anyone else access to it.

To me it didn't make sense, because who would participate in such a blockchain? Who is the miner? Why? Where is the trustless concensus feature needed? Maybe someone more knowledgeable can explain what he meant.

[1] https://www.welt.de/wirtschaft/article164874973/Die-Internet...

Re:Blockchains are the new Linux, not the new Internet by terhechte on Sunday May 28, 2017 @04:35PM (#14435978)
There's quite a lot of data out there which is shared by multiple companies with easy (or sometimes complicated) sync mechanisms where the actual money is not in the data but in the services that can produce this data. Hotelbeds is one example:

- Hotels want to have their information on as many sites as possible

- When travel site A blocks / books a room, travel site B and C need to update their databases quickly

- The money is not in the database, as those are effectively just data caches of the information that the hotels will happily provide free of charge

- The data is already shared between hotel sites, just that every site has their own data silo.

- Money is made through individual contracts, upsell, services or better UI to access the shared data

Another example of this is, of course flight information.

So why would a company move this data onto a blockchain. We can take Ethereum as an example. Note that some of the things I describe here are presently not possible with Ethereum but will be possible within the next couple of software updates (I imagine within the next 1-2 years). Ethereum offers an existing, working, generalized blockchain with existing miners. Sure, a company could try to roll its own blockchain, but, as you observed, who would want to mine that. Also, there's little to gain by taking a private database and making it a semi-private blockchain.

Ethereum incentives the miners with Ether to continue to secure the data and keep the consensus.

The Hotelbeds database could become a database on top of Ethereum and the access would be regulated via a smart contract. That smart contract could be used to mark an individual room as booked (or reserved) for a certain time range. This means that each booking would cost a small amount of gas to pay for the transaction. Ethereum strives for a sub-second block time, which means that the database transaction could be almost instantaneous (compared to, say, Bitcoin, where currently transactions sometimes need to wait 3-4 hours). In comparison to the booking cost of the room, this small transaction / gas fee would be negligible (I hope). Since all Hotelbed sites would use this same contract / blockchain, there'd be no syncing required, as all changes would be available to all clients the second they happen. Even better, the smart contract could contain basic logic to defend invalid requests without ever alerting the clients (booking invalid dates, etc). A different, but related dataset (say car bookings) could also be hosted on the blockchain and could be queried at the same time to provide additional services ("there's one free car to rent for your hotel in that timeframe").

Alternatively, of course, all hotel sites could just get their data from one database company that sells access to the data and takes care of an internal database of all hotel bookings (i.e. Google). However, then, you're dependent on a different vendor. He may change his prices, he may limit the data, he may start giving certain hotels only to premium clients (see net neutrality). Even worse, at some point he may stop serving the data because it is not economically feasible (see Google Reader, or Facebook Parse). With Ethereum, there's nobody who officially owns the database. It can also never be taken offline again (at least until the last miner stops running his Ethereum node).

This doesn't work for data sets where the value lies in the data itself, but for data which is already replicated across multiple databases anyway, this is a great alternative solution to have a truly global, synced, database that is owned by nobody, where nobody gatekeeper, and where the entrance barrier is low.

I.e. it wouldn't make sense for Facebook (obviously) or Gmail, but for a truly decentralised Twitter (nee Diaspora) or Weather Information, etc.

Re:Blockchains are the new Linux, not the new Internet by notahacker on Sunday May 28, 2017 @05:37PM (#14436187)
I'm still struggling to see what Ethereum adds over a regular API connection to the hotel's actual reservation database, except requirement for new software to be written and mining costs (paid by whom?)

I mean, hotels are a great example of a system where there is a gatekeeper (the hotel), that gatekeeper wants to do stuff that blockchains aren't optimised for (rolling back transactions, keeping most of the data non-public and limiting who can access the shared bits at what rate) and doesn't want to do any of the stuff which blockchains are optimised for (trustless transactions, immutable permanent records). With hundreds of thousands of travel agencies already using distribution platforms that interface with existing reservations system and none writing smart contracts, I can't see any incentive for a hotel to insist on accepting bookings in the latter form. Making a purely internal blockchain database like TUI have done is an even weirder move.

(English version of the TUI interview http://www.tuigroup.com/en-en/homepage-news-specials/2017-05...)

Re:Blockchains are the new Linux, not the new Internet by RexetBlell on Sunday May 28, 2017 @07:32PM (#14436559)
The advantage that Ethereum adds is other existing DAPPS on Ethereum. For example, a hotel owner could put up a room for sale and buy insurance right away for the case it won't be rented out in the next 24 hours. Or the owner could ask a prediction market, "what price should I set for this room?" to maximize my revenue. It's kind of hard to explain, but the biggest selling point of Ethereum is an ecosystem of Dapps working together.
Re:Blockchains are the new Linux, not the new Internet by nisa on Sunday May 28, 2017 @06:34PM (#14436388)
Some serious questions - If you have technical not buzzword links for how 'the blockchain will work I'd also be happy. So far it all came to down to: smart contracts, etherum!?

Some questions:

How is user access organised?

How to remove an organisation?

How to remove old booking for hotels?

How to prevent me from exploiting an bug in the database? I.e. incuring storage or computation costs -> DDoS?

How to revoke access when a private key / access token is compromised?

If I'm having a lot of Etherum due to hacking or stuff like that - what prevents to me extort the Hotels to break their system? Blow up the database? if I have enough gas.

Bug in the database?

I'm honestly interested how this is solved / will be solved. If you have links - at best with some math / hard concepts please share!

Thanks!

Re:Blockchains are the new Linux, not the new Internet by RexetBlell on Sunday May 28, 2017 @07:23PM (#14436535)
The contract (you can think of it as a class in Java) has a list of private keys who are allowed to make modifications to the database. Each key has has a list of associated privileges - what modifications can that user make. Keys with a higher privilege level have the right to add/remove keys.

When someone creates a booking, he has the right to remove his own booking. Each booking might also have an expiration date, so it's removed automatically when expired. When a key is stolen, a key with a higher privilege level can disable access of the stolen key.

If it's implemented correctly (which will take time and maybe several failed attempts), hacking, bugs and DDOS should not be an issue.

Re:Blockchains are the new Linux, not the new Internet by harryh on Sunday May 28, 2017 @06:03PM (#14436279)
I don't think the relevant comparison is the cost of an Etherium transaction to the cost of a hotel room. I think the relevant comparison is the cost of an Etherium transaction to the cost of a transaction to a proprietary database.

Distributed consensus transactions are MUCH MUCH more expensive than transactions to centralized databases. Is that extra cost worth eliminating the disadvantages of centralization that you cite? Maybe. But that's not at all obvious to me.

Keep in mind that a transaction on the block chain currently costs about $11:

144blocks/day * 12.5btc/block * $2100/btc / 335000transactions/day

Re:Blockchains are the new Linux, not the new Internet by jpatokal on Sunday May 28, 2017 @06:29PM (#14436373)
The extra cost here is not the cost of the DB write, but the rent extracted by the owner of the database. For example, access to flight bookings data starts at thousands of dollars/month.
Re:Blockchains are the new Linux, not the new Internet by harryh on Sunday May 28, 2017 @06:39PM (#14436407)
Yes, that is certainly one of the "disadvantages of centralization" that I was referring to. Again, it's not clear to me that that cost will be higher than the additional costs of writing to a distributed consensus database (which are very very high).
Re:Blockchains are the new Linux, not the new Internet by cjbprime on Sunday May 28, 2017 @03:05PM (#14435636)
Don't underestimate the kind of things that the finance industry is bad at keeping track of :) https://www.bloomberg.com/view/articles/2017-02-17/dole-food...
Re:Blockchains are the new Linux, not the new Internet by spangry on Sunday May 28, 2017 @09:51PM (#14436974)
It's not so much banks using blockchain. It's more blockchain being the new 'magic beans' that Deloitte, Accenture and their ilk can sell to clueless (but 'agile'!) executives.
Re:Blockchains are the new Linux, not the new Internet by pmorici on Sunday May 28, 2017 @06:06PM (#14436298)
Read up on how international banking and specifically correspondent banking works[0]. There is a lot of counter party risk for banks in that process. Bitcoin or something like it would allow a system to be built that eliminated a lot of that counter party risk.

[0] https://gendal.me/2013/11/24/a-simple-explanation-of-how-mon...

Re:Blockchains are the new Linux, not the new Internet by rampage101 on Sunday May 28, 2017 @07:11PM (#14436499)
The crypto-currency Ripple is meant to replace the SWIFT banking system. Right now, transfers between banks are relatively expensive, think for example about a $25 Wire transfer fee.

Ripple would make it so these transactions between banks costs only a few cents, and can be verified easier. That being said, I am not a fan of investing in Ripple because they have no private wallets, and they have stolen from customers because of KYC/AML (Know your customer/Anti-Money Laundering).

Re:Blockchains are the new Linux, not the new Internet by SkyMarshal on Sunday May 28, 2017 @04:56PM (#14436054)
This article explains the general thinking behind it:

https://gendal.me/2015/04/27/how-to-explain-the-value-of-rep...

Re:Blockchains are the new Linux, not the new Internet by dismantlethesun on Sunday May 28, 2017 @03:19PM (#14435687)
Having a block chain doesn't mean that you have to give access worldwide to anyone and everyone. Banks could provide blockchain access to only computers that cleared their firewall, and are API authorized. Think ach except with a black chain as th back end.
Re:Blockchains are the new Linux, not the new Internet by runeks on Sunday May 28, 2017 @03:41PM (#14435766)
Why would parties that trust each other, and don't let anyone untrusted in, have a need for trustless consensus?
Re:Blockchains are the new Linux, not the new Internet by paulrd on Sunday May 28, 2017 @08:19PM (#14436716)
Trust isn't a binary relationship. Computer security is hard. I trust people to try their best to not get hacked or not to get kidnapped and tortured, but alas it sometimes happens. I'm surprised no-one has mentioned that the only reason to use a block chain is to achieve byzantine fault tolerance. Casper is trying to solve much the same thing that has already been solved by Tendermint but with different trade-offs (CAP theorem trade-offs).
Re:Blockchains are the new Linux, not the new Internet by dismantlethesun on Sunday May 28, 2017 @08:23PM (#14436728)
Well banks don't necessarily trust their international partners for example totally. Smaller banks fo instance have a lot of trouble sending unsecured wires. With the block chain it would be possible to have more trust on the amount of funds another bank has available.
Re:Blockchains are the new Linux, not the new Internet by monocasa on Sunday May 28, 2017 @05:25PM (#14436149)
Because despite the fact that they trust each other more than any random shmuck, they don't completely trust eachother?
Re:Blockchains are the new Linux, not the new Internet by ChemicalWarfare on Sunday May 28, 2017 @08:23PM (#14436730)
Private inter-bank blockchain can be used instead of the archaic system that the banks use today (this is basically what Ripple is doing).

Internally (as in completely private intra-bank blockchain) - for transaction tracking/mining etc.

Re:Blockchains are the new Linux, not the new Internet by Temasik on Monday May 29, 2017 @12:02AM (#14437339)
Look at ripple xrp
Re:Blockchains are the new Linux, not the new Internet by tehlike on Sunday May 28, 2017 @03:04PM (#14435632)
You can have private ledgers.