Code Monkey home page Code Monkey logo

Comments (4)

elie222 avatar elie222 commented on June 14, 2024

This step in the Readme seems to be the relevant one:

Operator calls submitBlock, checkpointing the block merkle root which includes the transaction that gives ownership to charlie. At this point, both the child chain and the root chain, have checkpointed alice's transaction at block number 1000.

But if we have to submit to mainnet on each transaction, don't we lose the speed benefits of using a child chain?

from plasma-cash.

gakonst avatar gakonst commented on June 14, 2024

The whole point of Plasma is that every plasma block gets submitted to the main chain. The double spend cases are covered by challengeBetween, https://github.com/loomnetwork/plasma-cash/blob/master/server/test/testChallengeBetween.js. More details here https://karl.tech/plasma-cash-simple-spec/

Plasma does not improve finality. A transaction can be considered finalized after a plasma block root which includes it has been committed to the contract (+some block buffer for potential reorgs, but you parameterize accordingly). Plasma improves throughput/capacity by allowing many transactions of a potentially huge plasma block be finalized in 1 onchain tx. it is closer to a compression mechanism that allows more transactions to settle per block slot, 15s in Ethereum

from plasma-cash.

elie222 avatar elie222 commented on June 14, 2024

from plasma-cash.

gakonst avatar gakonst commented on June 14, 2024

Closing since the discussion moved in https://ethresear.ch/t/plasma-chain-block-times/3092/. Ideally we should aim for 15s times, but what you say is possible, it's just another parameter of the system

from plasma-cash.

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.