0g-chain/internal/x/paychan
2018-08-30 13:43:15 -04:00
..
client add minimal test coverage 2018-08-28 23:45:26 -04:00
doc.go add pkg doc file 2018-07-09 19:50:59 +01:00
endblocker_test.go remove unnecessary bidirectional features 2018-08-30 13:43:15 -04:00
endblocker.go add minimal test coverage 2018-08-28 23:45:26 -04:00
handler.go add error handling and fix compile errors 2018-08-27 23:48:48 -04:00
keeper_test.go remove unnecessary bidirectional features 2018-08-30 13:43:15 -04:00
keeper.go remove unnecessary bidirectional features 2018-08-30 13:43:15 -04:00
README.md remove unnecessary bidirectional features 2018-08-30 13:43:15 -04:00
test_common.go add minimal test coverage 2018-08-28 23:45:26 -04:00
types_test.go add minimal test coverage 2018-08-28 23:45:26 -04:00
types.go remove unnecessary bidirectional features 2018-08-30 13:43:15 -04:00
wire.go add error handling and fix compile errors 2018-08-27 23:48:48 -04:00

Payment channel implementation sketch

Simplifications:

  • unidirectional paychans
  • no top ups or partial withdrawals (only opening and closing)

TODO

  • chnge module name to "channel"?
  • Find a better name for Queue - clarify distinction between int slice and abstract queue concept
  • refactor queue into one object
  • Do all the small functions need to be methods on the keeper or can they just be floating around?
  • Tidy up - standardise var names, method descriptions, heading comments
  • any problem in signing your own address?
  • Gas
  • Codespace
  • find nicer name for payouts
  • tags - return channel id