Commit Graph

10293 Commits

Author SHA1 Message Date
Ed Hennis
a428a753ef Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2026-01-08 21:37:08 -04:00
Gregory Tsipenyuk
5dde3e0242 Check if a withdrawal amount exceeds any applicable receiving limit. (#6117)
- Check the trust line limit is not exceeded for a withdraw to a third party Destination account.
2026-01-09 00:44:13 +00:00
Ed Hennis
b11a7faf01 Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2026-01-08 20:13:09 -04:00
Vito Tumas
0dabf4eaf8 refactor: Rename raw state to theoretical state (#6187) 2026-01-09 00:11:02 +00:00
Ed Hennis
4303e67bea Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2026-01-08 19:40:03 -04:00
Vito Tumas
e763dc8a5e Fix bugs: frozen pseudo-account, and FLC cutoff (#6170)
- Fixes LoanManage tfBAD_LEDGER case by capping the amount of FLC to use to cover a loss at the amount of cover available.
- Check if the Vault pseudo-account is frozen in LoanBrokerSet
2026-01-08 22:12:29 +00:00
Ed Hennis
9526a30dbc Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2026-01-08 13:20:05 -04:00
Ed Hennis
1a192fea07 Merge branch 'ximinez/lending-XLS-66-2' into ximinez/lending-XLS-66-ongoing 2026-01-08 13:12:20 -04:00
Ed Hennis
5a95a7426e Merge branch 'ximinez/develop-nolending' into ximinez/lending-XLS-66-2 2026-01-08 13:12:16 -04:00
Ed Hennis
9c2c9afc9f Merge remote-tracking branch 'XRPLF/develop' into ximinez/develop-nolending
* XRPLF/develop:
  refactor: Fix typos, enable cspell pre-commit (5719)
  fix: Reorder Batch Preflight Errors (6176)
  refactor: Remove unused credentials signature hash prefix (6186)
  refactor: Fix spelling issues in all variables/functions (6184)
  refactor: Fix spelling issues in private/local variables and functions (6182)
  refactor: Fix typos in comments, configure cspell (6164)
  ci: Move variable into right place (6179)
  ci: Use ccache to cache build objects for speeding up building (6104)
2026-01-08 12:11:19 -05:00
Mayukha Vadari
53aa5ca903 refactor: Fix typos, enable cspell pre-commit (#5719)
This change fixes the last of the spelling issues, and enables the pre-commit (and CI) check for spelling. There are no functionality changes, but it does rename some enum values.
2026-01-08 10:34:49 -05:00
Denis Angell
510c0d82e9 fix: Reorder Batch Preflight Errors (#6176)
This change fixes https://github.com/XRPLF/rippled/issues/6058.
2026-01-08 13:48:39 +00:00
Ed Hennis
a06de68ce4 Bring back Number::Guard::doRound* functions
- Based on feedback from @shawnxie999.
2026-01-07 18:32:18 -05:00
Mayukha Vadari
07ff532d30 refactor: Fix spelling issues in all variables/functions (#6184)
This change fixes many typos in comments, variables, and public functions. There is no functionality change.
2026-01-07 21:30:35 +00:00
Mayukha Vadari
2c37ef7762 refactor: Fix spelling issues in private/local variables and functions (#6182)
This change fixes several typos in private/local variables and private functions. There is no functionality change.
2026-01-07 14:26:14 -05:00
Mayukha Vadari
3c9f5b6252 refactor: Fix typos in comments, configure cspell (#6164)
This change sets up a `cspell `configuration and fixes lots of typos in comments. There are no other code changes.
2026-01-07 12:10:19 -05:00
Ed Hennis
c5c89c28a7 Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2026-01-06 14:21:22 -05:00
Ed Hennis
48c1c56f0c Merge branch 'ximinez/lending-XLS-66-2' into ximinez/lending-XLS-66-ongoing 2026-01-06 14:18:36 -05:00
Ed Hennis
9159969f5e Merge branch 'ximinez/develop-nolending' into ximinez/lending-XLS-66-2 2026-01-06 14:18:32 -05:00
Ed Hennis
fcc75cfc01 Merge remote-tracking branch 'XRPLF/develop' into ximinez/develop-nolending
* XRPLF/develop:
  test: add more tests for `ledger_entry` RPC (5858)
  refactor: Rename `rippled.cfg` to `xrpld.cfg` (6098)
  Revert "chore: Pin ruamel.yaml<0.19 in pre-commit-hooks (6166)" (6167)
  chore: Pin ruamel.yaml<0.19 in pre-commit-hooks (6166)
  fix: Remove cryptographic libs from libxrpl Conan package (6163)
2026-01-06 14:17:57 -05:00
Ed Hennis
fa6047f05d Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2026-01-06 14:01:41 -05:00
Vito Tumas
76272ffd0f Add minimum grace period validation (#6133) 2026-01-06 11:30:26 -05:00
Mayukha Vadari
44d21b8f6d test: add more tests for ledger_entry RPC (#5858)
This change adds some basic tests for all the `ledger_entry` helper functions, so each ledger entry type is covered. There are further some minor refactors in `parseAMM` to provide better error messages. Finally, to improve readability, alphabetization was applied in the helper functions.
2026-01-05 10:54:24 -05:00
Bart
3d1b3a49b3 refactor: Rename rippled.cfg to xrpld.cfg (#6098)
This change renames all occurrences of `rippled.cfg` to `xrpld.cfg`. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts. For the time being it maintains support for `rippled.cfg` as config file, if `xrpld.cfg` does not exist.
2026-01-05 14:55:12 +00:00
Ed Hennis
59cafb0172 Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2025-12-22 17:39:34 -05:00
Ed Hennis
c81b26b09e Add a few minor changes (#6158)
- Updates or fixes a couple of things I noticed while reviewing changes
  to the spec.
- Rename sfPreviousPaymentDate to sfPreviousPaymentDueDate.
- Make the vault asset cap check added in #6124 a little more robust:
  1. Check in preflight if the vault is _already_ over the limit.
  2. Prevent overflow when checking with the loan value. (Subtract
     instead of adding, in case the values are near maxint. Both return
     the same result. Also add a unit test so each case is covered.
2025-12-22 17:38:39 -05:00
Gregory Tsipenyuk
c91b9a0223 fix: Enable LP Deposits when the broker is the asset issuer (#6119)
* Replace accountHolds with accountSpendable when checking
for account funds in VaultDeposit and LoanBrokerCoverDeposit
2025-12-19 21:51:45 +00:00
Ed Hennis
96a9800114 Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2025-12-19 14:08:00 -05:00
Ed Hennis
a38db36a68 Merge branch 'ximinez/lending-XLS-66-2' into ximinez/lending-XLS-66-ongoing 2025-12-19 13:22:18 -05:00
Ed Hennis
0e24d9d9b1 Merge branch 'ximinez/develop-nolending' into ximinez/lending-XLS-66-2 2025-12-19 13:22:14 -05:00
Ed Hennis
42bb1f1673 Merge branch 'develop' into ximinez/develop-nolending 2025-12-18 20:00:39 -05:00
Ed Hennis
77944a6b2e Merge remote-tracking branch 'XRPLF/ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple
* XRPLF/ximinez/lending-XLS-66-ongoing:
  Fix Overpayment ValueChange calculation in Lending Protocol (6114)
  Ensure vault asset cap is not exceeded (6124)
  Disallow pseudo accounts to be Destination for LoanBrokerCoverWithdraw (6106)
  Check permissions in LoanSet and LoanPay (6108)
  Fix some minor bugs in Lending Protocol (6101)
  Fix LoanBrokerSet debtMaximum limits (6116)
2025-12-18 19:49:32 -05:00
Ed Hennis
565e62fefb Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2025-12-18 19:40:11 -05:00
Vito Tumas
b9aa354782 Fix Overpayment ValueChange calculation in Lending Protocol (#6114)
- Adds loan state to LoanProperties.
- Cleans up computeLoanProperties.
- Fixes missing management fee from overpayment.
2025-12-19 00:14:28 +00:00
Bart
f059f0beda Set version to 3.2.0-b0 (#6153) 2025-12-17 18:21:01 -05:00
Vito Tumas
28fd66097b Ensure vault asset cap is not exceeded (#6124) 2025-12-17 22:38:10 +00:00
Jingchen
14790724af Disallow pseudo accounts to be Destination for LoanBrokerCoverWithdraw (#6106) 2025-12-17 16:34:29 +00:00
Jingchen
0aa4eed0f7 Check permissions in LoanSet and LoanPay (#6108) 2025-12-17 04:46:51 +00:00
Vito Tumas
3971411924 Fix some minor bugs in Lending Protocol (#6101)
- add nodiscard to unimpairLoan, and check result in LoanPay
- add a check to verify that issuer exists
- improve LoanManage error code for dust amounts
2025-12-17 01:30:41 +00:00
Vito Tumas
40c29bbfd6 Fix LoanBrokerSet debtMaximum limits (#6116) 2025-12-16 13:19:27 -05:00
Mayukha Vadari
41c1be2bac refactor: remove Json::Object and related files/classes (#5894)
`Json::Object` and related objects are not used at all, so this change removes `include/xrpl/json/Object.h` and all downstream files. There are a number of minor downstream changes as well.

Full list of deleted classes and functions:
* `Json::Collections`
* `Json::Object`
* `Json::Array`
* `Json::WriterObject`
* `Json::setArray`
* `Json::addObject`
* `Json::appendArray`
* `Json::appendObject`

The last helper function, `copyFrom`, seemed a bit more complex and was actually used in a few places, so it was moved to `LedgerToJson.h` instead of deleting it.
2025-12-15 13:40:08 -05:00
Ed Hennis
f7a5f35d0e Merge branch 'ximinez/lending-XLS-66-2' into ximinez/lending-XLS-66-ongoing 2025-12-12 20:49:38 -05:00
Ed Hennis
d7c71bffd8 Merge branch 'ximinez/develop-nolending' into ximinez/lending-XLS-66-2 2025-12-12 20:49:34 -05:00
Ed Hennis
db11d27e49 Merge branch 'develop' into ximinez/develop-nolending 2025-12-12 20:39:59 -05:00
Ed Hennis
71a81792ec Merge branch 'ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple 2025-12-12 20:34:37 -05:00
Ed Hennis
3e9fc4dea7 Fix test errors 2025-12-12 19:49:25 -05:00
liuyueyangxmu
cf748702af chore: Fix some typos in comments (#6082) 2025-12-12 11:06:17 -05:00
Ed Hennis
d1d74c89f2 Update rippled to xrpl 2025-12-11 19:45:43 -05:00
Ed Hennis
0f0e0bbc0c Merge remote-tracking branch 'XRPLF/ximinez/lending-XLS-66-ongoing' into ximinez/lending-number-simple
* XRPLF/ximinez/lending-XLS-66-ongoing:
  Update rippled to xrpl
  Change some instances of View info() to header()
  Update rippled to xrpl
  refactor: Rename `ripple` namespace to `xrpl` (5982)
  refactor: Move JobQueue and related classes into xrpl.core module (6121)
  refactor: Rename `rippled` binary to `xrpld` (5983)
  refactor: rename info() to header() (6138)
  refactor: rename `LedgerInfo` to `LedgerHeader` (6136)
  refactor: clean up `RPCHelpers` (5684)
  chore: Fix docs readme and cmake (6122)
  chore: Clean up .gitignore and .gitattributes (6001)
  chore: Use updated secp256k1 recipe (6118)
2025-12-11 19:43:27 -05:00
Ed Hennis
cf15e6876f Update rippled to xrpl 2025-12-11 19:05:11 -05:00