The New Advanced Society. Группа авторов

Чтение книги онлайн.

Читать онлайн книгу The New Advanced Society - Группа авторов страница 20

The New Advanced Society - Группа авторов

Скачать книгу

mentioned in Figure 2.4, this contract requires zero input states and gives one output state. The signatures of the client and the main contractor are mandatory in this contract for a successful transaction. Hence, this transaction is visible only to the client and the main contractor.

       2.3.3.3 Transfer of Cash (TT) Contract

      According to this contract, the client can send the amount requested, in the form of cash, to the main contractor. Therefore, the client is the only participant who can initiate this contract. The cash state is paired with this contract.

       2.3.3.4 Updation of the Task (UOT) Contract

      According to this contract, the subcontractor can update the status of the task that was assigned to him by the main contractor. Therefore, the subcontractor is the only participant who can initiate this contract. The task state is paired with this contract.

Schematic illustration of the UOT contract.

      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.

       2.3.4.1 Flow Associated With CAT Contract

Schematic illustration of the flow of the CAT contract. Schematic illustration of the flow of the RT contract. Schematic illustration of the flow of the UOT contract.

       2.3.4.2 Flow Associated With RT Contract

       2.3.4.3 Flow Associated With TT Contract

       2.3.4.4 Flow Associated With UOT Contract

      2.4.1 System Overview

Schematic illustration of the system overview.

Скачать книгу