Git Product home page Git Product logo

Comments (2)

DavidVorick avatar DavidVorick commented on May 22, 2024

*blocks are versioned and nothing else is. v1 txns don't go in v2 blocks, etc.

from sia.

DavidVorick avatar DavidVorick commented on May 22, 2024

I'm starting to have second thoughts about versioned blocks. Even versioned transactions don't make so much sense as they used to.

Instead you'd want versioned components of everything, which increases the maximum capability of the old nodes after a soft fork. I'm still fully wrapping my head around the best way to do this.

But basically, you want some flags that you can set in the inputs and outputs (aka version number) that indicate they will always be accepted by the node. Then you can soft-fork from "always accepted" to "only accepted under X and Y conditions". Since old nodes will still treat them as "always accepted", the old nodes will keep a database that is semi-compatible, and will still recognize every spend that happens and keep a proper list of unspent outputs.

Then the miners just refuse any transactions that don't fit under X and Y conditions. The old nodes will accept the block, but since >51% of the hashing power is refusing the blocks, the old nodes will be brought to a correct state of affairs because the longest fork will refuse all transactions that are no longer valid after the soft fork.

from sia.

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.