News for hackers. Stuff that matters.
Re:How to create a private Ethereum network by omarforgotpwd on Tuesday July 25, 2017 @08:39PM (#14852983)
A blockchain is secure because in order to "hack" into the database you need to have 51% of the computational power on the network to create the longest chain. In a large network like Bitcoin or Ethereum the massive computational power of the network ensures generating 51% of the compute power of the network is near impossibly expensive. How secure is a private blockchain? If there are only a few servers the network could be destroyed by just unplugging a few machines, or plugging in a few more.
Re:How to create a private Ethereum network by ym705 on Tuesday July 25, 2017 @08:54PM (#14853025)
I recommend reading this: https://blog.ethereum.org/2015/08/07/on-public-and-private-b... . In a private blockchain the reading and writing permissions are controlled, therefore only selected nodes can write to it.

"The validators are known, so any risk of a 51% attack arising from some miner collusion in China does not apply."

I guess you could still have attack from authorized nodes in your own organization?

Re:How to create a private Ethereum network by omarforgotpwd on Tuesday July 25, 2017 @09:21PM (#14853124)
Well, if you only need to maintain transactions within your own organization and there is full trust, why not just use a simple SQL database to record transactions instead of a much more expensive and complex blockchain? If there are multiple parties, what's to stop one of the nodes from, say, buying 1000 GPU instances on EC2 and massively increasing their hashing power. Even if you have some type of network control settings that only allow certain nodes access to the network, the proof of work could be distributed and you could just proxy the answer back to the machine that has access to the network.
Re:How to create a private Ethereum network by wmf on Tuesday July 25, 2017 @09:46PM (#14853219)
The case for private ledgers is coordination among a moderate number of non-anonymous mostly-untrusted entities. (Whether this case ever exists is left as an exercise for the reader.) They can't use a central database but they don't need mining either; variants of BFT can be used that work as long as (n/2)+1 entities are honest.
Re:How to create a private Ethereum network by eterm on Wednesday July 26, 2017 @04:39AM (#14854492)
If things are non-anonymous, you are far far better off having highly fungible but also highly audited databases.

Make it easy to do but also easy to undo anything, while also having a very large amount of transparency in the system so any "bad actor" can be dealt with swiftly.

That seems to work for the banking system, where any malicious transactions are easily "reversed" (often just reversed on one side actually, 'paid for' by insurance / banks) and a large amount of auditing which makes it possible to clamp down on the bad actors quickly.

Abusing the system then no longer becomes a technical challenge so it removes the possibility that someone with the right technical prowess can "break" the system. Robbing a bank is the easiest thing in the world, just walk in and ask for money, it's getting away with it that's difficult.

Re:How to create a private Ethereum network by askmike on Wednesday July 26, 2017 @06:15AM (#14854936)
> That seems to work for the banking system, where any malicious transactions are easily "reversed" (often just reversed on one side actually, 'paid for' by insurance / banks) and a large amount of auditing which makes it possible to clamp down on the bad actors quickly.

I work for a bank on blockchain projects. It's almost never this simple. You'd be suprised how much banking is paper based right now for the simple reason that no party wants a central solution controlled by any other party.

Re:How to create a private Ethereum network by mercer on Wednesday July 26, 2017 @06:54AM (#14855117)
That's fascinating. Could you tell more about that, or maybe provide a link to more information? I find the topic interesting, and as a geek am inclined to find blockchain stuff cool and useful, but I know very little about the real-world situation/concerns.
Re:How to create a private Ethereum network by askmike on Wednesday July 26, 2017 @05:38PM (#14860609)
A lot of companies in all kinds of sectors (finance, healthcare, etc) are looking into blockchain (or DLT) because it allows for a database model that is not centralised. This is great in situations where you don't fully trust other parties you are doing business with.

A lot of these companies are doing experiments using private blockchains (like the private ethereum network linked in OP). However depending on how much you trust the "other" parties allowed to mine (or sign blocks), you might still have the risk where one or more conspire against you and 51% attack you. Periodically putting a blockheader of your private chain into a public blockchain would be a great solution to this, as pulling off a 51% attack on bitcoin is rather hard.

Re:How to create a private Ethereum network by mercer on Friday July 28, 2017 @12:03PM (#14875239)
Thanks for the info! Do you perhaps have some suggestions for what a good 'next step' is when it comes to understanding all this in more detail?
Re:How to create a private Ethereum network by just_one_time_ on Wednesday July 26, 2017 @09:35AM (#14856052)
Can you speak more to where your industry is now in adoption? If there were some "major event" would companies like yours be ready to jump ship into cryptos quickly or are they going to be too late?
Re:How to create a private Ethereum network by gburt on Tuesday July 25, 2017 @09:11PM (#14853090)
I read the article and he doesn't really answer why this is beneficial. If you have an arbiter of truth, isn't it just a really inefficient database?
Re:How to create a private Ethereum network by omarforgotpwd on Tuesday July 25, 2017 @09:23PM (#14853132)
Exactly. A blockchain is supposed to provide a set of guarantees so the nodes don't have to trust each other. If there is already trust, why bother with a blockchain in the first place? If there isn't trust, then there's definitely a possibility that one of the untrusted parties could try and attack or disrupt and the shared ledger.
Re:How to create a private Ethereum network by askmike on Wednesday July 26, 2017 @06:16AM (#14854944)
Trust is not always so black and white (as on the open internet where anonymous people try to scam each other), in a lot of business cases there are different levels of trust which needs to be handled in a different way.
Re:How to create a private Ethereum network by buckie on Wednesday July 26, 2017 @01:22AM (#14853831)
> The validators are known, so any risk of a 51% attack arising from some miner collusion in China does not apply.

That's just wrong. Dangerously so. Maybe I'm just missing something in his protocol spec and he didn't really mean mining...

I've discussed this attack vector in more depth here[1]. Even if you made the mining function signing the block with your sk it'd still be wrong. Even if you forced the sk holder to have that same sk protect something really valuable, it would still be wrong... just have a larger disincentivize.

The whole point of mining is that it's non-auditable (w.r.t. who is physically mining) -- the only real metric you get is the speed of success which you can always mask by not releasing a block immediately. That's why PoW is a cockroach of a consensus protocol.

In the "we roll a dice to see who gets to append to the ledger next" metaphor for consensus, deterministic and PoS both require you to know the number of sides the dice have before you roll them. In PoW, you don't figure out the number of sides until after.

[1]: http://kadena.io/blog/MiningInPrivate.html

Re:How to create a private Ethereum network by ghgr on Wednesday July 26, 2017 @04:57AM (#14854568)
Not necessarily a miner collusion in China, just one of the authorized miners spinning 1,000 EC2 instances to make a 51% attack.
Re:How to create a private Ethereum network by decentralised on Wednesday July 26, 2017 @01:11AM (#14853795)
Private blockchains have client nodes in a closed network or otherwise require some form of "API key" to be procured from the chain's owner to be able to connect.

In this case, because there is centralisation of trust, the 51% attack is not possible as there is only one mining node or, otherwise, only one "actor" can actually add blocks to the chain with as many nodes as needed. This is the case with Ripple, for instance.

Re:How to create a private Ethereum network by 6nf on Wednesday July 26, 2017 @01:50AM (#14853900)
So why bother with a blockchain at all?
Re:How to create a private Ethereum network by decentralised on Wednesday July 26, 2017 @02:17AM (#14853995)
You mean what are the benefits of a private blockchain?

The trust model is different but all other capabilities are kept intact, so in the case of Ethereum you would still have the distributed singleton and immutable code that will always execute in the same way anywhere in the network, at any point in time.

For established businesses entering the space, the privacy of closed network compensates the absence of "secrets" to some extent. It is also quite useful as a training ground because of course the technology is still in its infancy.

Re:How to create a private Ethereum network by 6nf on Wednesday July 26, 2017 @03:39AM (#14854290)
So what's the use case?
Re:How to create a private Ethereum network by decentralised on Wednesday July 26, 2017 @03:47AM (#14854314)
Store and transfer of digital assets?
Re:How to create a private Ethereum network by decentralised on Wednesday July 26, 2017 @04:17AM (#14854421)
I guess you can say it's not needed but then again what is?

Some paper and a pen might solve your business problem but you shouldn't extrapolate that all business cases would be met with those capabilities.

I do think there is plenty of room for private blockchains, but the use cases will be specific to the needs and constraints of the stakeholders.

Re:How to create a private Ethereum network by philh on Wednesday July 26, 2017 @09:58AM (#14856201)
> I guess you can say it's not needed but then again what is?

There's a difference between "not needed" in the sense that I don't need a calculator when I have an abacus, and "not needed" in the sense that I don't need an abacus when I have a calculator.

> the use cases will be specific to the needs and constraints of the stakeholders

Yes, and people are asking for suggestions of what those use cases might be. If you can't think of any, that suggests we might be looking at an abacus, not a calculator.

Re:How to create a private Ethereum network by decentralised on Wednesday July 26, 2017 @11:08AM (#14856793)
I do think of many use cases for private blockchains, I simply did not presume to know what you meant before asking.

- One case would be when a corporation wants to have 2500 TPS with finality in 3 seconds using the current ethereum software, unchanged. (scalability)

- One case would be when a large-enough-corporation needs to share master data and reference data of business critical assets through different subsidiaries and third parties. (privacy)

- Remember intranets? Sometimes decision makers simply want a watered down version of a great thing. (stability, control)

If you care to include commercial DLT products, then the use cases will be different again.

Re:How to create a private Ethereum network by 6nf on Wednesday July 26, 2017 @07:57PM (#14861487)
All of those are better done using other technologies. I don't see what the benefit is of shoehorning a blockchain in there.

What's the killer app? Sorry to be annoying but I honestly don't see why an CIO would choose a blockchain over more traditional options for anything at all. I've been following Bitcoin and ETH for many years and I've been thinking about this a LOT and I just don't see it.

Re:How to create a private Ethereum network by decentralised on Thursday July 27, 2017 @02:26AM (#14863072)
I wrote about how I approach blockchains from a capability point on view a few months ago on LI, see here: https://www.linkedin.com/pulse/blockchain-revolution-decentr...

I'd be happy to discuss further in private (chat/skype), but my "professional muscle memory" tells me that the only sane way of looking at a piece of technology is through its capabilities. When CIOs look for capabilities that can be met by blockchain then finding a business case becomes straightforward, otherwise it will be shoehorning as you say.

Re:How to create a private Ethereum network by 6nf on Wednesday July 26, 2017 @04:12AM (#14854399)
You don't need a blockchain to do that
Re:How to create a private Ethereum network by decentralised on Wednesday July 26, 2017 @07:20AM (#14855228)
I answered above.
Re:How to create a private Ethereum network by jgord on Tuesday July 25, 2017 @11:54PM (#14853564)
Something that hasn't been done much yet, but probably will as the space matures, is for a blockchain to reuse another blockchain as its "timestamp" generator.

eg. A 'MyCoin' miner grabs the latest 10 blocks off the main, say, Ethereum blockchain, and includes those hashes as proof they began their block mining _after_ those main blocks were mined, then adds their own proof-of-work on top, winning the block-solve lottery to add the next block to the blockchain.

This could potentially reduce the amount of relative advantage a dominant miner has ( others can provide a math analysis )

This approach can also save electricity, as it puts the miners on a mutual 'duty-cycle' where MyCoin miners are only busy running cryptohashes for a fraction of the time between blocks.

Another nice side-effect of this 2-tier mining is that the block generation times are spaced more evenly over time. [ They move towards a normal distribution around the average time, rather than uniformly - a result of the 'law of large number's, which states roughly that the average of uniform 'flat' distributions approaches a normal bell curve around the mean ].

Currently Bitcoin blocks sometimes arrive after 1 minute, other times only after 19 minutes, with mean 10mins maintained by adjusting difficulty. So the bitcoin time between blocks variance is high ( Litecoin adds blocks 4x as often @ 2.5mins, Ethereum ~10secs on average, but all with quite high variance ) which can surprise users.

Re:How to create a private Ethereum network by askmike on Wednesday July 26, 2017 @06:21AM (#14854976)
Proof of existence is a major problem at the moment. Everyone around me (at an EU bank) wants to do this on bitcoin or ethereum main net, but right now banks are not allowed to touch these networks from the regulators (from a "miners are service providers, they need to be KYCed" perspective).
Re:How to create a private Ethereum network by LeoPanthera on Tuesday July 25, 2017 @09:20PM (#14853121)
> In a large network like Bitcoin or Ethereum the massive computational power of the network ensures generating 51% of the compute power of the network is near impossibly expensive.

This is an aside, but of the 26 currently active bitcoin mining pools, you'd only need to compromise the top 4 to have >50% mining power. Perhaps a little social engineering could bring that down to 3.

I wonder how difficult that would actually be.

Re:How to create a private Ethereum network by omarforgotpwd on Tuesday July 25, 2017 @10:10PM (#14853281)
Yes, but those miners have invested so much capital into their mining hardware, software, electricity, etc that they have a strong incentive to make sure that doesn't happen. If an attacker were to gain control of 51% of the network Bitcoin would quickly become worthless or at least drop sharply in price making the whole attack pretty worthless. Not only is it very difficult to get to 51%, there are strong incentives for the relevant parties to make sure such a thing doesn't happen. If entire mining pools were hijacked with malicious mining software, someone would catch on and likely pull the plug on those machines before massive damage could be done.
Re:How to create a private Ethereum network by jjn2009 on Tuesday July 25, 2017 @09:54PM (#14853246)
This is true of proof of work but this isn't necessarily true of all blockchain implementations. Under certain conditions BFT can be maintained without systems such as proof of work.