mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-01-01 11:15:17 +00:00
16 lines
449 B
Markdown
16 lines
449 B
Markdown
Payment channel implementation sketch
|
|
|
|
Simplifications:
|
|
|
|
- unidirectional paychans
|
|
- no top ups or partial withdrawals (only opening and closing)
|
|
- no protection against fund lock up from dissapearing receiver
|
|
|
|
|
|
TODO
|
|
- fix issue with multisig accounts and sequence numbers
|
|
- create a nicer paychan store key for querying (and implement query)
|
|
- expand client code
|
|
- tidy up - add return tags
|
|
- start removing simplifications, refactor
|