Difference between revisions of "DigiSpeed"

From DigiByte Wiki
Jump to navigation Jump to search
Line 1: Line 1:
  
 
== <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:x-large;">'''How and Why DigiSpeed was introduced.'''</span></span> ==
 
== <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:x-large;">'''How and Why DigiSpeed was introduced.'''</span></span> ==
<p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">Activated in December 2015 this was a hard fork that focused on making the&nbsp;[https://bitcointalk.org/index.php?topic=408268.msg13062879#msg13062879 DigiByte transaction speeds faster].<br/> Block time was reduced by 50% from 30 seconds to 15 seconds that made it 40x faster than Bitcoin (10 min&nbsp;blocks vs 15 sec blocks). And new block propagation code was added based on&nbsp;[http://www.dgbwiki.com/wikifiles/P2P2013_041-DigiSpeed_Research.pdf Microsoft Research]. This allows DigiByte to handle up to 560 transactions per second.</span></span></p> <p style="text-align: justify;">&nbsp;</p>
+
<p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">Activated in December 2015 this was a hard fork that focused on making the&nbsp;[https://bitcointalk.org/index.php?topic=408268.msg13062879#msg13062879 DigiByte transaction speeds faster].<br/> Block time was reduced by 50% from 30 seconds to 15 seconds that made it 40x faster than Bitcoin (10 min&nbsp;blocks vs 15 sec blocks). And new block propagation code was added based on&nbsp;[http://www.dgbwiki.com/wikifiles/P2P2013_041-DigiSpeed_Research.pdf Microsoft Research]. This allows DigiByte to handle up to 560 transactions per second.</span></span></p>  
 
 
 
 
 
== <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:x-large;">'''How transaction speed&nbsp;increases with time?'''</span></span> ==
 
== <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:x-large;">'''How transaction speed&nbsp;increases with time?'''</span></span> ==
<p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">'''Current TPS status''': ~1066TPS with complete SegWit&nbsp;and ~560TPS average.</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">'''PS''': All non-SegWit nodes have been left behind with the Odocrypt hard fork that&nbsp;activated on July 21, 2019. Now all active DigiByte nodes ([https://github.com/digibyte/digibyte/releases/tag/v7.17.2 v7.17.2+]) have SegWit support.</span></span></p> <p style="text-align: justify;">&nbsp;</p>
+
<p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">'''Current TPS status''': ~1066TPS with &nbsp;SegWit&nbsp;support.</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">All non-SegWit nodes have been left behind with the Odocrypt hard fork that&nbsp;activated on July 21, 2019. Now all active DigiByte nodes ([https://github.com/digibyte/digibyte/releases/tag/v7.17.2 v7.17.2+]) have SegWit support.</span></span></p>  
 
 
 
== <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:x-large;">'''Update 2019'''</span></span> ==
 
== <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:x-large;">'''Update 2019'''</span></span> ==
<p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">Lets&nbsp;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.&nbsp;Most of the marketing images we have for this were created from 2015-2017.&nbsp;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.&nbsp;</span></span></p> <p style="text-align: justify;">&nbsp;</p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.&nbsp;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 &nbsp;various components and test them thuroughly test the doubling before the scheduled December 2019 doubling.&nbsp;After devs&nbsp;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.&nbsp;</span></span></p> <p style="text-align: justify;"><br/> <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.&nbsp;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.</span></span></p> <p style="text-align: justify;">&nbsp;</p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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 &nbsp;if we get everyone on segwit it could be theorized at 4x increase still by 2019 end.</span></span></p> <p style="text-align: justify;"><br/> <span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.&nbsp;</span></span></p>
+
<p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">Lets&nbsp;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.&nbsp;Most of the marketing images we have for this were created from 2015-2017.&nbsp;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.&nbsp;</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.&nbsp;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 &nbsp;various components and test them thuroughly test the doubling before the scheduled December 2019 doubling.&nbsp;After devs&nbsp;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.&nbsp;</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.&nbsp;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.</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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 &nbsp;if we get everyone on segwit it could be theorized at 4x increase still by 2019 end.</span></span></p> <p style="text-align: justify;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:medium;">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.</span></span></p>

Revision as of 14:07, 1 November 2019

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  SegWit support.

All non-SegWit nodes have been left behind with the Odocrypt hard fork that activated on July 21, 2019. Now all active DigiByte nodes (v7.17.2+) 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.