3

Regarding the concept of side chains or "pegged" chains which has been discussed since as early as 2011 and explored in this white paper, how can these negatively affect the security of Bitcoin?

Before answering that question, I think it's important to determine if these concepts are possible without any change to the Bitcoin protocol. Assuming changes are required, would Bitcoin suffer from side chains? If no changes are required then the Bitcoin protocol should be as solid as it ever was and, it would seem that it would benefit from the usage, support and attention that side chains bring. Perhaps different implementations of side chains matter and it's important to look at examples.

2

This particular proposal only requires one change to Bitcoin: Simplified Payment Verification (SPV) proving.

SPV proving is required when you want to move Bitcoins from the sidechain to the mainchain. The idea is that rather than putting all of the rules to validate transactions on the other chain into the original Bitcoin client, Bitcoin clients would look at how much hashpower was used to secure the transaction. It's pretty clever, actually.

The sidechain proposal described in that paper glosses over the changes to make SPV proofs work:

To use Bitcoin as the parent chain, an extension to script which can recognize and validate such SPV proofs would be required. At the very least, such proofs would need to be made compact enough to fit in a Bitcoin transaction. However, this is just a soft-forking change, without effect on transactions which do not use the new features.

It would be more than an extension to script. Script currently has no way of looping or signaling to other scripts, which you would need. I'm pretty sure this would require a hard-fork. (Could someone more familiar with Bitcoin's internals chime in here? Could adding looping/signalling be done without a hardfork?)

I think it would make a lot more sense to not track the UTXO's of the coins moved to the sidechain at all, and just keep a running total. Then, have a hardcoded validator for each sidechain.

One issue that I see is that I don't think there would be enough hashpower to secure the network from double spending; merged mining could probably fix that though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.