Commit Graph

13419 Commits

Author SHA1 Message Date
JCW
cb352f5ec6 Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-29 15:29:19 +01:00
JCW
21a5260bb7 Switch to yyjson
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-29 15:00:58 +01:00
JCW
52becffa48 Fix issues 2025-08-28 23:04:56 +01:00
JCW
b5c4fd4c51 Fix issues 2025-08-28 22:41:41 +01:00
JCW
ffa323808d Fix issues 2025-08-28 21:55:14 +01:00
JCW
e7e800197e Performance improvement 2025-08-28 20:36:46 +01:00
JCW
6e35bb91ec Hardcode the log style as json
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:14 +01:00
JCW
276c02197f Fix PR comments
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:14 +01:00
Jingchen
fb228860c8 Update include/xrpl/basics/Log.h
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com>
2025-08-27 16:04:14 +01:00
JCW
b6c2b5cec5 Fix formatting
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:14 +01:00
JCW
516271e8fc Improve coverage
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
0d87dfbdb4 Remove unneeded file
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
f7b00a929b Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
9b3dd2c3b2 Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
1a159e040e Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
56964984a5 Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
0b31d52896 Fix formatting
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:13 +01:00
JCW
5cf589af16 Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
2754c6343b Fix formatting
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
98bc036d1f Fix to_string error
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
429617e1ca Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
a513f95fb5 Fix formatting
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
3740308b61 Support structured logs
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
f1625c9802 Support structured logs
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:12 +01:00
JCW
73bc28bf4f Support structured logs
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-08-27 16:04:11 +01:00
Bart
1240bae12b Update Conan dependencies: OpenSSL (#5617)
This change updates OpenSSL from 1.1.1w to 3.5.2. The code works as-is, but many functions have been marked as deprecated and thus will need to be rewritten. For now we explicitly add the `-DOPENSSL_SUPPRESS_DEPRECATED` to give us time to do so, while providing us with the benefits of the updated version.
2025-08-27 16:04:11 +01:00
Jingchen
ceb0ce5634 refactor: Decouple net from xrpld and move rpc-related classes to the rpc folder (#5477)
As a step of modularisation, this change moves code from `xrpld` to `libxrpl`.
2025-08-15 23:27:13 +00:00
Michael Legleux
fb89213d4d Set version to 2.6.0-rc2 2.6.0-rc2 2025-08-15 14:50:35 -07:00
Bart
d8628d481d docs: Updates list of maintainers and reviewers (#5687) 2025-08-14 16:17:37 -04:00
Elliot.
a14551b151 fix: Change log to debug level for AMM offer retrieval and IOU payment check (#5686)
Reduce log noise by changing two log statements from error/warn level to debug level. These logs occur during normal operation when AMM offers are not available or when IOU authorization checks fail, which are expected scenarios that don't require an elevated log level.
2025-08-14 12:28:01 -04:00
Bart
de33a6a241 fix: Add -Wno-deprecated-declarations for Clang only (#5680)
This change adds `-Wno-deprecated-declarations` for Clang only (not for GCC) builds in `cmake/RippledCompiler.cmake`.
2025-08-14 06:07:09 -04:00
Elliot.
28eec6ce1b Update .git-blame-ignore-revs for #5657 (#5675)
Now that #5657 has been squashed and merged, we can add its commit hash to .git-blame-ignore-revs.
2025-08-13 18:00:22 +00:00
Bronek Kozicki
c9a723128a Fix BUILD.md instruction (#5676) 2025-08-13 07:23:36 -04:00
Michael Legleux
da82e52613 Set version to 2.6.0-rc1 2.6.0-rc1 2025-08-12 13:40:34 -07:00
Vito Tumas
c9d73b6135 fix: Improve logging of the reason to refuse a peer connection (#5664)
Currently, all peer connection rejections are logged with the reason "slots full". This is inaccurate, as the PeerFinder can also reject connections if they are a duplicate. This change updates the logging logic to correctly report the specific reason (full or duplicate) for a rejected peer connection, providing more accurate diagnostic information.
2025-08-11 18:52:47 +00:00
Oleksandr Hrabar
b7ed99426b fix: Make test suite names match the directory name (#5597)
This change fixes the suite names all around the test files, to make them match to the folder name in which this test files are located. Also, the RCL test files are relocated to the consensus folder, because they are testing consensus functionality.
2025-08-11 14:12:36 -04:00
Mayukha Vadari
97f0747e10 chore: Run prettier on all files (#5657) 2025-08-11 16:15:42 +00:00
Bronek Kozicki
abf12db788 chore: Set CONAN_REMOTE_URL also for forks (#5662)
This change replaces the configuration variable with the hardcoded `https://conan.ripplex.io`, making it possible for PRs from forks to use our Conan remote containing workarounds.
2025-08-11 13:02:03 +00:00
Bart
bdfc376951 chore: Cleanup bin/ directory (#5660)
This change removes ancient and unused files from the `bin/` directory.
2025-08-11 11:24:24 +00:00
Jingchen
b40a3684ae perf: Optimize hash performance by avoiding allocating hash state object (#5469)
We're currently calling `XXH3_createState` and `XXH3_freeState` when hashing an object. However, it may be slow because they call `malloc` and `free`, which may affect the performance. This change avoids the use of the streaming API as much as possible by using an internal buffer.
2025-08-11 06:21:26 -04:00
Ed Hennis
86ef16dbeb Fix: Don't flag consensus as stalled prematurely (#5627)
Fix stalled consensus detection to prevent false positives in situations where there are no disputed transactions.

Stalled consensus detection was added to 2.5.0 in response to a network consensus halt that caused a round to run for over an hour. However, it has a flaw that makes it very easy to have false positives. Those false positives are usually mitigated by other checks that prevent them from having an effect, but there have been several instances of validators "running ahead" because there are circumstances where the other checks are "successful", allowing the stall state to be checked.
2025-08-08 17:13:32 -04:00
Bart
39b5031ab5 Switch Conan 1 commands to Conan 2 and fix credentials (#5655)
This change updates some incorrect Conan commands for Conan 2. As some flags do not exist in Conan 2, such as --settings build_type=[configuration], the commands have been adjusted accordingly. This change further uses the org-level variables and secrets rather than the repo-level ones.
2025-08-08 12:47:36 +00:00
Valentin Balaschenko
94decc753b perf: Move mutex to the partition level (#5486)
This change introduces two key optimizations:
* Mutex scope reduction: Limits the lock to individual partitions within `TaggedCache`, reducing contention.
* Decoupling: Removes the tight coupling between `LedgerHistory` and `TaggedCache`, improving modularity and testability.

Lock contention analysis based on eBPF showed significant improvements as a result of this change.
2025-08-07 17:04:07 -04:00
Bart
991891625a Upload Conan dependencies upon merge into develop (#5654)
This change uploads built Conan dependencies to the Conan remote upon merge into the develop branch.

At the moment, whenever Conan dependencies change, we need to remember to manually push them to our Conan remote, so they are cached for future reuse. If we forget to do so, these changed dependencies need to be rebuilt over and over again, which can take a long time.
2025-08-07 06:52:58 -04:00
Bart
69314e6832 refactor: Remove external libraries as they are hosted in our Conan Center Index fork (#5643)
This change:
* Removes the patched Conan recipes from the `external/` directory.
* Adds instructions for contributors how to obtain our patched recipes.
* Updates the Conan remote name and remote URL (the underlying package repository isn't changed).
* If the remote already exists, updates the URL instead of removing and re-adding.
  * This is not done for the libXRPL job as it still uses Conan 1. This job will be switched to Conan 2 soon.
* Removes duplicate Conan remote CI pipeline steps.
* Overwrites the existing global.conf on MacOS and Windows machines, as those do not run CI pipelines in isolation but all share the same Conan installation; appending the same config over and over bloats the file.
2025-08-06 15:46:13 +00:00
Bronek Kozicki
dbeb841b5a docs: Update BUILD.md for Conan 2 (#5478)
This change updates BUILD.md for Conan 2, add fixes/workarounds for Apple Clang 17, Clang 20 and CMake 4. This also removes (from BUILD.md only) workarounds for compiler versions which we no longer support e.g. Clang 15 and adds compilation flag -Wno-deprecated-declarations to enable building with Clang 20 on Linux.
2025-08-06 10:18:41 +00:00
tequ
4eae037fee fix: Ensures canonical order for PriceDataSeries upon PriceOracle creation (#5485)
This change fixes an issue where the order of `PriceDataSeries` was out of sync between when `PriceOracle` was created and when it was updated. Although they are registered in the canonical order when updated, they are created using the order specified in the transaction; this change ensures that they are also registered in the canonical order when created.
2025-08-05 13:08:59 -04:00
Jingchen
b5a63b39d3 refactor: Decouple ledger from xrpld/app (#5492)
This change decouples `ledger` from `xrpld/app`, and therefore fully clears the path to the modularisation of the ledger component. Before this change, `View.cpp` relied on `MPTokenAuthorize::authorize; this change moves `MPTokenAuthorize::authorize` to `View.cpp` to invert the dependency, making ledger a standalone module.
2025-08-05 15:28:56 +00:00
Denis Angell
6419f9a253 docs: Set up developer environment with specific XCode version (#5645) 2025-08-04 10:54:54 -04:00
Ayaz Salikhov
31c99caa65 Revert "ci: Build all conan dependencies from source for now (#5623)" (#5639)
This reverts commit 9b45b6888b.
2025-07-31 14:01:43 -04:00