raiden icon indicating copy to clipboard operation
raiden copied to clipboard

Add issues from the Augusto offboarding

Open karlb opened this issue 4 years ago • 1 comments

karlb avatar Sep 17 '20 14:09 karlb

Issues / ideas from Augusto offboarding

  • Smart Contracts:

    • Use libraries to avoid copying code and allow bigger code size
    • Don't re-deploy secret registry for the same hash type:
      • Would mean multiple SRs need to be watched.
      • Features can be added via wrapper contract
  • Client

    • Use cross token payment mechanism to do network upgrades (i.e. some nodes can do payments in both the old and the new networks)
    • Database
      • Use proper database schema instead of storing json blobs
      • Increase Snapshot size to improve performance
    • API
      • Better visibility into state of node
        • Which actions are in progress (syncing, open channel, deposit, close, settle, on-chain tx, etc.)
        • "Where are my funds" during close, settle (i.e. they are no longer visible in the channel but also not yet back on-chain).
      • Make API async
      • Provide Websocket and / or GraphQL API
      • Add some form of "notification" endpoint that returns all the notifications / warnings etc. that currently get printed to stdout:
        • Low UDC balance
        • Low on-chain balance
        • ...
    • State machine
      • Add state change keeping track of which on-chain tx have been sent Fixes (mostly) sending duplicate tx after restart

(This is all from zoom_0.mp4 in https://drive.google.com/drive/u/1/folders/1LhGZ00dLYtnb1zsH4VGgE6hVnvpikjos up until 1:00:00)

ulope avatar Sep 21 '20 09:09 ulope