Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression

Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression
ôîòî ïîêàçàíî ñ : news.bitcoin.com

2019-4-9 21:01

On April 8, BCH developer Jonathan Toomim revealed how far he’s come with the Xthinner block compression protocol. Toomim tested the platform between two Bitcoin ABC full nodes on the BCH main network and a 363 kB block was compressed down to 1,660 bytes, or 99.54% compression.

Also read: Uyen T Nguyen: The Powerful Young Woman Behind the Alleged ‘Satoshi Affair’

Xthinner Compression and CTOR in Action

The Bitcoin Cash (BCH) community is all about scaling and increasing the block size, but very adding large blocks is just one part of the equation. In the first week of September, the BCH chain processed some significantly large blocks and millions of transactions per day. However, developers noticed issues with block propagation, bottlenecks, and nodes crashing when very large blocks were processed. Last January, news.Bitcoin.com reported on Jonathan Toomim’s project Xthinner, which could help alleviate such problems in the future. Xthinner is block propagation software that leverages canonical transaction ordering (CTOR) and can compress blocks by more than 90%, if all of the transactions in the block were previously transmitted. On Monday, Toomim detailed that he’s been testing the protocol on the main network and used two Bitcoin ABC full nodes to record his data.

“A few hours ago, I fixed the last showstopping bug in my Xthinner code and got it running between two of my ABC full nodes on mainnet,” Toomim told members of r/btc. “One node serves as a bridge to the rest of the world, receiving Compact Blocks and transmitting Xthinner — The other is connected to no other nodes except this bridge.”

One Block Showed 99.54% Compression

The first block Toomim transmitted through Xthinner was BCH block 577,310 and he had a few issues transmitting a portion of the block’s transactions. Following that block, Xthinner worked on “every block since then, with no failures, and with no block taking more than 1.5 networking round trips,” Toomim explained. The developer noted that most “non-tiny block” got around 99% compression while compact blocks got roughly 96-97% compression. “Eight blocks have been complete on arrival without any missing transaction fetching (0.5 round trips), and 24 blocks have required a round trip to fetch missing transactions,” Toomim added.

Moreover, Toomim revealed that one specific block of 363 kB with 841 transactions was compressed to 1,660 bytes. According to the programmer that’s roughly a 99.54% compression or 15.79 bits/tx. “Uncoincidentally, this was also one of the largest blocks so far, with 23 minutes elapsed since the prior block,” said Toomim. The BCH developer further stated:

Bigger blocks get better compression because the header, coinbase, and checksum specification overhead is a smaller proportion of the whole, and sometimes also because the Xthinner algorithm can more consistently omit the initial bytes of the TXID.

Toomim Might Release an Alpha Version of Xthinner Soon

Bitcoin Cash enthusiasts were pleased to hear about Xthinner being tested on the main network and discussed the project throughout the day. “Wow, 99.54% compression, I’m impressed — Thank you, Jonathan, for your marvellous work and thanks lead devs for sound roadmap and CTOR/LTOR which made this possible,” one BCH supporter wrote. Toomim also detailed that he would likely be releasing an alpha version of the Xthinner protocol soon so other developers can experiment with the platform as well. He stressed that the code still has a few bugs and vulnerabilities and recommends that people don’t run the software on a node that needs to stay running. “There’s still a lot of work to be done before the code is of high enough quality to be merged into Bitcoin ABC,” the developer concluded.

What do you think about Xthinner and the possibility of 99% block compression? Let us know what you think about this project in the comments section below.

Image credits: Shutterstock, Pixabay, Jonathan Toomim, and Bitcoincash.org.

Keep track of the bitcoin exchange rate in real-time.

The post Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression appeared first on Bitcoin News.

Similar to Notcoin - Blum - Airdrops In 2024

origin »

Blocknet (BLOCK) íà Currencies.ru

$ 0.061991 (+1.38%)
Îáúåì 24H $0
Èçìåíåèÿ 24h: 2.15 %, 7d: 12.58 %
Cåãîäíÿ L: $0.061991 - H: $0.061991
Êàïèòàëèçàöèÿ $0 Rank 7385
Öåíà â ÷àñ íîâîñòè $ 2.6656 (-97.67%)

bch block compression xthinner protocol tested bitcoin

bch block → Ðåçóëüòàòîâ: 70


Ôîòî:

Bitcoin Cash has failed to make use of its 8MB block size, analysts say

In 2017, a veritable civil war was fought between camps of Bitcoin believers: those who sought to keep its “block size” at 1MB, and those who wanted to increase it. Those looking for bigger blocks found themselves rallying behind a then-new cryptocurrency – a “hard fork” of Bitcoin called Bitcoin Cash (BCH) – whose premise rested on re-creating Bitcoin to mine 8MB blocks.

2019-1-17 20:01


Bitcoin Cash Hard Fork Aftermath Review: Top 4 Scenarios Likely To Play Out Post Blockchain Split

A Look At The Possible Scenarios Following Bitcoin cash Hard Fork At block 556767, on November 15th, the Bitcoin Cash network was divided into two offspring; Bitcoin ABC and Bitcoin SV. Following the fracture, both the factions claimed their rights for BCH brand name, and just like before the hard fork, no consensus has been […]

2018-11-22 01:22


Craig Wright challenges Bitmain CEO, Says Bitcoin Cash a split and not a fork of Bitcoin

There has been debate in some quarters among the major shareholders of bitcoin cash(BCH) a fork of bitcoin that is also known as ABC, which came into existence in August 2018, after the scalability challenge of bitcoin and the high gas fees paid to miners resulted in this fork with larger block size and cheaper […] The post Craig Wright challenges Bitmain CEO, Says Bitcoin Cash a split and not a fork of Bitcoin appeared first on ZyCrypto.

2018-9-1 20:12


Ôîòî:

Bitcoin Core Announces Hard Fork a Success, Claiming BTCC Is Faster Than Bitcoin Cash [BCH]

The team behind Bitcoin Core (BTCC) announced that the latest update, its one-minute block hard fork (HF), was a success. Bitcoin Core Marks Hard Fork a Success In an official post on Twitter, published August 16, the BTCC team stated that after the successful hard fork, BTCC has now more on-chain blockspace per 10 minutes […] Bitcoin Core Announces Hard Fork a Success, Claiming BTCC Is Faster Than Bitcoin Cash [BCH] was originally found on [blokt] - Blockchain, Bitcoin & Cryptocurrency News.

2018-8-22 13:45