Git Product home page Git Product logo

Comments (4)

remyers avatar remyers commented on August 25, 2024

Perhaps this question is relevant (from 2012!) ? Testnet difficulty and max target

Hello,
I'm trying to import the testnet block chain on a library I'm working on but speaking of difficulty I'm not understanding well the differences relative to the production network.

This is what I've understood until now about prodnet:

  • max allowed target is 0xFFFF0000000000000000000000000000000000000000000000000000
  • corresponding max bits (compressed target) is 0x1D00FFFF

While in testnet:

  • what is the max allowed target?
    On the wiki it's stated that "Minimum difficulty of 1.0 on testnet is equal to difficulty of 0.5 on mainnet. >This means that the mainnet-equivalent of any testnet difficulty is half the testnet difficulty." so I guess >I've to shift left the prodnet max target, getting >0x1FFFE00000000000000000000000000000000000000000000000000000 but I can't find any >confirmation for that.

  • what is the corresponding compressed target?

Any help would be greatly appreciated!

from lightning-app.

aakselrod avatar aakselrod commented on August 25, 2024

Thanks for this report! We believe we've tracked down the bug and fixed it in neutrino. The fix will be included in the next app release.

from lightning-app.

remyers avatar remyers commented on August 25, 2024

Fantastic! I'll let you know how it goes once I've tested it out.

from lightning-app.

remyers avatar remyers commented on August 25, 2024

I can confirm sync works on Windows 10 x64. Thanks for the fast fix!

from lightning-app.

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.