Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If two offers have the same exchange rate, how does Ripple decide which one to fulfil first?

share|improve this question
I guess, since it makes most sense to me, to fulfil the older one, but that's just a guess: I'd like to know for sure. – o0'. Mar 4 '13 at 14:23
It is possible that this hasn't been decided yet. – jtimon Mar 11 '13 at 14:47
up vote 3 down vote accepted

If they're in the same order book (same currency/issuer pairs), it's the one that was placed first.

If they're in different order books (say because the source holds balances from more than one issuer) it's a bit more complex. Even if the offer rates are the same, the effective rate might not be the same. For example, if one issuer has a higher transfer fee, that can make the effective rate higher even if the offer rate is the same.

If the effective rate is the same, then it's the one specified first in the transaction's path set. Currently, the server sorts the path set when the transaction is formed based on an attempt to provide the most liquidity and any benefits that can be achieved. So, for example, if one path reduces a balance that's over its limit, that will be preferred.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.