Use liquidity from strands that consume too many offers (RIPD-1515):

This changes the rules for payments in two ways:

1) It sets the maximum number of offers any book step can consume from
2000 to 1000.

2) When a strand contains a step that consumes too many offers,
currently the liquidity is not used at all and the strand will
be considered dry. This changes things so the liquidity is used,
however the strand will still be considered dry.
This commit is contained in:
seelabs
2018-05-16 14:06:26 -04:00
committed by Mike Ellery
parent 5097656c83
commit 833fae57db
6 changed files with 421 additions and 47 deletions

View File

@@ -79,7 +79,8 @@ class FeatureCollections
"fix1571",
"fix1543",
"fix1623",
"DepositPreauth"
"DepositPreauth",
"fix1515"
};
std::vector<uint256> features;
@@ -365,6 +366,7 @@ extern uint256 const fix1571;
extern uint256 const fix1543;
extern uint256 const fix1623;
extern uint256 const featureDepositPreauth;
extern uint256 const fix1515;
} // ripple