Comments (3)
TLDR You need to allow multiple challenges per exit, or loss of funds can occur. Extending the exit period is not feasible because of the griefing vector that I described above. An alternative to splitting the challenge period, is to simply not allow an exit to be finalized if it has pending challenges. This is done in https://github.com/counterfactual/plasma-cash however it does not work with security bonds.
Long version: Your suggestion was the first approach I had. However, this means that a malicious challenger can infinitely extend a coin's exit (at the cost of 1 bond per exit period extension).
Attack:
A exits coin
M challenges exit at seconds before 7 days (needs to put up a security bond)
Challenge period gets extended by 3 days (example)
A responds to the challenge, exit can be finalized after the 3 days pass. M also loses the security bond.
M challenges exit at seconds before 3 days.
...(repeat)
The naive solution to the above is to allow the exit to be challenge only once. This however is also broken, since (by collaborating with the operator), a user can try to exit a coin with an invalid history, challenge their own exit, and then respond to their own exit, making the coin no longer challenge-able.
from plasma-cash.
We split the challenge period for challenges with invalid history to avoid an attack where an interactive challenge is made right before the challenge period is over and there is not enough time to respond to it. The full 7 days can be used for non-interactive challenges. The 7 days is just a security parameter and you can adjust it to be however much you want.
from plasma-cash.
Thank you for your replying! I understood.
This is just a question.
Extending "respondChallenge period" when challengeBefore occurred is not good implementation?
from plasma-cash.
Related Issues (20)
- Multiple challenges and bonds
- Plasma Cash requires Python 3
- Is ERC20 support production ready? HOT 3
- ERC20/Eth splitting and merging HOT 2
- What prevents double spends? HOT 4
- run child_chain error HOT 1
- Installation issues with python3.6.5 HOT 2
- submitBlock safety [REFACTOR] HOT 1
- The path /usr/bin/python3.6 (from --python=/usr/bin/python3.6) does not exist HOT 1
- UX Improvements / Optimizations
- Remove parent from invalid history challenge
- GasToken Integration
- LibSubmarine Integration
- Optimistic Exits
- Move loom go tests to go-loom
- Arbitrary Denomination Payments
- Atomic Swap Protocol
- Compact Coin History
- Combine the 3 challenges
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasma-cash.