Ed Hennis
6e36944ebc
Merge remote-tracking branch 'XRPLF/develop' into ximinez/lending-shortages
...
* XRPLF/develop:
chore: Add custom cmake definitions for gersemi (6491)
refactor: Update transaction folder structure (6483)
chore: Apply gersemi changes (6486)
chore: Use gersemi instead of ancient cmake-format (6486)
Add Formats and Flags to `server_definitions` (6321)
fix: Fix docs deployment for pull requests (6482)
fix: Stop committing generated docs to prevent repo bloat (6474)
2026-03-06 12:33:15 -05:00
Ayaz Salikhov
7b12c00e6b
chore: Add custom cmake definitions for gersemi ( #6491 )
...
This change adds definitions for our custom functions/macros, so gersemi will nicely format them too.
2026-03-06 13:50:00 +01: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
Ayaz Salikhov
af0ec7defd
chore: Apply gersemi changes ( #6486 )
2026-03-05 19:54:44 +00:00
Ayaz Salikhov
0c74270b05
chore: Use gersemi instead of ancient cmake-format ( #6486 )
2026-03-05 19:54:37 +00:00
Alex Kremer
dde450784d
Add Formats and Flags to server_definitions ( #6321 )
...
This change implements https://github.com/XRPLF/XRPL-Standards/discussions/418 : "System XLS: Add Formats and Flags to server_definitions".
2026-03-05 16:11:27 +00:00
Michael Legleux
08e734457f
fix: Fix docs deployment for pull requests ( #6482 )
2026-03-05 00:12:41 -08:00
Michael Legleux
77518394e8
fix: Stop committing generated docs to prevent repo bloat ( #6474 )
2026-03-04 19:19:57 -08:00
Ed Hennis
64a096130f
Merge branch 'develop' into ximinez/lending-shortages
2026-03-04 17:12:14 -04:00
Ayaz Salikhov
c69091bded
chore: Add Git information compile-time info to only one file ( #6464 )
...
The existing code added the git commit info (`GIT_COMMIT_HASH` and `GIT_BRANCH`) to every file, which was a problem for leveraging `ccache` to cache build objects. This change adds a separate C++ file from where these compile-time variables are propagated to wherever they are needed. A new CMake file is added to set the commit info if the `git` binary is available.
2026-03-04 19:45:28 +00:00
Alex Kremer
595f0dd461
chore: Enable clang-tidy bugprone-sizeof-expression check ( #6466 )
2026-03-04 19:15:22 +00:00
Alex Kremer
b451d5e412
chore: Enable clang-tidy bugprone-return-const-ref-from-parameter check ( #6459 )
2026-03-04 18:10:10 +00:00
Alex Kremer
af97df5a63
chore: Enable clang-tidy bugprone-move-forwarding-reference check ( #6457 )
2026-03-04 17:03:27 +00:00
Peter Chen
e39954d128
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-03-04 15:50:51 +00:00
tequ
3cd1e3d94e
refactor: Update PermissionedDomainDelete to use keylet for sle access ( #6063 )
2026-03-04 04:11:58 +01:00
Ed Hennis
037f3152a7
Merge branch 'develop' into ximinez/lending-shortages
2026-03-03 18:38:35 -04:00
Ayaz Salikhov
fcec31ed20
chore: Update pre-commit hooks ( #6460 )
2026-03-03 20:23:22 +00:00
dependabot[bot]
0abd762781
ci: [DEPENDABOT] bump actions/upload-artifact from 6.0.0 to 7.0.0 ( #6450 )
2026-03-03 17:17:08 +00:00
Sergey Kuznetsov
5300e65686
tests: Improve stability of Subscribe tests ( #6420 )
...
The `Subscribe` tests were flaky, because each test performs some operations (e.g. sends transactions) and waits for messages to appear in subscription with a 100ms timeout. If tests are slow (e.g. compiled in debug mode or a slow machine) then some of them could fail. This change adds an attempt to synchronize the background Env's thread and the test's thread by ensuring that all the scheduled operations are started before the test's thread starts to wait for a websocket message. This is done by limiting I/O threads of the app inside Env to 1 and adding a synchronization barrier after closing the ledger.
2026-03-03 08:46:55 -05:00
Alex Kremer
afc660a1b5
refactor: Fix clang-tidy bugprone-empty-catch check ( #6419 )
...
This change fixes or suppresses instances detected by the `bugprone-empty-catch` clang-tidy check.
2026-03-02 17:08:56 +00:00
Vito Tumas
1a7f824b89
refactor: Splits invariant checks into multiple classes ( #6440 )
...
The invariant check system had grown into a single monolithic file pair containing 24 invariant checker classes. The large `InvariantCheck.cpp` file was a frequent source of merge conflicts and difficult to navigate. This refactoring improves maintainability and readability with zero behavioral changes.
In particular, this change:
- Splits `InvariantCheck.h` and `InvariantCheck.cpp` into 10 focused header/source pairs organized by domain under a new `invariants/` subdirectory.
- Extracts the shared `Privilege` enum and `hasPrivilege()` function into a dedicated `InvariantCheckPrivilege.h` header, so domain-specific files can reference them independently.
2026-02-27 21:02:39 +00:00
Sergey Kuznetsov
b58c681189
chore: Make nix hook optional ( #6431 )
...
This change makes the `nix` pre-commit hook optional in development environments, and enforced only inside Github Actions.
2026-02-27 13:36:10 -05:00
Mayukha Vadari
404f35d556
test: Grep for failures in CI ( #6339 )
...
This change adjusts the CI tests to make it easier to spot errors, without needing to sift through the thousands of lines of output.
2026-02-27 03:01:38 +00:00
Alex Kremer
2e595b6031
chore: Enable clang-tidy checks without issues ( #6414 )
...
This change enables all clang-tidy checks that are already passing. It also modifies the clang-tidy CI job, so it runs against all files if .clang-tidy changed.
2026-02-26 18:26:58 +00:00
Bart
3a8a18c2ca
refactor: Use uint256 directly as key instead of void pointer ( #6313 )
...
This change replaces `void const*` by `uint256 const&` for database fetches.
Object hashes are expressed using the `uint256` data type, and are converted to `void *` when calling the `fetch` or `fetchBatch` functions. However, in these fetch functions they are converted back to `uint256`, making the conversion process unnecessary. In a few cases the underlying pointer is needed, but that can then be easy obtained via `[hash variable].data()`.
2026-02-25 18:23:34 -05:00
Ayaz Salikhov
65e63ebef3
chore: Update cleanup-workspace to delete old .conan2 dir on macOS ( #6412 )
2026-02-25 01:12:16 +00:00
Ed Hennis
70f535fce2
Merge branch 'develop' into ximinez/lending-shortages
2026-02-24 17:43:47 -04:00
Valentin Balaschenko
bdd106d992
Explicitly trim the heap after cache sweeps ( #6022 )
...
Limited to Linux/glibc builds.
2026-02-24 21:33:13 +00:00
Valentin Balaschenko
24cbaf76a5
ci: Update prepare-runner action to fix macOS build environment (empty)
...
Updates XRPLF/actions prepare-runner to version 2cbf48101 which fixes
pip upgrade failures on macOS runners with Homebrew-managed Python.
* This commit was cherry-picked from "release-3.1", but ended up empty
because the changes are already present. It is included only for
accounting - to indicate that all changes/commits from the previous
release will be in the next one.
2026-02-24 12:52:32 -05:00
Valentin Balaschenko
3a805cc646
Disable featureBatch and fixBatchInnerSigs amendments ( #6402 )
2026-02-24 12:49:59 -05:00
Sergey Kuznetsov
0fd237d707
chore: Add nix development environment ( #6314 )
...
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-23 20:10:07 -05:00
Ed Hennis
368d79515e
Merge branch 'develop' into ximinez/lending-shortages
2026-02-20 18:51:11 -04:00
Ed Hennis
142aaa7ae3
Merge remote-tracking branch 'XRPLF/develop' into ximinez/lending-shortages
...
* XRPLF/develop:
ci: [DEPENDABOT] bump actions/checkout from 4.3.0 to 6.0.2 (6397)
ci: [DEPENDABOT] bump actions/setup-python from 5.6.0 to 6.2.0 (6395)
ci: [DEPENDABOT] bump tj-actions/changed-files from 46.0.5 to 47.0.4 (6394)
ci: [DEPENDABOT] bump codecov/codecov-action from 5.4.3 to 5.5.2 (6398)
ci: Build docs in PRs and in private repos (6400)
ci: Add dependabot config (6379)
Fix tautological assertion (6393)
2026-02-20 17:48:27 -05:00
Ed Hennis
39c397a0fd
Merge commit '2c1fad1023' into ximinez/lending-shortages
...
* commit '2c1fad1023':
chore: Apply clang-format width 100 (6387)
2026-02-20 17:48:23 -05:00
dependabot[bot]
3542daa4cc
ci: [DEPENDABOT] bump actions/upload-artifact from 4.6.2 to 6.0.0 ( #6396 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.2 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](ea165f8d65...b7c566a772 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 22:48:01 +00:00
Ed Hennis
6266899acb
Update formatting
2026-02-20 17:45:50 -05:00
Ed Hennis
2a8d0ecca7
Merge commit '25cca465538a56cce501477f9e5e2c1c7ea2d84c' into ximinez/lending-shortages
...
* commit '25cca465538a56cce501477f9e5e2c1c7ea2d84c':
chore: Set clang-format width to 100 in config file (6387)
2026-02-20 17:39:05 -05:00
dependabot[bot]
fd9f57ec97
ci: [DEPENDABOT] bump actions/checkout from 4.3.0 to 6.0.2 ( #6397 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.3.0 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.3.0...de0fac2e4500dabe0009e67214ff5f5447ce83dd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 22:09:48 +00:00
dependabot[bot]
625becff18
ci: [DEPENDABOT] bump actions/setup-python from 5.6.0 to 6.2.0 ( #6395 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.6.0 to 6.2.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](a26af69be9...a309ff8b42 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 6.2.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 21:29:05 +00:00
dependabot[bot]
4bcbc6e50f
ci: [DEPENDABOT] bump tj-actions/changed-files from 46.0.5 to 47.0.4 ( #6394 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 46.0.5 to 47.0.4.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](ed68ef82c0...7dee1b0c15 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-version: 47.0.4
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 19:59:37 +00:00
dependabot[bot]
0bc4a0cfe8
ci: [DEPENDABOT] bump codecov/codecov-action from 5.4.3 to 5.5.2 ( #6398 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.4.3 to 5.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](18283e04ce...671740ac38 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 5.5.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 19:11:26 +00:00
Ayaz Salikhov
cb54adefed
ci: Build docs in PRs and in private repos ( #6400 )
2026-02-20 13:41:43 -05:00
Ayaz Salikhov
d03d72bfd5
ci: Add dependabot config ( #6379 )
2026-02-20 09:19:00 +00:00
Ed Hennis
6f35d94b2f
Fix tautological assertion ( #6393 )
2026-02-20 01:58:47 +00:00
Ayaz Salikhov
2c1fad1023
chore: Apply clang-format width 100 ( #6387 )
2026-02-19 23:30:00 +00:00
Ayaz Salikhov
25cca46553
chore: Set clang-format width to 100 in config file ( #6387 )
2026-02-19 23:29:46 +00:00
Ed Hennis
1fc3f4dedc
Merge branch 'develop' into ximinez/lending-shortages
2026-02-19 16:25:25 -05:00
Ayaz Salikhov
469ce9f291
chore: Set cmake-format width to 100 ( #6386 )
2026-02-19 19:42:51 +00:00
Sergey Kuznetsov
31302877ab
ci: Add clang tidy workflow to ci ( #6369 )
2026-02-19 14:06:44 -05:00
Ed Hennis
6bb09ee163
Merge remote-tracking branch 'XRPLF/develop' into ximinez/lending-shortages
...
* XRPLF/develop:
refactor: Modularize app/tx (6228)
refactor: Decouple app/tx from `Application` and `Config` (6227)
chore: Update clang-format to 21.1.8 (6352)
refactor: Modularize `HashRouter`, `Conditions`, and `OrderBookDB` (6226)
chore: Fix minor issues in comments (6346)
refactor: Modularize the NetworkOPs interface (6225)
chore: Fix `gcov` lib coverage build failure on macOS (6350)
refactor: Modularize RelationalDB (6224)
refactor: Modularize WalletDB and Manifest (6223)
fix: Update invariant checks for Permissioned Domains (6134)
refactor: Change main thread name to `xrpld-main` (6336)
refactor: Fix spelling issues in tests (6199)
test: Add file and line location to Env (6276)
chore: Remove CODEOWNERS (6337)
perf: Remove unnecessary caches (5439)
chore: Restore unity builds (6328)
refactor: Update secp256k1 to 0.7.1 (6331)
fix: Increment sequence when accepting new manifests (6059)
fix typo in LendingHelpers unit-test (6215)
2026-02-18 20:13:40 -05:00