Skip to content

Commit 40d521c

Browse files
committed
Merge pull request ethereum#28 from ethersphere/s/swinx-nagydani
Minor financial terminology adjustment. Do not overload the term "owner".
2 parents 4823d05 + 151bc25 commit 40d521c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swarm/docs/sw^3/bandwidth.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Things can be improved if peers send some provable commitment to compensation di
9797

9898
One particular implementation could use ethereum transactions directly within the bzz protocol. Unfortunately, barring basic verification, no guarantees can be gained from the raw transaction. Also, sending them to the network is not a viable way to cash the payment they represent: If the same address is used to send transaction to multiple peers that act independently, there is no guarantee that the transactions end up in the same block or follow exactly the nonce order. Therefore, besides insufficient balance, they may fail on incorrect nonce.
9999

100-
Smart contracts, however, make it easy to implement more secure payment process.
100+
Smart contracts, however, make it easy to implement a more secure payment process.
101101
Instead of a simple account, the sender address holds a *chequebook contract*. This chequebook contract is similar to a wallet holding an ether balance for the owner and allows signed cheques to be cashed by the recipient (or anyone), who simply send a transaction with the cheque as data to the contract's *cash* method.
102102

103103
.. index::
@@ -115,7 +115,7 @@ Instead of a simple account, the sender address holds a *chequebook contract*. T
115115
the cheque is valid if:
116116

117117
* the contract address matches the address on the cheque,
118-
* the cheque is signed by the owner (NodeId = public key sent in handshake)
118+
* the cheque is signed by the payer (NodeId = public key sent in handshake)
119119
* the signed data is a valid encoding of <contract address,beneficiary,amount>
120120
* the cumulative total amount is greater than in the previous cheque sent.
121121

0 commit comments

Comments
 (0)