Introduce CheckCashMakesTrustLine amendment:

With this amendment, the CheckCash transaction creates a TrustLine
if needed.  The change is modeled after offer crossing.  And,
similar to offer crossing, cashing a check allows an account to
exceed its trust line limit.
This commit is contained in:
Scott Schurr
2021-04-07 18:11:10 -07:00
committed by manojsdoshi
parent 8d59c7dd40
commit bf75094224
5 changed files with 954 additions and 87 deletions

View File

@@ -117,6 +117,7 @@ class FeatureCollections
"FlowSortStrands",
"fixSTAmountCanonicalize",
"fixRmSmallIncreasedQOffers",
"CheckCashMakesTrustLine",
};
std::vector<uint256> features;
@@ -378,6 +379,7 @@ extern uint256 const featureTicketBatch;
extern uint256 const featureFlowSortStrands;
extern uint256 const fixSTAmountCanonicalize;
extern uint256 const fixRmSmallIncreasedQOffers;
extern uint256 const featureCheckCashMakesTrustLine;
} // namespace ripple