Skip to content

Sync: Ripple(d) 3.0.0 [DO NOT MERGE] #747

Open
tequdev wants to merge 17 commits into
sync-2.6.0from
sync-3.0.0
Open

Sync: Ripple(d) 3.0.0 [DO NOT MERGE] #747
tequdev wants to merge 17 commits into
sync-2.6.0from
sync-3.0.0

Conversation

@tequdev

@tequdev tequdev commented May 12, 2026

Copy link
Copy Markdown
Member

High Level Overview of Change

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

@codecov

codecov Bot commented May 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.45046% with 95 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.80%. Comparing base (32680dd) to head (5775293).

Files with missing lines Patch % Lines
src/xrpld/rpc/handlers/LedgerEntry.cpp 85.90% 52 Missing ⚠️
src/xrpld/rpc/CTID.h 30.43% 16 Missing ⚠️
src/xrpld/rpc/handlers/LedgerEntryHelpers.h 90.29% 10 Missing ⚠️
src/xrpld/peerfinder/PeerfinderManager.h 0.00% 8 Missing ⚠️
src/xrpld/overlay/detail/OverlayImpl.cpp 0.00% 6 Missing ⚠️
include/xrpl/net/HTTPClientSSLContext.h 66.66% 2 Missing ⚠️
src/xrpld/rpc/detail/RPCHelpers.cpp 83.33% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           sync-2.6.0     #747      +/-   ##
==============================================
+ Coverage       77.70%   77.80%   +0.09%     
==============================================
  Files             861      862       +1     
  Lines           80862    80933      +71     
  Branches        11679    11685       +6     
==============================================
+ Hits            62835    62970     +135     
+ Misses          18017    17953      -64     
  Partials           10       10              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

… rpc folder (#5477)

As a step of modularisation, this change moves code from `xrpld` to `libxrpl`.
bthomee and others added 16 commits May 12, 2026 14:55
…changes to proto files (#5711)

This change reverts the formatting applied to external files and adds formatting of proto files.

As clang-format will complain if a proto file is modified or moved, since the .clang-format file does not explicitly contain a section for proto files, the change has been included in this PR as well.
This change handles errors better when calling `env.meta`. It prints some debug help and throws an error if `env.meta` is going to return a `nullptr`.
The change updates how clang-format is called in CI and locally, and adds prettier to the pre-commit hook. Proto files are now also formatted, while external files are excluded.
* Remove extraneous // LCOV_EXCL_START
* Fix "At least one COMMAND must be given" CMake warning
… (#5690)

This is a follow-up to PR #5664 that further improves the specificity of logging for refused peer connections. The previous changes did not account for several key scenarios, leading to potentially misleading log messages.

It addresses the following 

- Inbound Disabled: Connections are now explicitly logged as rejected when the server is not configured to accept inbound peers. Previously, this was logged as the server being "full," which was technically correct but lacked diagnostic clarity.
- Duplicate Connections: The logging now distinguishes between two types of duplicate connection refusals:
    - When a peer with the same node public key is already connected (duplicate connection).
    -  When a connection is rejected because the limit for connections from a single IP address has been reached.

These changes provide more accurate and actionable diagnostic information when analyzing peer connection behavior.
This is a major refactor of LedgerEntry.cpp. It adds a number of helper functions to make the code easier to maintain.

It also splits up the ledger and ledger_entry tests into different files, and cleans up the ledger_entry tests to make them easier to write and maintain.

This refactor also caught a few bugs in some of the other RPC processing, so those are fixed along the way.
- Amendment: fixDelegateV1_1
- In DelegateSet, disallow invalid PermissionValues like 0, and transaction values when the transaction's amendment is not enabled. Acts as if the transaction doesn't exist, which is the same thing older versions without the amendment will do.
- Payment burn/mint should disallow DEX currency exchange.
- Support MPT for Payment burn/mint.
* Fix the issue where COVERAGE_CXX_COMPILER_FLAGS is never used
* extends the functionality of the MPTokenIssuanceSet transaction, allowing the issuer to update fields or flags that were explicitly marked as mutable during creation.
This is a minor change on top of #5705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants