<p>Double spending doesn't just include cases where a participant tries to spend his own funds twice, but it also includes cases where two honest participants each want the same liquidity.</p>

<p>For example, say I have 100,000 Euros that I'm willing to exchange for 113,000 USD and there are two people who each want to take me up on that offer. Somehow, we have to agree on which of those gets the offer, and that's precisely the same issue as a double spend.</p>

<p>You either need a consensus algorithm or you need a central authority.</p>

CC BY-SA 3.0
2015-09-15T17:20:55.050Z
This use case is valid when there are multiple receivers contending for same resources or sender. Is this a big use case for which banks are deploying ripple technology. My thinking is that in general it is a sender who will decide the receiver in a money transaction. For example in credit card transaction i decide whom should be paid. Am i missing anything.
rishabh mittal
CC BY-SA 3.0
2015-09-15T17:26:14.233Z
@rishabhmittal Yes, the sender picks the receiver. But the sender wants the intermediary that can make the payment at the lowest price, and that may mean competing for liquidity. When X makes a payment to Y, X needs to find someone who has money where Y wants it and is willing to trade for that money, and he's competing with everyone else who needs money in that same place. A credit card transaction is just a payment. Banks need settlement systems. This requires payments to compete for fixed pools of actual liquidity, not just adjust balances that get settled later.
David Schwartz
CC BY-SA 3.0
2015-09-14T19:24:00.187Z
2015-09-14T19:32:19.357Z
2015-09-14T19:32:19.357Z
David Schwartz
<p>I am wondering that why do we need consensus algorithm like ripple if all the nodes in a system is honest. There won't exist an use case of double spending. I am asking this question because recently i am reading the news that banks are using ripple algorithm to transfer money between their international branches.</p>

<ripple><banks><consensus>
why banks are trying consensus algorithms like ripple
rishabh mittal
# why banks are trying consensus algorithms like ripple

(Asked by: username_0 on 2015-09-14)

I am wondering that why do we need consensus algorithm like ripple if all the nodes in a system is honest. There won't exist an use case of double spending. I am asking this question because recently i am reading the news that banks are using ripple algorithm to transfer money between their international branches.

**Tags:** ripple, banks, consensus


---

## 1 answers

### Answer by username_1 on 2015-09-14. Score: 3

Double spending doesn't just include cases where a participant tries to spend his own funds twice, but it also includes cases where two honest participants each want the same liquidity.

For example, say I have 100,000 Euros that I'm willing to exchange for 113,000 USD and there are two people who each want to take me up on that offer. Somehow, we have to agree on which of those gets the offer, and that's precisely the same issue as a double spend.

You either need a consensus algorithm or you need a central authority.

> **Comments:**
> **username_0**: This use case is valid when there are multiple receivers contending for same resources or sender. Is this a big use case for which banks are deploying ripple technology. My thinking is that in general it is a sender who will decide the receiver in a money transaction. For example in credit card transaction i decide whom should be paid. Am i missing anything.  
> **username_1**: @username_0 Yes, the sender picks the receiver. But the sender wants the intermediary that can make the payment at the lowest price, and that may mean competing for liquidity. When X makes a payment to Y, X needs to find someone who has money where Y wants it and is willing to trade for that money, and he's competing with everyone else who needs money in that same place. A credit card transaction is just a payment. Banks need settlement systems. This requires payments to compete for fixed pools of actual liquidity, not just adjust balances that get settled later.  

---

