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

20 lines
667 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-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
2018-08-29 03:45:26 +00:00
- refactor queue into one object
2018-08-27 21:58:58 +00:00
- Do all the small functions need to be methods on the keeper or can they just be floating around?
2018-08-29 03:45:26 +00:00
- Tidy up - standardise var names, method descriptions, heading comments
- is having all the get functions return a bool if not found reasonable?
- any problem in signing your own address?
- Gas
2018-08-29 03:45:26 +00:00
- Codespace
- find nicer name for payouts