Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

ECIP-1027/28: Scaling ETC with Sidechains [WIP] #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

splix
Copy link
Contributor

@splix splix commented Jul 18, 2017

No description provided.

@splix splix changed the title [WIP] Scaling ETC with Sidechains [WIP] ECIP-1027: Scaling ETC with Sidechains Jul 18, 2017
@splix splix changed the title [WIP] ECIP-1027: Scaling ETC with Sidechains ECIP-1027: Scaling ETC with Sidechains [WIP] Jul 18, 2017
features are already implemented in Parity.

It will also require improvements in user interface, new commands, configuration options and documentation. None of
this is a breaking change
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds like C1 and C2 are done as federated sidechains (like RSK on bitcoin - is that correct) but I'm not sure I understand C3. Does something comparable exist already?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSK is more C2 imho. Lighting/Raiden could be an example of C3


Public Chain is a general use blockchain, operated by multiple parties and in an untrusted environment. It can use a
fast PoS consensus algorithm for fast and cheap transactions, or individual configuration of EVM.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is C1/C2/C3 some common sidechain classification or was invented by you @splix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"invented here". just need something as a reference cross document


For more sophisticated chains (C2/C3 types) verification a Sidechain can use methods similar to Proof Of Stake, or
even implement full verification in a smart contract. Later is possible if a checkpoint can provide security by
validating only a chain headers and part of shared state.
Copy link

@ghost ghost Jul 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find that section most interesting - really how to connect two blockchain together and to reach consensus, but you left technical details beyond the scope of the document. What about the next steps to work out some solution for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There're few possible ways, so it's better to introduce them as separate ECIPs


Cross-transactions for public Sidechain (C3) is most complicated part. In additional to untrusted environment it
can have multiple shared states managed by different types of services. It seems to be infeasible to implement a
general algorithm which will work for all cases.
Copy link

@ghost ghost Jul 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a definition for cross-transaction, what did you mean exactly? Multiple shared states are states from separated blockchains between which running cross-transactions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A state change on one chain resulting in a state change on another chain. This state modification can be different, but inseparable linked

@splix splix changed the title ECIP-1027: Scaling ETC with Sidechains [WIP] ECIP-1027/28: Scaling ETC with Sidechains [WIP] Jul 19, 2017
@RorschachRev
Copy link

Can we further leverage side chains to be an effective cross-chain technique? For example, a sidechain of BTC to ETC transactions with validation. Same for Zcash and Monero? (Where the privacy techniques make verification expensive in gas.) I think that would be considered a C3 with externalities?

Copy link

@hannibalhuang hannibalhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just leave a note here that I will work with ETCDEV team on implement a trial sidechain for OpenStack Public Cloud Passport Program :) Slides could be found: https://docs.google.com/presentation/d/1RYRq1YdYEoZ5KNKwlDDtnunMdoYRAHPjPslnng3VqcI/edit?usp=sharing

@pyskell
Copy link
Contributor

pyskell commented Mar 9, 2018

Are there any repos with sidechain code/examples besides the ECIPs? Does Geth have anything? I see the ECIP says there is some capability since geth 3.4.0.

@phyro
Copy link

phyro commented Mar 9, 2018

Are there any updates to the proposal? if yes please update it when you find the time, thanks! 👍

@gagarin55
Copy link
Member

@splix, ECIP-1028 contains wrong ref to parity wiki, could you update it to https://wiki.parity.io/Proof-of-Authority-Chains, please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants