2018-07-17 14:00:44 +00:00
|
|
|
Payment channel implementation sketch
|
2018-07-08 22:09:07 +00:00
|
|
|
|
|
|
|
Simplifications:
|
|
|
|
|
|
|
|
- unidirectional paychans
|
|
|
|
- no top ups or partial withdrawals (only opening and closing)
|
|
|
|
|
|
|
|
|
|
|
|
TODO
|
2018-08-24 23:18:41 +00:00
|
|
|
- chnge module name to "channel"?
|
2018-08-27 21:58:58 +00:00
|
|
|
- Find a better name for Queue - clarify distinction between int slice and abstract queue concept
|
|
|
|
- Do all the small functions need to be methods on the keeper or can they just be floating around?
|
2018-08-28 03:48:48 +00:00
|
|
|
- Tidy up - standardise var names, comments and method descriptions
|
|
|
|
- is having all the get functions return a bool if not found reasonable?
|
|
|
|
- any problem in signing your own address?
|
|
|
|
- Gas
|