0g-chain/internal/x/paychan
2018-07-10 15:44:53 +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 add handler logic 2018-07-10 14:56:04 +01:00
keeper_test.go initial sketch 2018-07-08 23:09:07 +01:00
keeper.go add handler logic 2018-07-10 14:56:04 +01:00
README.md initial sketch 2018-07-08 23:09:07 +01:00
types.go add basic msg logic 2018-07-10 15:44:53 +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