0g-chain/internal/x/paychan
rhuairahrighairigh fbffc2d008 add validation
2018-07-12 14:32:36 +01:00
..
client initial sketch 2018-07-08 23:09:07 +01:00
doc.go add pkg doc file 2018-07-09 19:50:59 +01:00
handler.go plan out validation 2018-07-11 22:02:07 +01:00
keeper_test.go initial sketch 2018-07-08 23:09:07 +01:00
keeper.go add validation 2018-07-12 14:32:36 +01:00
README.md initial sketch 2018-07-08 23:09:07 +01:00
types.go add validation 2018-07-12 14:32:36 +01:00

Paychan Sketch

Simplifications:

  • unidirectional paychans
  • no top ups or partial withdrawals (only opening and closing)
  • no protection against fund lock up from dissapearing receiver

TODO

  • fill in details
  • add tests
  • is errors.go needed?
  • is wire.go needed?
  • remove simplifications