0g-chain/internal/x/paychan
rhuairahrighairigh dfdb06ce6f add pkg doc file
2018-07-09 19:50:59 +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 basic keeper logic 2018-07-09 19:46:51 +01:00
keeper_test.go initial sketch 2018-07-08 23:09:07 +01:00
keeper.go add basic keeper logic 2018-07-09 19:46:51 +01:00
README.md initial sketch 2018-07-08 23:09:07 +01:00
types.go add basic keeper logic 2018-07-09 19:46:51 +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