tequ
3ad93af34d
fix: Sponsor's MaxFee cap is bypassed in reset() path, allowing sponsee to drain entire pre-funded FeeAmount in a single tec-failing transaction
2026-05-26 14:40:07 -04:00
Oleksandr
c5941d6b14
Unify accountReserve, ownerCount, ownerReserve
2026-05-26 14:40:07 -04:00
tequ
b153213e83
run pre-commit
2026-04-28 17:20:00 +09:00
tequ
c12eff6646
apply tidy diff
2026-04-28 17:09:57 +09:00
tequ
381094498d
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-04-28 09:49:52 +09:00
Vito Tumas
2e307329f0
refactor: Add transaction-specific invariant checking ( #6551 )
2026-04-22 14:41:19 +00:00
Alex Kremer
653a383ff5
chore: Enable clang-tidy include cleaner ( #6947 )
2026-04-17 16:43:49 +00:00
tequ
84e84fbadf
fix Sponsor able to provide sponsorship with just base reserve
2026-04-13 14:03:37 +09:00
tequ
525adf122f
fix reset() Does Not makeFieldAbsent for Zero FeeAmount
2026-04-10 18:28:28 +09:00
tequ
71003699dc
Add test for no SponsorFlag with valid sponsor
2026-04-10 13:45:14 +09:00
tequ
700a528a25
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-04-10 03:38:07 +09:00
Gregory Tsipenyuk
dfcad69155
feat: Add MPT support to DEX ( #5285 )
2026-04-08 16:17:37 +00:00
tequ
3f4e88c300
Merge remote-tracking branch 'xrplf/develop' into sponsor
2026-04-08 11:47:16 +09:00
Mayukha Vadari
f239256d87
refactor: Move more helper files into libxrpl/ledger/helpers ( #6731 )
...
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-06 22:36:32 +00:00
yinyiqian1
3414a1776b
docs: Add explanatory comment to checkFee ( #6631 )
2026-04-02 20:48:35 +00:00
Alex Kremer
2502befb42
chore: Enable clang-tidy misc checks ( #6655 )
2026-03-31 17:29:45 +00:00
tequ
7c3ca98bd5
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-03-31 14:22:49 +09:00
Jingchen
3a477e4d01
refactor: Address PR comments after the modularisation PRs ( #6389 )
...
Signed-off-by: JCW <a1q123456@users.noreply.github.com >
Co-authored-by: Bart <bthomee@users.noreply.github.com >
2026-03-30 15:22:38 +00:00
tequ
d0d4f1d153
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-03-30 17:25:14 +09:00
Jingchen
addc1e8e25
refactor: Make function naming in ServiceRegistry consistent ( #6390 )
...
Signed-off-by: JCW <a1q123456@users.noreply.github.com >
Co-authored-by: Ed Hennis <ed@ripple.com >
2026-03-26 14:11:16 +00:00
Mayukha Vadari
2c7af360c2
fix: Remove unused/unreachable transactor code ( #6612 )
2026-03-25 16:02:14 +00:00
tequ
41429dcc99
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-03-25 11:59:44 +09:00
Alex Kremer
0eedefbf45
refactor: Enable more clang-tidy readability checks ( #6595 )
...
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com >
2026-03-24 15:42:12 +00:00
Mayukha Vadari
8b986e4ab0
refactor: Improve imports to only call the needed helpers ( #6624 )
2026-03-24 10:20:32 +00:00
Mayukha Vadari
e0dbe90370
refactor: Move ledger entry helper functions from View.h/View.cpp to dedicated helper files ( #6453 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-23 15:39:58 +00:00
tequ
de64bc7855
fix L18
2026-03-23 12:34:33 +09:00
tequ
f13945eff9
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-03-19 11:10:44 +09:00
Alex Kremer
57e4cbbcd9
refactor: Add simple clang-tidy readability checks ( #6556 )
...
This change enables the following clang-tidy checks:
- readability-avoid-nested-conditional-operator,
- readability-avoid-return-with-void-value,
- readability-braces-around-statements,
- readability-const-return-type,
- readability-container-contains,
- readability-container-size-empty,
- readability-else-after-return,
- readability-make-member-function-const,
- readability-redundant-casting,
- readability-redundant-inline-specifier,
- readability-redundant-member-init,
- readability-redundant-string-init,
- readability-reference-to-constructed-temporary,
- readability-static-definition
2026-03-18 16:41:49 +00:00
Mayukha Vadari
dcaef828b4
refactor: Replace !=/== tesSuccess with using isTesSuccess ( #6409 )
...
This change replaces all instances of `<variable> != tesSUCCESS` with `!isTesSuccess(<variable>)` and `<variable> == tesSUCCESS` with `isTesSuccess(<variable>)`.
2026-03-18 14:15:10 +00:00
tequ
b32ff18c21
refactor getFeePayer()
2026-03-18 00:19:21 +09:00
tequ
37c95ead69
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-03-18 00:02:57 +09:00
Mayukha Vadari
252c6768df
refactor: Clean up getFeePayer, mSourceBalance, and mPriorBalance ( #6478 )
...
This change:
* Introduces a new helper function on `STTx`, `getFeePayer`.
* Removes the usage of `mSourceBalance` and replaces it with SLE balance lookups.
* Renames `mPriorBalance` to `preFeeBalance_`
This simplifies some of the code in the transactors and makes it a lot more readable.
2026-03-17 14:12:16 +00:00
tequ
85e1f2b16c
Rename [sponsor|sponsee]Acc,[sponsor|sponsee]Account to [sponsor|sponsee]AccountID for clarity
2026-03-17 18:32:30 +09:00
tequ
53f407e1bd
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-03-17 17:22:54 +09:00
Vito Tumas
5865bd017f
refactor: Update transaction folder structure ( #6483 )
...
This change reorganizes the `tx/transactors` directory for consistency and discoverability. There are no behavioral changes, this is a pure refactor. Underscores were chosen as the way to separate multi-words as this is the more popular option in C++ projects.
Specific changes:
- Rename all subdirectories to lowercase/snake_case (`AMM` → `amm`, `Check` → `check`, `NFT` → `nft`, `PermissionedDomain` → `permissioned_domain`, etc.)
- Merge `AMM/` and `Offer/` into `dex/`, including `PermissionedDEXHelpers`
- Rename `MPT/` → `token/`, absorbing `SetTrust` and `Clawback`
- Move top-level transactors into named groups: `account/`, `bridge/`, `credentials/`, `did/`, `escrow/`, `oracle/`, `payment/`, `payment_channel/`, `system/`
- Update all include paths across the codebase and `transactions.macro`
2026-03-06 08:25:31 +00:00
tequ
062ece321b
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-02-23 23:20:21 +09:00
Ayaz Salikhov
2c1fad1023
chore: Apply clang-format width 100 ( #6387 )
2026-02-19 23:30:00 +00:00
tequ
d1d613da27
audit 4
2026-02-18 14:19:40 +09:00
tequ
446681dc3d
Merge remote-tracking branch 'upstream/develop' into sponsor
2026-02-18 13:39:57 +09:00
Jingchen
0976b2b68b
refactor: Modularize app/tx ( #6228 )
2026-02-17 18:10:07 +00:00