node icon indicating copy to clipboard operation
node copied to clipboard

doc: document on-chain state machines

Open boz opened this issue 5 years ago • 2 comments

Illustrate (using dot) the state transitions and events that cause them of on-chain objects:

  • [ ] deployment/deployment
  • [ ] deployment/group
  • [ ] market/order
  • [ ] market/bid
  • [ ] market/lease

boz avatar May 12 '20 04:05 boz

I'll dig into deployment/deployment, since that's related to https://github.com/ovrclk/akash/pull/620

Are there any example dot files for general layout/guidelines?

Ropes avatar May 29 '20 18:05 Ropes

After looping up and down throught he code, this is what the graph looks like for Deployments and Groups. There is a bit of muddying in terms of packages/cosmos module boxes, and action diamonds. Also the rendering needs to be tweaked so labels don't clash. It's a start for outlining how things operate though. deployment dot

Wanted to get feedback on how the basic flow of commands ends up being executed through packages. It's definitely not as consistent as I'd like, but it's a start.

Open to ideas and feedback.

Ropes avatar Jun 02 '20 16:06 Ropes