Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: entertheabyss on October 19, 2014, 05:54:48 PM



Title: idea for new difficulty algorythm
Post by: entertheabyss on October 19, 2014, 05:54:48 PM
hello, i'm not really a c++ coder but i had an idea for a new difficulty algo that i want to sound out



Abysmal Gravity Well in psudo code
Code:
block_taget_time = 180
moving_average = sum() time.blocks.last_10_in_chain/180
moving_average/1*100 = pecent increment in difficulty
max_increment()=10

feedback appreciated!


Title: Re: idea for new difficulty algorythm
Post by: bee7 on October 19, 2014, 07:08:53 PM
hello, i'm not really a c++ coder but i had an idea for a new difficulty algo that i want to sound out



Abysmal Gravity Well in psudo code
Code:
block_taget_time = 180
moving_average = sum() time.blocks.last_10_in_chain/180
moving_average/1*100 = pecent increment in difficulty
max_increment()=10

feedback appreciated!

Would you reword it in plain English please as your pseudocode is hard to understand due to obviously present typos and strange use of the assignment operation.


Title: Re: idea for new difficulty algorythm
Post by: BombaUcigasa on October 19, 2014, 08:07:56 PM
Quote
moving_average/1*100 = pecent increment in difficulty

Quote
moving_average * 100 = pecent increment in difficulty

Quote
moving_average = pecent increment in difficulty / 100

FTFY