0g-chain/internal/x/paychan/README.md

14 lines
468 B
Markdown
Raw Normal View History

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-27 21:58:58 +00:00
- error handling (getter setter return values? and what happens in failures)
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?