Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • This is a very interesting idea about spend request! I'm thinking how to implement it. First, I considered that events in blockchain could be transactions added to blocks, so they are 'change events'. But 'spend requests' are transactions that are in mempool and not added to the blockchain yet. So we might add state machine code into the consensus code and we can validate if such spending is allowed by checking state transition condition Commented Nov 8, 2019 at 7:21
  • Yes. A state machine diagram represents the behavior of a particular subject (class, component, subsystem, whatever). Carefully choose and specify which subject that is. Sometimes, a problem may be solved by choosing a different subject, e.g. an overarching system. Commented Nov 8, 2019 at 9:23
  • Please mark the answer as accepted if you are satisfied. Commented Nov 8, 2019 at 9:25