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

Can the marriage line in palmistry really tell a person's marriage?

There are many lines on the palm of a person, one...

What exactly is the controversial MIT ChainAnchor in the Bitcoin community?

Based on the information provided to me, it looks...

What does it mean to dream about right eyelid twitching?

There is a folk saying that goes, "If your l...

People with these facial features will eventually be rewarded with good fortune.

People with these facial features will eventually...

Does a fleshy nose mean good fortune? Will it make you rich?

We all know that the nose generally represents we...

What does a short career line indicate? Will your career be unsuccessful?

In daily life, career plays a very important role...

IBM to launch largest blockchain project yet

Rage Comment : IBM has been committed to the deve...

Bitmain: AsicBoost has no patent issues and can be used by all mining farms

Regarding the patent rights of AsicBoost, Bitmain...

The value recognition and market prospects of Yuelian POA

The POA token issued by Yuelian has attracted muc...

What does the long horizontal lines on the bridge of the nose mean?

The bridge of the nose represents a person's ...

The size of your butt can tell you how wealthy you are

The size of your butt can tell you how wealthy yo...

Ten types of philandering men

Ten types of philandering men 1. A man with eyes ...