Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression 1

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.”

Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression

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.

Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression

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.

Tags in this story
BCH, BCH block 577310, big blocks, bitcoin cash, Block Compression, Blocks, Cryptocurrency, Jonathan Toomim, Mainnet, N-Technology, Propagation, Scaling, technology, testnet, Throughput, Xthinner
Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression 2
Jamie Redman

Jamie Redman is a financial tech journalist living in Florida. Redman has been an active member of the cryptocurrency community since 2011. He has a passion for Bitcoin, open source code, and decentralized applications. Redman has written thousands of articles for news.Bitcoin.com about the disruptive protocols emerging today.

Xthinner Protocol Tested on BCH Mainnet Shows 99% Block Compression 3
About the author

E-Crypto News was developed to assist all cryptocurrency investors in developing profitable cryptocurrency portfolios through the provision of timely and much-needed information. Investments in cryptocurrency require a level of detail, sensitivity, and accuracy that isn’t required in any other market and as such, we’ve developed our databases to help fill in information gaps.

Related Posts

E-Crypto News Executive Interviews



bitcoin
Bitcoin (BTC) $ 44,772.00
ethereum
Ethereum (ETH) $ 3,146.09
cardano
Cardano (ADA) $ 2.26
tether
Tether (USDT) $ 1.00
binance-coin
Binance Coin (BNB) $ 382.77
xrp
XRP (XRP) $ 0.995978
solana
Solana (SOL) $ 148.73
polkadot
Polkadot (DOT) $ 32.75
usd-coin
USD Coin (USDC) $ 1.00
dogecoin
Dogecoin (DOGE) $ 0.222678
USD
EUR
GBP
bitcoinBitcoin (BTC)
$ 44,772.00
ethereumEthereum (ETH)
$ 3,146.09
tetherTether (USDT)
$ 1.00
bitcoin-cashBitcoin Cash (BCH)
$ 549.72
litecoinLitecoin (LTC)
$ 163.99
bitcoinBitcoin (BTC)
38.176,95
ethereumEthereum (ETH)
2.682,66
tetherTether (USDT)
0,852697
bitcoin-cashBitcoin Cash (BCH)
468,74
litecoinLitecoin (LTC)
139,83
bitcoinBitcoin (BTC)
32,823.47
ethereumEthereum (ETH)
2,306.48
tetherTether (USDT)
0.733125
bitcoin-cashBitcoin Cash (BCH)
403.01
litecoinLitecoin (LTC)
120.23

Automated trading with HaasBot Crypto Trading Bots

Crypto Scams

Crypto Scams
Crypto Scams Still Persistent In 2021, SEC Warns About Red Flags To Watch
September 9, 2021
Poly Network
Here’s How Hackers Stole Over $600 million in the Poly Network Attack
August 12, 2021
The World’s Most Infamous Crypto Hacks and Scams
July 31, 2021
Cryptocurrency Exchanges
Cryptocurrency Exchanges and the Plague of Scams and Bans
June 29, 2021
What Role Do Cryptocurrencies Play In The Era Of Ransomware Attacks?
June 9, 2021

Blockchain/Cryptocurrency Questions and Answers

Beginner’s Guide to Investing in Cryptocurrency
August 9, 2021
Short-Sell Cryptocurrency
How to Short-Sell Cryptocurrency: A Brief Overview
July 17, 2021
Klaytn
What Is Klaytn (KLAY) And How Does It Work?
July 16, 2021
Cryptocurrencies
Our Crypto Roundup Interview Asks- Do Cryptocurrencies Have a Future?
July 15, 2021
Solana
What Is Solana (SOL) And How Does It Work?
June 26, 2021


CryptoCurrencyUSDChange 1hChange 24hChange 7d
Bitcoin44,806 0.01 % 2.75 % 7.02 %
Ethereum3,149.9 0.20 % 3.52 % 12.41 %
Cardano2.250 0.50 % 0.49 % 9.76 %
Tether0.9986 0.03 % 0.08 % 0.23 %
Binance Coin382.69 0.10 % 1.33 % 10.99 %
XRP0.9948 0.29 % 0.13 % 11.09 %
Solana149.19 0.18 % 0.43 % 5.93 %
Polkadot30.87 2.19 % 17.29 % 10.73 %
USD Coin1.000 0.14 % 0.29 % 0.30 %
Dogecoin0.2229 0.01 % 2.01 % 9.88 %

bitcoin
Bitcoin (BTC) $ 44,772.00
ethereum
Ethereum (ETH) $ 3,146.09
cardano
Cardano (ADA) $ 2.26
tether
Tether (USDT) $ 1.00
binance-coin
Binance Coin (BNB) $ 382.77
xrp
XRP (XRP) $ 0.995978
solana
Solana (SOL) $ 148.73
polkadot
Polkadot (DOT) $ 32.75
usd-coin
USD Coin (USDC) $ 1.00
dogecoin
Dogecoin (DOGE) $ 0.222678