|
|
# Requirement Specification
|
|
# Requirement Specification
|
|
|
|
## Assumptions
|
|
|
* fixed overall budget: the sum of all balances does not change over time
|
|
* fixed overall budget: the sum of all balances does not change over time
|
|
|
* has a maximum value
|
|
* has a maximum value
|
|
|
* fixed number of nodes
|
|
* fixed number of nodes
|
|
|
* no join / leave
|
|
* no join (if local network) / leave
|
|
|
* every node knows all neighbors, relationship to peers? The network can not be dissected.
|
|
* every node knows all neighbors, relationship to peers? The network can not be dissected.
|
|
|
* money can be sent between nodes (transaction)
|
|
* there is no persistence
|
|
|
|
|
|
|
|
## Transactions
|
|
|
|
* money can be sent between nodes
|
|
|
* balance >= 0
|
|
* balance >= 0
|
|
|
* money request (negative amount) possible?
|
|
* money request (negative amount) possible?
|
|
|
* transactions have a TTL
|
|
* transactions have a TTL
|
|
|
* there is no persistence
|
|
|
|
|
|
## Remote
|
|
|
|
* Contradicts the static amount and links of nodes
|
|
|
|
* If remote is possible, a join action is needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\ No newline at end of file |