Bitcoin sidechain research has made significant progress, and two new drivechain solutions will change Bitcoin DNA

Bitcoin sidechain research has made significant progress, and two new drivechain solutions will change Bitcoin DNA

‘Sidechains’, a long-proposed feature of bitcoin, may soon make significant progress thanks to a pair of proposals.

When most people think of 'sidechains', they think of Blockstream (whose development team has been pushing the idea of ​​sidechains). Sidechains are designed to make it easier to add new Bitcoin features, as the current design of Bitcoin makes it very difficult to add features to Bitcoin.

In short, sidechains are designed to allow users to transfer bitcoins between different bitcoin-based blockchains with different rule sets. For example, through the sidechain scheme, technologies used to protect transaction privacy or a system similar to Ethereum smart contracts can be added to the bitcoin blockchain without changing the bitcoin blockchain.

Sergio Demian Lerner, a bitcoin security consultant who is leading the effort to add sidechain functionality to bitcoin, explained that sidechains could broadly eliminate the difficulties developers currently face in expanding bitcoin’s transaction capabilities.

He told CoinDesk:

“Improving the Bitcoin network is like repairing an airplane while it’s in flight.”

In addition to Lerner’s team, another group is working on potential proposals that could bring sidechains into the official bitcoin codebase.

In late September, Lerner unveiled a code proposal that would add this sidechain functionality to bitcoin, while Bloq economist Paul Sztorc told CoinDesk he is working on his own code.

Both proposals are so-called ‘drivechains,’ a type of sidechain entanglement first described by Sztorc in November. Each proposes a new set of features, known as opcodes, that could be added to bitcoin via a soft fork.

However, the two projects have different ideas about how to implement opcodes, and there are no plans to merge into one solution (at least not yet).

Two ways

In a transfer between sidechains, bitcoins are sent from one blockchain to another, or so it seems.

But in reality, Bitcoin is locked on the Bitcoin main chain, and is unlocked on the side chain when it is transferred.

The key difference between drivechains and regular sidechains is who ultimately submits the information needed to move bitcoins back and forth: the user or the miner.

Lerner’s drivechain relies on miners acting as ‘algorithmic proxy guardians’ or projects that help miners become aware of other sidechains on the bitcoin network.

Lerner explained:

“Bitcoin miners watch the state of the sidechain, and when they receive a request from the sidechain (like 100 transaction confirmations), they execute a coordination protocol to ensure they agree on the authenticity of the request.”

He also said:

“If the miners reach consensus, they can then use the locked funds to make payments.”

Lerner’s proposal introduces a new Bitcoin script called OP_COUNT_ACKS that implements the aforementioned drivechain functionality with a small change of about 600 lines of code (Bitcoin scripts are like smart contracts).

Lerner also pointed to Segregated Witness, which has been officially added to the Bitcoin network and could be activated as early as December, as a way to help his solution if it is activated.

While SegWit is widely considered a scaling solution, it has some other benefits.

Lerner explained:

“Segregated Witness provides a new system for easily performing soft forks: a witness script versioning system. Our BIP uses this system to add a new opcode that is no longer limited by the previous soft fork system.”

Solo attempt

Sztorc is working on code similar to Lerner's, which has not yet been made public.

However, although Sztorc and Lerner have discussed and collaborated, both parties seem to think that their own projects are the best and hope to continue their own research.

Sztorc’s main argument with Lerner’s implementation is that Lerner is using a sidechain from Rootstock, which has Ethereum-style smart contracts, rather than a Bitcoin copy.

Sztorc said:

"Drivechain is a new idea, so there are risks. I don't like the idea of ​​mixing, of doing two new ideas at once."

Sztorc noted that other differences are minor, citing the invention of the hammer as an example: Someone invented a hammer, a tool that had never existed before, he said, but they argued over whether it should be made of stone or wood.

If accepted, both proposals would need to be soft forked to be included in Bitcoin.

Potential dangers

But again, we're talking about the kind of update the developers liken to repairing a plane on the fly.

Sidechains are a proposal that might help solve this problem, but adding this functionality to Bitcoin would first need to go through a number of other optimizations and additions, such as Segregated Witness.

Blockstream core technical engineer Russell O'Connor described some of the potential problems with the opcodes raised by Lerner, which boil down to the opcodes depending on the data value, specifically the block to which the transaction is added.

He explained that other opcodes that have been recently added to Bitcoin Core 'have been carefully written to ensure that there are no surprises.'

It is worth noting that there has not yet been a comprehensive discussion of this proposal.

Bitcoin Core contributor Peter Todd declined to discuss the new drivechain opcode because of Lerner’s past bitcoin patents, saying he would reject the proposal until ‘this is corrected’.

Lerner responded by saying that he has no plans to apply for a drivechain patent. In addition, he said that other bitcoin protocol developers, including Matt Corallo and Pieter Wiulle, are open to discussing the proposal.

When asked if he would apply for a patent, Sztorc said he had 'absolutely no plans' to do so.

In addition to these clear oppositions, sidechain projects have also been subject to a lot of doubts, and the security of sidechains has also been discussed. Some long-standing doubts boil down to whether sidechains are feasible.

Lerner explained:

“The discussion is mostly about what the impact and long-term consequences of giving more power to miners would be. More specifically, the question is: what would happen if Bitcoin sidechains become very popular (miners mining both Bitcoin and the sidechain) and require more powerful computers to run, making independent miners uncompetitive?”

However, Sztorc seems to be optimistic despite the skepticism and will publish a long blog post in the coming weeks to explain.

He said:

"The philosophy and code are almost done. Lerner and I are almost done with our proposals."

Lerner also said:

"We think this will be completed in 2017."


<<:  Russia’s Central Securities Depository Tests Blockchain Asset Trading

>>:  Ripple Network Successfully Tests First Smart Token Transaction

Recommend

US Libertarian presidential candidate considers pardoning Silk Road ringleader

Introduction: Libertarian presidential candidate ...

What does the mole on a woman's neck represent?

In fact, moles can grow on various parts of the b...

What kind of people have the best ability to make money?

If you want to see whether a person is good at ma...

Analysis of the facial features of people who are good at making friends

In today's society, connections are money, an...

What kind of face makes girls more timid and cowardly

Everyone's personality traits can be reflecte...

What kind of man will marry a good wife?

Men all hope to be successful in their careers an...

What does a mole on the right side of a woman’s waist mean?

Moles not only appear on people's faces but a...

The length of your index and ring fingers determines your chances of success

Men on the left and women on the right, stretch o...

What kind of troubles are you suffering from?

What kind of troubles are you suffering from? Wor...

How to achieve great things in palmistry

Five palm lines that indicate a person is born to...

Tattoos are not allowed on these parts of the body

Tattoos are not allowed on these parts of the bod...

What is the impact of a mole on your neck on your life?

People with moles on the front of their neck are ...

Jack Dorsey details Twitter’s blockchain strategy at Oslo Freedom Forum

When Twitter and Square CEO Jack Dorsey spoke at ...