Comments (2)
User story:
- User receives a payment that is not fully collateralized
- User also has $5 in their channel to spend
- Hub begins a deposit to collateralize users channel. This may be done in a way or for a reason that is nonobvious to the end user
- User cannot spend pre-existing $5 until the collateralizing deposit from the hub is cleared.
Ideally, this "pending deposit" would not affect the user's ability to spend their existing channel balance.
from monorepo.
This is particularly an issue right now while gas prices are spiking and so transactions are sometimes taking 20 minutes to mine. Would suck to lose access to your channel for 20 minutes.
You could implement a timeout but then that introduces potential channel-breaking conditions where a deposit goes through AFTER timeout. Even if you enforce timeout onchain (somehow), this would mean poor UX because none of your deposits would work. (We're going through this exact problem in v1 right now)
from monorepo.
Related Issues (20)
- [cf-funding-protocol-contracts] An unnecessary number of transaction calls is being created HOT 3
- [cf-adjudicator-contracts] Gas usage could be reduced by 40 000 units HOT 3
- [cf-adjudicator-contracts] Player can create a challenge back to a wrongfully played move in order to change the outcome of the game HOT 3
- [node] Deposit started message not emitted on counterparty HOT 1
- [node] Deposit confirmed not emitting anymore HOT 2
- [contracts] No build directories in latest cf-funding-protocol-contracts package HOT 4
- [contracts] Need to expose expected-build-artifacts directory
- [node] Clean up Connext specific tests HOT 1
- [node] Insufficient awaits for multiple protocols being executed across clients
- Yarn/node version locking downstream issues HOT 4
- [node] Symmetrical FINISHED events for all parties after protocol execution completes HOT 3
- [node] Challenge protocol
- [node] Make things faster 2.0
- [node] Update p-queue
- [node] Duplicate versioned states are stored on propose app install
- [node] Virtual install events not showing up on intermediary HOT 3
- [node] Decouple deposit commitment from onchain transaction HOT 2
- [node] Move mnemonic out of store & into memory HOT 2
- [node] Symmetric events
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 monorepo.