Commit Graph

13617 Commits

Author SHA1 Message Date
Olek
b2fff6d23f fix: Improve invariant check for Permissioned Domains (#6134) (#6958) 2026-04-20 21:01:07 +00:00
Olek
673af427f4 Stop tx processing if failed to delete expired credentials (#6715)
Co-authored-by: Ed Hennis <ed@ripple.com>
2026-04-17 23:58:39 +00:00
Alex Kremer
cd62039a73 fix: Add rounding to Vault invariants (#6217) (#6957) 2026-04-17 20:49:14 +00:00
Ed Hennis
eefa1d03bf fix: Fix touchy "funds are conserved" assertion in LoanPay (#6231) 2026-04-14 18:09:51 -04:00
Vito Tumas
c62f0e262c fix: Add assorted Lending Protocol fixes (#6678)
Co-authored-by: Shawn Xie <35279399+shawnxie999@users.noreply.github.com>
2026-04-13 20:42:26 -04:00
Vito Tumas
07862c7afe fix: Clamp VaultClawback to assetsAvailable for zero-amount clawback (#6646) 2026-04-13 20:42:26 -04:00
Vito Tumas
72f3903229 fix: Check trustline limits for share-denominated vault withdrawals (#6645) 2026-04-13 20:42:26 -04:00
Zhiyuan Wang
c9b4a9bd35 fix: Prevent deletion of MPTokens with active escrow (#6635)
Co-authored-by: Bart <bthomee@users.noreply.github.com>
2026-04-13 20:42:25 -04:00
Bart
0915028c93 fix: Change Tuning::bookOffers minimum limit to 1 (#6812)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
2026-04-10 12:00:09 -04:00
Bart
345fc08a07 refactor: Apply various minor improvements and corrections 2026-04-10 10:52:10 -04:00
Valentin Balaschenko
d4d01fc75c fix: Remove fatal assertion on Linux thread name truncation (#6690) 2026-04-10 10:52:10 -04:00
Valentin Balaschenko
22c3f1a9ae chore: Shorten job names to stay within Linux 15-char thread limit (#6669) 2026-04-10 10:52:10 -04:00
Valentin Balaschenko
15613bcb3a refactor: Enforce 15-char limit and simplify labels for thread naming (#6212)
This change continues the thread naming work from #5691 and #5758, which enables more useful lock contention profiling by ensuring threads/jobs have short, stable, human-readable names (rather than being truncated/failing due to OS limits). This changes diagnostic naming only (thread names and job/load-event labels), not behavior.

Specific modifications are:
* Shortens all thread/job names used with `beast::setCurrentThreadName`, so the effective Linux thread name stays within the 15-character limit.
* Removes per-ledger sequence numbers from job/thread names to avoid long labels. This improves aggregation in lock contention profiling for short-lived job executions.
2026-04-10 10:52:10 -04:00
Mayukha Vadari
e74aa71edf fix: Assorted Permissioned Domain fixes (#6587) 2026-04-10 10:52:10 -04:00
Mayukha Vadari
380d4f9ab9 fix: Assorted Vault fixes (#6607) 2026-04-10 10:52:09 -04:00
Mayukha Vadari
fdbba18c6d fix: Assorted Oracle fixes (#6570) 2026-04-10 10:52:09 -04:00
Mayukha Vadari
a025835745 fix: Make assorted NFT fixes (#6566)
This change:
* Removes a set of unnecessary brackets in the initialization of an `std::uint32_t`.
* Fixes a couple of incorrect flags (same value, just wrong variables - so no amendment needed).
2026-04-10 10:52:09 -04:00
Copilot
81119d1f7d fix: Peer crawler port field type inconsistency (#6318)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mvadari <8029314+mvadari@users.noreply.github.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
Co-authored-by: Bart <bthomee@users.noreply.github.com>
2026-04-10 10:52:09 -04:00
Peter Chen
19e55bd00a fix: Gateway balance with MPT (#6143)
When `gateway_balances` gets called on an account that is involved in the `EscrowCreate` transaction (with MPT being escrowed), the method returns internal error. This change fixes this case by excluding the MPT type when totaling escrow amount.
2026-04-10 10:52:08 -04:00
tequ
023320d6d9 refactor: Update PermissionedDomainDelete to use keylet for sle access (#6063) 2026-04-10 10:52:08 -04:00
Ed Hennis
dec12299f8 Fix tautological assertion (#6393) 2026-04-10 10:52:08 -04:00
Copilot
c6989da973 fix: Deletes expired NFToken offers from ledger (#5707)
This change introduces the `fixExpiredNFTokenOfferRemoval` amendment that allows expired offers to pass through `preclaim()` and be deleted in `doApply()`, following the same pattern used for expired credentials.
2026-04-10 10:52:08 -04:00
Pratik Mankawde
da32970ebd Limit reply size on TMGetObjectByHash queries (#6110)
`PeerImp` processes `TMGetObjectByHash` queries with an unbounded per-request loop, which performs a `NodeStore` fetch and then appends retrieved data to the reply for each queried object without a local count cap or reply-byte budget. However, the `Nodestore` fetches are expensive when high in numbers, which might slow down the process overall. Hence this code change adds an upper cap on the response size.
2026-04-10 10:52:07 -04:00
Zhanibek Bakin
be960f9401 fix: Truncate thread name to 15 chars on Linux (#5758)
This change:
* Truncates thread names if more than 15 chars with `snprintf`.
* Adds warnings for truncated thread names if `-DTRUNCATED_THREAD_NAME_LOGS=ON`.
* Add a static assert for string literals to stop compiling if > 15 chars.
* Shortens `Resource::Manager` to `Resource::Mngr` to fix the static assert failure.
* Updates `CurrentThreadName_test` unit test specifically for Linux to verify truncation.
2026-04-10 10:52:07 -04:00
Olek
ab3df74e70 Fix: nullptr resolving without db config (#6029)
If the config disables SQL db usage, such as a validator:

```
[ledger_tx_tables]
use_tx_tables = 0
```

then the pointer to DB engine is null, but it was still resolved during startup. Although it didn't crash in Release mode, possibly due to the compiler optimizing it away, it did crash in Debug mode. This change explicitly checks for the validity of the pointer and generates a runtime error if not set.
2026-04-10 10:52:07 -04:00
Mayukha Vadari
7dc13a20f2 fix: Set correct index for limit in book_offers CLI (#6043)
This change fixes an indexing typo in the `book_offers` CLI processing, and does not affect the HTTPS/WS RPC processing.
2026-04-10 10:52:07 -04:00
Olek
0f7d9f23a6 Fix: Perform array size check (#6030)
The `ledger_entry` and `deposit_preauth` requests require an array of credentials. However, the array size is not checked before is gets processing. This fix adds checks and return errors in case array size is too big.
2026-04-10 10:52:07 -04:00
Copilot
fc5ddc5629 fix: account_tx limit parameter validation for malformed values (#5891)
This change fixes the `account_tx` RPC method to properly validate malformed limit parameter values. Previously, invalid values like `0`, `1.2`, `"10"`, `true`, `false`, `-1`, `[]`, `{}`, etc. were either accepted without errors or caused internal errors. Now all malformed values correctly return the `invalidParams` error.

Co-authored-by: Bart Thomee <11445373+bthomee@users.noreply.github.com>
2026-04-10 10:52:06 -04:00
Ed Hennis
68b978fd2a chore: Make pre-commit line ending conversions work on Windows (#6832) 2026-04-09 18:49:13 -04:00
Bart
fde03c8d77 ci: Use latest version of publish-docs workflow 2026-04-09 10:26:35 -04:00
Ayaz Salikhov
a6b526cc76 ci: Use latest version of publish-docs workflow 2026-04-09 15:18:20 +01:00
Bart
f85b917ace ci: Only upload artifacts in the XRPLF/rippled repository (#6523)
This change will only attempt to upload artifacts for CI runs performed in the XRPLF/rippled repository.
2026-04-06 12:54:45 -04:00
Vito Tumas
11bab06617 fix: Enforce aggregate MaximumAmount in multi-send MPT (#6644)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-06 12:54:32 -04:00
Vito Tumas
a92483e077 fix: Improve loan invariant message (#6668) 2026-04-01 18:55:56 -04:00
Vito Tumas
10731f90b3 feat: Add placeholder amendment for assorted bug fixes (#6652) 2026-04-01 18:49:46 -04:00
Mayukha Vadari
3ba3fcff4c release: Bump version to 3.1.2 3.1.2 2026-03-12 15:01:01 -04:00
Mayukha Vadari
ecc58740d0 release: Bump version to 3.1.2-rc1 2026-03-11 18:17:24 -04:00
Mayukha Vadari
0e3600a18f refactor: Improve exception handling 2026-03-11 18:17:16 -04:00
Ed Hennis
c5988233d0 Set version to 3.1.1 (#6410) 3.1.1 2026-02-23 15:47:09 -05:00
Valentin Balaschenko
61481ff61d Set version to 3.1.1-rc1 3.1.1-rc1 2026-02-20 19:22:03 -05:00
Valentin Balaschenko
a6d1e2cc7c ci: Update prepare-runner action to fix macOS build environment
Updates XRPLF/actions prepare-runner to version 2cbf48101 which fixes
pip upgrade failures on macOS runners with Homebrew-managed Python.
2026-02-20 20:04:47 +00:00
Valentin Balaschenko
6a5f269020 Disable featureBatch and fixBatchInnerSigs amendments (#6402) 2026-02-20 20:03:42 +00:00
Ed Hennis
d325f20c76 Set version to 3.1.0 (#6284) 3.1.0 2026-01-27 20:13:06 -05:00
Ed Hennis
69dda6b34c Set version to 3.1.0-rc2 3.1.0-rc2 2026-01-22 18:13:41 -05:00
Ed Hennis
e3644f265c fix: Remove DEFAULT fields that change to the default in associateAsset (#6259)
- Add Vault creation tests for showing valid range for AssetsMaximum
2026-01-22 16:52:57 -05:00
Ayaz Salikhov
8c573cd0bb Fix dependencies so clio can use libxrpl (#6251)
- Include <functional> header in Number.h
2026-01-22 11:30:54 -05:00
Ed Hennis
c894cd2b5f Revert "Fix dependencies so clio can use libxrpl (#6251)"
This reverts commit ecfe43ece7.
2026-01-22 11:30:39 -05:00
Ayaz Salikhov
ecfe43ece7 Fix dependencies so clio can use libxrpl (#6251)
- Include <functional> header in Number.h
2026-01-21 14:11:21 -05:00
Bart
564a35175e Set version to 3.1.0-rc1 3.1.0-rc1 2026-01-12 20:44:28 -05:00
Ed Hennis
919ded6694 Change LendingProtocol feature and dependencies to supported (#5632) 2026-01-12 20:44:08 -05:00