DigiSpeed

From DigiByte Wiki
Revision as of 16:25, 25 August 2019 by Murat (talk | contribs)
Jump to navigation Jump to search

How and Why DigiSpeed was introduced.

Activated in December 2015 this was a hard fork that focused on making the DigiByte transaction speeds faster.
Block time was reduced by 50% from 30 seconds to 15 seconds that made it 40x faster than Bitcoin (10 min blocks vs 15 sec blocks). And new block propagation code was added based on Microsoft Research. This allows DigiByte to handle up to 560 transactions per second.

 

How transaction speed increases with time?

Every 2 years the DigiByte blockchain's dynamic system doubles the number of transactions per second by doubling the block size. In 2017, capability reaches 560 transactions per second, with a maximum capability of 280,000 transactions per second to be reached in the year 2035.

Current TPS status: ~1066TPS with complete SegWit and ~560TPS average.

PS: All non-SegWit nodes have been left behind with the Odocrypt hard fork that activated on July 21, 2019. Now all active DigiByte nodes have SegWit support.

 

Update 2019

Lets clear up some things the original block doubling code was introduced in December 2015 and plan at the point was that a block size doubling would occur every 2 years in December. Most of the marketing images we have for this were created from 2015-2017. During the build in for SegWit starting in 2017 and many of the numerous changes/releases that have been made over the past 2 years we broke the original block doubling code in several places. 

 

Keep in mind that from January 2017 till now there has probably been 150,000 lines of code changed within DigiByte. The DigiByte blockchain is not a simple system. During all the updates in 2017/2018 and through early 2019 all core devs had planned on keeping the block doubling code intact but we knew we needed to fix some thing, renable  various components and test them thuroughly test the doubling before the scheduled December 2019 doubling. After devs didn't get the doubling code fixed in a secure, tested way in the lead up to the 7.17.2 odocrypt release we posted to make sure it was clear to everyone we would not have a doubling in late 2019 with the current Odocrypt release. 


Up until the Odocrypt release a couple months ago we had planned to fix the block size doubling code before the 2019 end of year doubling (December was original time). But do to time constraints and the fact we don’t need it we didn’t get it back in for this cycle. Testing and getting the Odocrypt release ready took more time than we expected. And we prioritized many over things and features such as dandelion and other performance tweaks.

 

We also chose to focus on DigiAssets.Because here is the deal, if we have no utility and reason to fill up blocks the total capacity is irrelevant. The 2017 doubling capacity did happen with SegWit and the way tx structures were altered  if we get everyone on segwit it could be theorized at 4x increase still by 2019 end.


So up till two months go we had all planned on doubling but couldn’t get it working in latest release on time. And we did in fact work on it for a few days. We in no way are trying to mislead or lie to anyone.