Git Product home page Git Product logo

Comments (2)

dooglus avatar dooglus commented on June 27, 2024

The situation seems to be getting worse:

block          timestamp
-----  -----------------
36182  14-07-16 12:01:36
36495  14-07-17 00:01:54 average 138 seconds per block
36808  14-07-17 12:02:29 average 138 seconds per block
37128  14-07-18 00:01:39 average 135 seconds per block
37499  14-07-18 12:00:12 average 116 seconds per block
37820  14-07-19 00:19:25 average 134 seconds per block
38197  14-07-19 12:02:45 average 114 seconds per block
38558  14-07-20 00:04:27 average 119 seconds per block
38793  14-07-20 12:04:47 average 183 seconds per block
38887  14-07-20 18:05:35 average 229 seconds per block
  1. At minimum difficulty, we need a network stake weight of around 17000 clam days to get 1 minute blocks:
>>> 2**20 / 60
17476

My client currently tells me the network weight is 4769. That's about 3.5 times less than 17476, which explains why we're getting 3.5 minute blocks, not 1 minute blocks.

Making the minimum difficulty lower would allow us to go back to 1 minute blocks:

>>> 2**18 / 60
4369

>>> 2**16 / 60
1092
  1. The retarget code really needs to look at the time taken for the last 16 blocks not just the last 2. It currently puts too much importance on the time between a single pair of blocks.

If there's any interest in fixing these two issues, I'll write code to fix them both.

Do we have other hard-fork changes planned that these can get bundled in with?

from clams.

dooglus avatar dooglus commented on June 27, 2024

#25 fixes this.

from clams.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.