TApp Txn Requests: Updating the State Machine

Mutation Requests

  • Hosting node dispatches mutation transaction (that changes the state) to the state maintainer nodes.
  • The state machine actor will execute the transaction and update the state.
  • The hosting nodes are constantly querying for the updated state.

Query Requests

The State Chain: Seat Maintainer Nodes -> Seated Hosting Nodes -> Unseated Hosting Nodes

  • Seated hosting nodes = pay for a state subscription to get the latest state updates before the other hosting nodes.
  • Unseated hosting nodes = get state updates for free from the seated hosting nodes. There’s a slight delay compared to when the seated hosting nodes get the latest state as they wait for the seated nodes to broadcast and propagate the latest state to the unseated nodes.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store