Skip to content

Instantly share code, notes, and snippets.

@u2
Created January 18, 2019 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save u2/f75f2afe2f56c3e8cafebae2f4506797 to your computer and use it in GitHub Desktop.
Save u2/f75f2afe2f56c3e8cafebae2f4506797 to your computer and use it in GitHub Desktop.
plasma cash note

https://github.com/loomnetwork/plasma-paper

It should be noted that Plasma improves throughput1 rather than latency.

1 Related Work

Using a sidechain for scalability is thus limited by the security and decentralization tradeoffs introduced by increasing capacity and throughput.

Payment channels feature instant finality since a payment can be considered complete the moment signed attestations about it are exchanged from the participating parties

  1. Plasma cash

3.1 Sparse Merkle Trees

3.2 Periodic Merkle Commitments

The minimum finality time that can be achieved is the block time of the rootchain (15 seconds in Ethereum). Given that every block must be published to the mainchain, the operational costs for this process can become large. Operators can be expected to trade bigger finality time for less maintenance costs by committing block roots less often.

3.3 deposit

After the coin gets saved in the smart contract, a block containing only the deposit transaction is appended to the plasmachain14

  1. Attacks

4.1 Exit Spent Coin: challengeAfter

4.2 Exit of a Double Spend: challengeBetween

4.3 Exit with Invalid History

4.4 Withhold and Challenge Exit of Spent Coin (Griefing)

5 future work

Plasma Debit

plasma defragementation

Reduce user data checking: checkpoints, Compressing non-inclusion proofs

Tokenized Exits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment