Skip to content

Commit

Permalink
Fix definition of deterministic (neo-project#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
corollari authored and Celia18305 committed Jun 12, 2019
1 parent 509b948 commit 6659236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en-us/basic/neocontract.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This article introduces features of NeoContract and explores non-technical detai

### Certainty

If a program is running on different computers, or at different times on the same computer, the behavior of the program is deterministic if the same input is guaranteed to produce the same output, and vice versa.
If a program is running on different computers, or at different times on the same computer, the behavior of the program is deterministic if the same input is guaranteed to produce the same output.

Blockchain is a multi-party storage, and computational method, where the data within this distributed system is the result of reliable calculations, that cannot be tampered with. Smart contracts operate within the multi-node, distributed blockchain network. If a smart contract is non-deterministic, the results of different nodes may be inconsistent. As a result, consensus between the nodes cannot be reached, and the network becomes stagnant. Therefore, in the design of a smart contract system, there is a need to rule out any factors which may lead to non-deterministic behavior.

Expand Down

0 comments on commit 6659236

Please sign in to comment.