Comments (2)
At the moment Alice sends a swap request message to Bob, Bob accepts, Alice starts with funding, etc.
I propose to decouple the swap request from the actual blockchain protocol for RFC003 and rename it (e.g setup phase).
This way, Alice and Bob could switch role with only sending one message, e.g. Alice does not generate the secret but asks Bob for it, now Bob will need to move first with the funding.
I'd be keen to keep our terminology as:
- Alice generates the secret
- Bob does not
So that your proposal would be for Bob to send the message first and ask for the hash to Alice.
from rfcs.
Closing this as this will go aways with the negotiation protocol changes.
from rfcs.
Related Issues (20)
- Clarify use of headers vs body HOT 2
- Bitcoin ledger definition should use "magic bytes" to identify the network HOT 2
- Name of SWAP message HOT 1
- Lack of symmetry when processing declined responses HOT 1
- BAM message response type HOT 2
- Data type for timestamps in HTLCs HOT 4
- Documentation notes HOT 5
- Public redemption with known secret HOT 3
- Introduce CLOSE frame to RFC-001 HOT 1
- Remove Error Frame from RFC-001
- Embrace libp2p and replace the frame concept with protocols HOT 5
- Establish a shared identifier for a swap as part of a swap request HOT 4
- Change the Bitcoin RFC to use miniscript
- Hackathon requirements for December HOT 2
- COMIT application expiry constraints HOT 2
- Have a concise name for the cryptographic protocol described in RFC003 HOT 11
- Design protocol for integrating LND into cnd HOT 2
- Update Ether/Erc20 HTLC HOT 1
- Update README to include `COMIT spec` header
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 rfcs.