Giter Club home page Giter Club logo

Comments (4)

EdHastingsCasperAssociation avatar EdHastingsCasperAssociation commented on June 10, 2024 1

@Fraser999 might this be a good task for Austin when he comes on board?

from casper-node.

EdHastingsCasperAssociation avatar EdHastingsCasperAssociation commented on June 10, 2024

Given that we don't have a strong use case for this, and that it will take a fair amount of specialized testing, I don't think this is worth doing right now. Recommend moving to backlog and revisit in Q3.

from casper-node.

goral09 avatar goral09 commented on June 10, 2024

I think we should create subdirs named after genesis hash and not network name. Network name doesn't need to be unique – there can be two networks with the same name and different genesis hashes that would be incompatible.

from casper-node.

Fraser999 avatar Fraser999 commented on June 10, 2024

I think we should create subdirs named after genesis hash and not network name. Network name doesn't need to be unique – there can be two networks with the same name and different genesis hashes that would be incompatible.

I see your point, but the main issue is that the genesis hash isn't persisted across upgrades in a way in which the Storage component or the ChainspecLoader component could easily access it. When a non-genesis version of node starts up, it pretty much immediately needs to know where to access the DB files from the previous run.

I think since this ticket is non-critical, i.e. it's designed to help users avoid a simple footgun, it's probably enough to just use the network name here.

Of course, if I'm missing an easy way for the genesis hash to be given to the Storage constructor of a non-genesis version, I'd be inclined to agree with your suggestion.

from casper-node.

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.