Last active
May 22, 2018 14:18
-
-
Save dleonard00/4d75604e600401fceeee9dcd957d4ba8 to your computer and use it in GitHub Desktop.
Notes for swap changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Peer should implement a send method. (as a p2p/Protocol msg Type) | |
Swap should be a protocol (p2p/Protocol) that the peer implements. | |
Swap protocol should have 2 messages (payment request, and payment) | |
Eliminate the 'proto' interface e.g. `self.proto.Pay(-self.balance, promise)` | |
This next section basically is to say, don't let the cheqbook deployment and interface logic get in the way of the developement of implementing Swap. | |
Leave cheque book deployment alone. | |
Could draft how to simplify the cheqbook. | |
A simplified version of the cheqbook will be deployed. | |
Stripping the code of all dependancy on the cheqbook contract so that it doesnt interfear for now. | |
Just refactoring the payments and swap protocol. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zelig instructed me to turn these notes into issues. ref