Читать книгу The New Advanced Society - Группа авторов - Страница 39

2.3.4 Flows

Оглавление

A flow is a series of steps that tells a node how to attain a specific ledger update thus, automating the process of unison with ledger updates. Communication between nodes occurs only in the accordance of these flows and this happens on a peer-to-peer basis. When a flow waits for messages from other nodes, the flow is suspended, serialized, and check-pointed. If a node fails or restarts, the check-pointed flow is deserialized and started where it left-off. In this case, the flow is suspended and check-pointed until the participant gets a response from the required participants [58]. After the above-mentioned contracts are executed successfully, each contract will be associated with their respective flow.

The New Advanced Society

Подняться наверх