News for hackers. Stuff that matters.
Re:The Private Blockchain Fallacy by cm2187 on Friday September 21, 2018 @04:42AM (#18038133)
They might not trust each others but if they know each others, why can’t they simply use a public private key solution? For a transaction to be valid it needs to have been signed by both parties.
Re:The Private Blockchain Fallacy by lucozade on Friday September 21, 2018 @05:58AM (#18038480)
They can and do. What's most useful about blockchain tech is the eventually immutable chronological ordering bit.

As an example, 2 parties can enter into a contract. The contract details are signed by both parties. The contract is placed on a blockchain that's visible to both parties and any interested regulators etc. You can even use the same chain for multiple competing parties simply by encrypting the contracts.

Note, this isn't acting as a transaction in the Bitcoin sense. It's simply using the basic mechanism of linked, hashed blocks to establish a permanent time-ordered ledger.

Time passes. Now, if there's any dispute, all parties have a shared view of exactly what occurred when. It's not practical to manipulate it as the parties know who they all are and can easily resort to external measures.

But it does solve a huge, very expensive problem that financial institutions and regulators have: a single, shared version of the truth. This is a multi-million dollar problem and blockchain tech can definitely be part of the solution.

Re:The Private Blockchain Fallacy by wolfgke on Friday September 21, 2018 @06:50AM (#18038702)
> They can and do. What's most useful about blockchain tech is the eventually immutable chronological ordering bit.

> As an example, 2 parties can enter into a contract. The contract details are signed by both parties. The contract is placed on a blockchain that's visible to both parties and any interested regulators etc. You can even use the same chain for multiple competing parties simply by encrypting the contracts.

> Note, this isn't acting as a transaction in the Bitcoin sense. It's simply using the basic mechanism of linked, hashed blocks to establish a permanent time-ordered ledger.

For this, you do not need a blockchain. Instead hashed and signed non-cyclic data structures suffice (e.g. hash lists [1], hash chains [2], hash trees). Note that the Merkle trees ([3]) that are used in Bitcoin are special cases of hash trees.

According to [3], "[t]he concept of hash trees is named after Ralph Merkle who patented it in 1979.".

What do blockchains solve that cannot be solved by these data structures that are 40 years old? The answer is: decentral consensus when the parties cannot trust each other. This was the missing building block that was necessary to build a decentral cryptocurrency.

[1] https://en.wikipedia.org/w/index.php?title=Hash_list&oldid=8...

[2] https://en.wikipedia.org/wiki/Hash_chain

[3] https://en.wikipedia.org/w/index.php?title=Merkle_tree&oldid...

Re:The Private Blockchain Fallacy by lucozade on Friday September 21, 2018 @07:10AM (#18038795)
> This was the missing building block that was necessary to build a decentral cryptocurrency.

Indeed. But if that's not what you want then you can drop that bit and use the rest.

If your point is that nothing stopped people doing this a generation ago, if they'd thought about it, then I agree completely.

But the key bit is they didn't think about it (or think it was sufficiently important). What Bitcoin did was publicize the techniques and, crucially, show that the interesting bits work well.

Of course, if you choose to use a definition of blockchain that involves trustlessness then the usage I described isn't blockchain, by definition. By I tend to use Satoshi's definition, more or less, which is orthogonal to the idea of trust.

Re:The Private Blockchain Fallacy by wolfgke on Friday September 21, 2018 @09:56AM (#18039703)
> If your point is that nothing stopped people doing this a generation ago, if they'd thought about it, then I agree completely.

> But the key bit is they didn't think about it (or think it was sufficiently important).

My opinion on this topic rather is: everything (except how to build decentralized trust) has been known for a long time. It is also known for a very long time that these techniques work well (otherwise Satoshi Nakamoto would never have come up with the idea to make them a central piece of Bitcoin). The central reason why it wasn't implemented before rather was that the people who knew about it did not have the charisma to convince "the people with money" that they should finance an implementation.

For example, already in 1989, there was an attempt to build a digital anonymous (though not decentral as far as I know) currency called DigiCash by David Chaum:

> https://en.wikipedia.org/w/index.php?title=DigiCash&oldid=83...

What happened to them? This company simply went bankrupt in 1998.

Re:The Private Blockchain Fallacy by Canada on Saturday September 22, 2018 @04:00AM (#18045023)
DigiCash lacked the novel, decentralized proof of work consensus introduced by Bitcoin and I also suspect the general public was much better able to participate with 2008 broadband than what we had 1998
Re:The Private Blockchain Fallacy by askmike on Friday September 21, 2018 @06:43AM (#18038674)
Very true, in my experience talking with lawyers is that blockchains are still very far away from having any type of legal meaning: if there is a problem down the line you can't refer to the blockchain in a lawsuit (IANAL).
Re:The Private Blockchain Fallacy by dboreham on Friday September 21, 2018 @08:09AM (#18039074)
This seems a little hard to believe given that in today's lawsuits the parties are often referring to emails. What's the fundamental difference between an email and a txn in a block?
Re:The Private Blockchain Fallacy by askmike on Friday September 21, 2018 @08:22AM (#18039148)
In my understanding you can definitely point to some tx and say that has something to do with the other party. But if there is a "contract" between two companies, like company A should give this in these circumstances to company B. If there is then a dispute about these circumstances, it matters whether the contract was on paper with actual signatures (a document designed to be able to be enforced by law) or a "smart contract" on a blockchain system somewhere. In case of the latter you cannot say "I want my money because the contract says so" if the contract only exists as a smart contract on a blockchain. If it's on paper the decision might be based on the actual wording (in English or another language) - this is all very hard when you're dealing with a programming language (or set of instructions).

But as I said, IANAL.

Re:The Private Blockchain Fallacy by 0x0 on Friday September 21, 2018 @07:41AM (#18038939)
Could this be solved with a git repository and signed commits?
Re:The Private Blockchain Fallacy by pfortuny on Friday September 21, 2018 @06:33AM (#18038622)
If you read the definition of blockchain by Nakamoto in the post, the most important point of a blockchain is to provably keep track of the order of the transactions. That is not so easy to achieve with just a public key infrastructure. Actually, timestamping is a very difficult problem and bitcoin solved it.
Re:The Private Blockchain Fallacy by tcgv on Sunday September 23, 2018 @05:09PM (#18053228)
Timestamping only works in bitcoin due to The consensus protocol, which prevents involved parties from forging transaction timestamps
Re:The Private Blockchain Fallacy by askmike on Friday September 21, 2018 @05:13AM (#18038293)
For compliance and privacy reasons. For example I deal with a lot of Swiss banks and Swiss law is very strict about what kind of data is allowed to leave Switzerland (not very much).
Re:The Private Blockchain Fallacy by cm2187 on Friday September 21, 2018 @05:32AM (#18038380)
Is it privacy as in no one must be aware that this particular party signed a contract?

Otherwise the public/private key could also be used for the encryption of the contract. Then you have an encrypted blob signed by both parties, and any of these two parties can decrypt it.

What I am not sure I get is why you need a block chain when the parties know each others. If they exchange public keys (and financial institutions have to go through a lengthy KYC process anyway), do you need a proof of work mechanism given that a transaction could be validated simply by both parties signing it.

Re:The Private Blockchain Fallacy by jkepler on Friday September 21, 2018 @05:51AM (#18038447)
I'm not sure that @askmike uses PoW in his project(s). It sounds like if the companies know each other and can form consensus, they don't need PoW to form consensus.
Re:The Private Blockchain Fallacy by berkes on Friday September 21, 2018 @06:23AM (#18038586)
They indeed don't need that. Nor PoS.

What is more, when there is a "consortium of companies that do no trust eachother using a private blockchain" they imply three things:

* They have a permissioned system: not everyone can participate. This means there is a mechanism to punish adversaries right there: just remove their permissions! A large part of what "a blockchain" is all about, is dealing with sybil attacks stemming from the requirement of it being permissionless. * They know eachother. Hence there won't be a sybil attack possible. * They have established communication channels (otherwise it is impossible to grant access to the private blockchain). Hence the Byzantine problem is non-existing or not an actual problem.

Maybe, very maybe, there is a case for a private blockchain in which there are many participants and a system to fully anonymize all these participants once they "are inside the firewall". I really cannot comprehend this, though. But that would make a case for a private blockchain, becayse sybil attacks are then again possible and need to be dealt with.

Re:The Private Blockchain Fallacy by thinkloop on Friday September 21, 2018 @05:45AM (#18038426)
You probably need chronological ordering as well, and to broadcast transactions to all stakeholders, and tools to interact with and verify the structure, and to not roll your own crypto - all of which are provided by following the "blockchain" standard.
Re:The Private Blockchain Fallacy by askmike on Friday September 21, 2018 @05:54AM (#18038460)
> Otherwise the public/private key could also be used for the encryption of the contract.

No bank inside the EU is allowed to send one bitcoin to another bank for the reason that the miner (a service provider) is not KYCed. There are ways around this (by not broadcasting the UTXO in the open, but only giving it to a miner you KYCed before - but other things like in some jurisdictions bitcoin isn't fungible from a legal perspective, meaning the Bank is required to have KYCed everyone who ever owned that Bitcoin). In other words, public blockchains are a world of pain from a compliance perspective in highly regulated fields (like banking).

Note that technology is a few steps ahead of legislators. And banks cannot take any risk in doing things they are not allowed to do.

> Otherwise the public/private key could also be used for the encryption of the contract. Then you have an encrypted blob signed by both parties, and any of these two parties can decrypt it.

If no one is able to validate the contract, why push it through the blockchain at all? Just use PGP over e-mail? That said: it's an interesting approach and a number of blockchain systems offer you to do exactly this: you have a contract with another party (node on the network), you both sign and it push the hash to the blockchain. So that everyone in the network can form consensus over that you and someone agreed to some contract that hashed to Y (for example private transactions in Quorum). But note that here you are still leaking a lot of data: people can figure out you have a contract with someone else, etc.

> What I am not sure I get is why you need a block chain when the parties know each others. If they exchange public keys (and financial institutions have to go through a lengthy KYC process anyway), do you need a proof of work mechanism given that a transaction could be validated simply by both parties signing it.

The KYC is indeed lengthy, but only a small part of the story:

I'm dealing with a lot of situations that are like "a chain of contracts". In commodity trade finance you'll have contracts between buyers and sellers, and both of them can use a bank. There are a huge number of parties involved and between all of them there are contracts (the seller is going to ship some goods, for example by boat between different countries - this requires a ton of parties and certificates, documents from customs, etc).

All of these contracts kind of rely on each other, for example the contract between the banks (the LC) has a lot of information regarding what was sold and bought - and this needs to match whats in all the other contracts and documents. Right now you have huge departments where people are going over this manually (multiple times per party), there is some software but there is not very much digitally communicated between companies.

Note that most of these contracts are signed months before the sale, and in most cases most people in this chain are not allowed to see the whole chain, just a small part that concerns them. At specific times (not when the contract is signed).

A private blockchain allows you to build these kind of solutions. With a public blockchain you can too but there are many more obstacles. What if the encryption is broken 20 years down the line? All the data would be on the street..

Re:The Private Blockchain Fallacy by thecatspaw on Friday September 21, 2018 @05:42AM (#18038413)
but would a blockchain solve this? Wouldnt the data leave switzerland this way as well?
Re:The Private Blockchain Fallacy by askmike on Friday September 21, 2018 @05:58AM (#18038481)
Definitely not. You can build a small network (eg. pegged sidechain) within different Swiss datacenters owned by different companies.

It's not trivial, but at least possible. Because if you are bank you cannot ignore the law because you want to use Ethereum mainnet.

Re:The Private Blockchain Fallacy by nickray on Friday September 21, 2018 @05:14AM (#18038295)
privacy.