Skip to content

Commit

Permalink
corrections to Simulations section
Browse files Browse the repository at this point in the history
  • Loading branch information
mortelli committed Sep 11, 2019
1 parent c8c1946 commit 577a894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/incentives/simulation-and-test-scenarios.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Simulations run as part of the go unit testing suite. They spawn a configurable
### Accounting correctness
This is a test well suited for a simulation. At no point after a change should the correctness of accounting be broken.

**Description**: Launch n nodes, upload a file, sync, then download from different nodes, and check balances.
**Expectation**: All balances should be symmetric with each other (`balanceA == -balanceB && balanceB == -balanceA`) and at least _some_ of them should be non-zero.
**Restriction**: Keep balances below threshold so no cheques are emitted.
**Description**: Launch n nodes, upload a file, sync, then download from different nodes, and check balances.
**Expectation**: All balances should be symmetric with each other (`balanceA == -balanceB && balanceB == -balanceA`) and at least _some_ of them should be non-zero.
**Restriction**: Keep balances below threshold so no cheques are emitted.

### Cheques correctness
Trigger multiple thresholds crossing (and thus multiple cheques emission).
Expand Down

0 comments on commit 577a894

Please sign in to comment.