Bitcoin Forum
May 02, 2024, 09:40:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Dynamic MAX_BLOCK_SIZE using SMA or EMA + 1 StdDev  (Read 541 times)
osoverflow (OP)
Full Member
***
Offline Offline

Activity: 547
Merit: 105


Bitcoin ya no es el futuro, es el presente


View Profile WWW
August 24, 2015, 08:39:20 PM
 #1

Hello! I want to suggest to set an automatic MAX_BLOCK_SIZE using Simple Moving Average or Exponential Moving Average of the latest 1440 blocks (10 days) plus 1 standard deviation.

With the minimum value of it equal to 1,000,000 bytes. This way it can grow indefinitely but it will adapt to the market demands and the adaptation is not so fast to be used for spam, but fast enough to adapt to the moves of the market.


For example, if the latest 1440 block's sizes average is let say 900KB, and the standard deviation is +/- 200KB, then the resulting MAX_BLOCK_SIZE will be 900KB+200KB=1100KB

One standard deviation addition to the average should be enough to cover about 85% the blocks, and because the average is dynamic, if the block sizes starts growing, then the average also grow, and in less than 10 days about 85% of new bigger blocks will fit inside the max_block_size.

The 1 standard deviation could be 2 devs that covers 98% of all the blocks.

EMA is faster in response than SMA, but more difficult to calculate, and I don't think the bitcoin market is moving and will be moving as fast as it left SMA behind.


Bienvenidos a la nueva tecnología
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!