Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
2406b28
refactor: Remove unused and add missing includes (#5293)
bthomee Mar 11, 2025
ed8e32c
refactor: Calculate numFeatures automatically (#5324)
ximinez Mar 12, 2025
c17676a
refactor: Improve ordering of headers with clang-format (#5343)
ximinez Mar 12, 2025
c3ecdb4
Rename "deadlock" to "stall" in `LoadManager` (#5341)
Bronek Mar 14, 2025
c0299db
Adds hub.xrpl-commons.org as a new Bootstrap Cluster (#5263)
Tokeiito Mar 17, 2025
d9b7a26
fix: Error message for ledger_entry rpc (#5344)
kuznetsss Mar 17, 2025
a7fb8ae
fix: Handle invalid marker parameter in grpc call (#5317)
cindyyan317 Mar 18, 2025
bf50491
fix: trust line RPC no ripple flag (#5345)
vvysokikh1 Mar 18, 2025
d167d48
refactor: Updates Conan dependencies: RocksDB (#5335)
bthomee Mar 18, 2025
345ddc7
fix: Remove null pointer deref, just do abort (#5338)
Bronek Mar 18, 2025
7fe81fe
chore: Add PR number to payload (#5310)
godexsoft Mar 18, 2025
75a2019
chore: Update link to ripple-binary-codec (#5355)
godexsoft Mar 19, 2025
d22a505
Prevent consensus from getting stuck in the establish phase (#5277)
ximinez Mar 20, 2025
67028d6
test: enable TxQ unit tests work with variable reference fee (#5118)
vvysokikh1 Mar 24, 2025
2bc5cb2
test: enable unit tests to work with variable reference fee (#5145)
vvysokikh1 Mar 25, 2025
fc20477
Intrusive SHAMap smart pointers for efficient memory use and lock-fre…
vlntb Mar 25, 2025
6cf37c4
refactor: Move integration tests from 'examples/' into 'tests/' (#5367)
bthomee Mar 27, 2025
72e076b
test: enable compile time param to change reference fee value (#5159)
vvysokikh1 Mar 27, 2025
f608e65
Fix undefined uint128_t type on Windows non-unity builds (#5377)
bthomee Apr 1, 2025
851d99d
fix: uint128 ambiguousness breaking macos unity build (#5386)
vvysokikh1 Apr 4, 2025
e923ec6
Fix to correct memory ordering for compare_exchange_weak and wait in …
vlntb Apr 4, 2025
4ba9288
fix: disable `channel_authorize` when `signing_support` is disabled (…
mvadari Apr 5, 2025
ca0bc76
fix: Use the build image from ghcr.io (#5390)
legleux Apr 5, 2025
a099f5a
Remove UNREACHABLE from `NetworkOPsImp::processTrustedProposal` (#5387)
Bronek Apr 8, 2025
7692eeb
Instrument proposal, validation and transaction messages (#5348)
Tapanito Apr 9, 2025
e429455
refactor(trivial): reorganize ledger entry tests and helper functions…
mvadari Apr 9, 2025
a574ec6
fix: `fixPayChanV1` (#4717)
dangell7 Apr 9, 2025
aafd2d8
Fix: admin RPC webhook queue limit removal and timeout reduction (#5163)
WietseWind Apr 10, 2025
c4308b2
fix: Adds CTID to RPC tx and updates error (#4738)
dangell7 Apr 10, 2025
1c99ea2
Temporary disable automatic triggering macOS pipeline (#5397)
vlntb Apr 10, 2025
cba5120
refactor: Clean up test logging to make it easier to search (#5396)
mvadari Apr 11, 2025
405f461
chore: Run CI on PRs that are Ready or have the "DraftRunCI" label (#…
ximinez Apr 11, 2025
217ba8d
fix: CTID to use correct ledger_index (#5408)
dangell7 Apr 24, 2025
fa1e25a
chore: Small clarification to lsfDefaultRipple comment (#5410)
vvysokikh1 Apr 25, 2025
3502df2
fix: Replaces random endpoint resolution with sequential (#5365)
Tapanito Apr 28, 2025
4a084ce
Improve transaction relay logic (#4985)
ximinez May 1, 2025
9ec2d7f
Enable passive squelching (#5358)
Tapanito May 2, 2025
2db2791
Add PermissionDelegation feature (#5354)
yinyiqian1 May 8, 2025
3e152fe
refactor: use east const convention (#5409)
Tapanito May 8, 2025
28f50cb
fix: enable LedgerStateFix for delegation (#5427)
yinyiqian1 May 10, 2025
c6c7c84
Configure CODEOWNERS for changes to RPC code (#5266)
bthomee May 12, 2025
e3ebc25
fix: Ensure that coverage file generation is atomic. (#5426)
a1q123456 May 12, 2025
c3e9380
fix: Update validators-example.txt fix xrplf example URL (#5384)
brettmollin May 16, 2025
380ba9f
Fix: Resolve slow test on macOS pipeline (#5392)
vlntb May 16, 2025
09690f1
Set version to 2.5.0-b1
legleux May 18, 2025
dd62cfc
fix: Update path in CODEOWNERS (#5440)
bthomee May 20, 2025
e514de7
Add single asset vault (XLS-65d) (#5224)
Bronek May 20, 2025
70371a4
Fix initializer list initialization for GCC-15 (#5443)
oleks-rip May 21, 2025
7713ff8
Add codecov badge, raise .codecov.yml thresholds (#5428)
Bronek May 22, 2025
40ce8a8
fix: Fix pseudo-account ID calculation (#5447)
Bronek May 23, 2025
2a61aee
Add Batch feature (XLS-56) (#5060)
dangell7 May 23, 2025
8b9e21e
docs: Update build instructions for Ubuntu 22.04+ (#5292)
vlntb May 27, 2025
cd777f7
docs: add -j $(nproc) to BUILD.md (#5288)
intelliot May 27, 2025
cae5294
chore: Rename docs job (#5398)
bthomee May 27, 2025
be668ee
chore: Update CPP ref source (#5453)
legleux May 27, 2025
d71ce51
feat: improve squelching configuration (#5438)
Tapanito May 28, 2025
9e1fe9a
Fix: Improve handling of expired credentials in `VaultDeposit` (#5452)
Bronek May 28, 2025
0510574
chore[tests]: improve env.meta usage (#5457)
mvadari May 29, 2025
dacecd2
Fix unit build error (#5459)
Bronek May 29, 2025
e0bc3dd
docs: update example keyserver host in SECURITY.md (#5460)
mankins May 30, 2025
0a34b5c
Add support for XLS-81 Permissioned DEX (#5404)
shawnxie999 May 30, 2025
621df42
fix: Add AMMv1_3 amendment (#5203)
gregtatcam Jun 2, 2025
7e24adb
fix: Address NFT interactions with trustlines (#5297)
vvysokikh1 Jun 2, 2025
053e1af
Add support for XLS-85 Token Escrow (#5185)
dangell7 Jun 3, 2025
0310c5c
fix: Specify transitive_headers when building with Conan 2 (#5462)
mathbunnyru Jun 3, 2025
506ae12
Increase network i/o capacity (#5464)
mtrippled Jun 3, 2025
a5e953b
fix: Add tecNO_DELEGATE_PERMISSION and fix flags (#5465)
yinyiqian1 Jun 3, 2025
11edaa4
Set version to 2.5.0-rc1 (#5472)
legleux Jun 4, 2025
58c2c82
fix: Amendment-guard `TokenEscrow` preclaim and expand tests (#5473)
dangell7 Jun 5, 2025
8bf4a5c
chore: Remove external project build cores division (#5475)
vvysokikh1 Jun 5, 2025
d494bf4
refactor: Collapse some split log messages into one (#5347)
ximinez Jun 6, 2025
35a40a8
fix: Improve multi-sign usage of `simulate` (#5479)
mvadari Jun 10, 2025
ea17abb
fix: Ensure delegate tests do not silently fail with batch (#5476)
yinyiqian1 Jun 11, 2025
edb4f03
Set version to 2.5.0-rc2
legleux Jun 12, 2025
b1fbf9f
Set version to 2.5.0
legleux Jun 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ Q_FOREACH, BOOST_FOREACH ]
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<(test)/'
Priority: 0
Expand All @@ -53,8 +54,12 @@ IncludeCategories:
Priority: 2
- Regex: '^<(boost)/'
Priority: 3
- Regex: '.*'
- Regex: '^.*/'
Priority: 4
- Regex: '^.*\.h'
Priority: 5
- Regex: '.*'
Priority: 6
IncludeIsMainRegex: '$'
IndentCaseLabels: true
IndentFunctionDeclarationAfterType: false
Expand Down Expand Up @@ -89,3 +94,4 @@ SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 8
UseTab: Never
QualifierAlignment: Right
4 changes: 2 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ comment:
show_carryforward_flags: false

coverage:
range: "60..80"
range: "70..85"
precision: 1
round: nearest
status:
project:
default:
target: 60%
target: 75%
threshold: 2%
patch:
default:
Expand Down
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Allow anyone to review any change by default.
*

# Require the rpc-reviewers team to review changes to the rpc code.
include/xrpl/protocol/ @xrplf/rpc-reviewers
src/libxrpl/protocol/ @xrplf/rpc-reviewers
src/xrpld/rpc/ @xrplf/rpc-reviewers
src/xrpld/app/misc/ @xrplf/rpc-reviewers
6 changes: 1 addition & 5 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
run: |
conan config set general.revisions_enabled=1
conan export external/snappy snappy/1.1.10@
conan export external/rocksdb rocksdb/6.29.5@
conan export external/rocksdb rocksdb/9.7.3@
conan export external/soci soci/4.0.3@
conan export external/nudb nudb/2.0.8@
- name: add Ripple Conan remote
Expand Down Expand Up @@ -55,7 +55,3 @@ runs:
--options xrpld=True \
--settings build_type=${{ inputs.configuration }} \
..
- name: upload dependencies to remote
if: (steps.binaries.outputs.missing != '[]') && (steps.remote.outputs.outcome == 'success')
shell: bash
run: conan upload --remote ripple '*' --all --parallel --confirm
8 changes: 6 additions & 2 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: clang-format

on: [push, pull_request]
on:
push:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
check:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
runs-on: ubuntu-24.04
env:
CLANG_VERSION: 18
Expand All @@ -20,7 +24,7 @@ jobs:
sudo apt-get update
sudo apt-get install clang-format-${CLANG_VERSION}
- name: Format first-party sources
run: find include src -type f \( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' -o -name '*.ipp' \) -exec clang-format-${CLANG_VERSION} -i {} +
run: find include src tests -type f \( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' -o -name '*.ipp' \) -exec clang-format-${CLANG_VERSION} -i {} +
- name: Check for differences
id: assert
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ concurrency:
cancel-in-progress: true

jobs:
job:
documentation:
runs-on: ubuntu-latest
permissions:
contents: write
container: rippleci/rippled-build-ubuntu:aaf5e3e
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/levelization.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: levelization

on: [push, pull_request]
on:
push:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
check:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
runs-on: ubuntu-latest
env:
CLANG_VERSION: 10
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/libxrpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ on:
paths:
- 'src/libxrpl/protocol/BuildInfo.cpp'
- '.github/workflows/libxrpl.yml'
types: [opened, reopened, synchronize, ready_for_review]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
name: Publish libXRPL
outputs:
outcome: ${{ steps.upload.outputs.outcome }}
version: ${{ steps.version.outputs.version }}
channel: ${{ steps.channel.outputs.channel }}
runs-on: [self-hosted, heavy]
container: rippleci/rippled-build-ubuntu:aaf5e3e
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
steps:
- name: Wait for essential checks to succeed
uses: lewagon/wait-on-check-action@v1.3.4
Expand Down Expand Up @@ -85,4 +87,5 @@ jobs:
run: |
gh api --method POST -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
/repos/xrplf/clio/dispatches -f "event_type=check_libxrpl" \
-F "client_payload[version]=${{ needs.publish.outputs.version }}@${{ needs.publish.outputs.channel }}"
-F "client_payload[version]=${{ needs.publish.outputs.version }}@${{ needs.publish.outputs.channel }}" \
-F "client_payload[pr]=${{ github.event.pull_request.number }}"
6 changes: 5 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: macos
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
push:
# If the branches list is ever changed, be sure to change it on all
# build/test jobs (nix, macos, windows, instrumentation)
Expand All @@ -18,6 +19,7 @@ concurrency:
jobs:

test:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
strategy:
matrix:
platform:
Expand Down Expand Up @@ -69,11 +71,13 @@ jobs:
nproc --version
echo -n "nproc returns: "
nproc
system_profiler SPHardwareDataType
sysctl -n hw.logicalcpu
clang --version
- name: configure Conan
run : |
conan profile new default --detect || true
conan profile update settings.compiler.cppstd=20 default
conan profile update 'conf.tools.build:cxxflags+=["-DBOOST_ASIO_DISABLE_CONCEPTS"]' default
- name: build dependencies
uses: ./.github/actions/dependencies
env:
Expand Down
69 changes: 63 additions & 6 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: nix
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
push:
# If the branches list is ever changed, be sure to change it on all
# build/test jobs (nix, macos, windows)
Expand Down Expand Up @@ -39,6 +40,7 @@ concurrency:

jobs:
dependencies:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
strategy:
fail-fast: false
matrix:
Expand All @@ -62,7 +64,7 @@ jobs:
cc: /usr/bin/clang-14
cxx: /usr/bin/clang++-14
runs-on: [self-hosted, heavy]
container: rippleci/rippled-build-ubuntu:aaf5e3e
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
env:
build_dir: .build
steps:
Expand Down Expand Up @@ -124,7 +126,61 @@ jobs:
- "-Dunity=ON"
needs: dependencies
runs-on: [self-hosted, heavy]
container: rippleci/rippled-build-ubuntu:aaf5e3e
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
env:
build_dir: .build
steps:
- name: upgrade conan
run: |
pip install --upgrade "conan<2"
- name: download cache
uses: actions/download-artifact@v4
with:
name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }}
- name: extract cache
run: |
mkdir -p ~/.conan
tar -xzf conan.tar -C ~/.conan
- name: check environment
run: |
env | sort
echo ${PATH} | tr ':' '\n'
conan --version
cmake --version
- name: checkout
uses: actions/checkout@v4
- name: dependencies
uses: ./.github/actions/dependencies
env:
CONAN_URL: http://18.143.149.228:8081/artifactory/api/conan/conan-non-prod
with:
configuration: ${{ matrix.configuration }}
- name: build
uses: ./.github/actions/build
with:
generator: Ninja
configuration: ${{ matrix.configuration }}
cmake-args: "-Dassert=TRUE -Dwerr=TRUE ${{ matrix.cmake-args }}"
- name: test
run: |
${build_dir}/rippled --unittest --unittest-jobs $(nproc)

reference-fee-test:
strategy:
fail-fast: false
matrix:
platform:
- linux
compiler:
- gcc
configuration:
- Debug
cmake-args:
- "-DUNIT_TEST_REFERENCE_FEE=200"
- "-DUNIT_TEST_REFERENCE_FEE=1000"
needs: dependencies
runs-on: [self-hosted, heavy]
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
env:
build_dir: .build
steps:
Expand Down Expand Up @@ -175,7 +231,7 @@ jobs:
- Debug
needs: dependencies
runs-on: [self-hosted, heavy]
container: rippleci/rippled-build-ubuntu:aaf5e3e
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
env:
build_dir: .build
steps:
Expand All @@ -191,7 +247,7 @@ jobs:
mkdir -p ~/.conan
tar -xzf conan.tar -C ~/.conan
- name: install gcovr
run: pip install "gcovr>=7,<8"
run: pip install "gcovr>=7,<9"
- name: check environment
run: |
echo ${PATH} | tr ':' '\n'
Expand Down Expand Up @@ -249,7 +305,7 @@ jobs:
conan:
needs: dependencies
runs-on: [self-hosted, heavy]
container: rippleci/rippled-build-ubuntu:aaf5e3e
container: ghcr.io/xrplf/rippled-build-ubuntu:aaf5e3e
env:
build_dir: .build
configuration: Release
Expand Down Expand Up @@ -288,7 +344,7 @@ jobs:
echo "reference=${reference}" >> "${GITHUB_ENV}"
- name: build
run: |
cd examples/example
cd tests/conan
mkdir ${build_dir}
cd ${build_dir}
conan install .. --output-folder . \
Expand All @@ -304,6 +360,7 @@ jobs:
# later

instrumentation-build:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
env:
CLANG_RELEASE: 16
strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: windows

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
push:
# If the branches list is ever changed, be sure to change it on all
# build/test jobs (nix, macos, windows, instrumentation)
Expand All @@ -21,6 +22,7 @@ concurrency:
jobs:

test:
if: ${{ github.event_name == 'push' || github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'DraftRunCI') }}
strategy:
fail-fast: false
matrix:
Expand Down
10 changes: 9 additions & 1 deletion API-CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,17 @@ The [commandline](https://xrpl.org/docs/references/http-websocket-apis/api-conve

The `network_id` field was added in the `server_info` response in version 1.5.0 (2019), but it is not returned in [reporting mode](https://xrpl.org/rippled-server-modes.html#reporting-mode). However, use of reporting mode is now discouraged, in favor of using [Clio](https://github.com/XRPLF/clio) instead.

## XRP Ledger server version 2.5.0

As of 2025-04-04, version 2.5.0 is in development. You can use a pre-release version by building from source or [using the `nightly` package](https://xrpl.org/docs/infrastructure/installation/install-rippled-on-ubuntu).

### Additions and bugfixes in 2.5.0

- `channel_authorize`: If `signing_support` is not enabled in the config, the RPC is disabled.

## XRP Ledger server version 2.4.0

As of 2025-01-28, version 2.4.0 is in development. You can use a pre-release version by building from source or [using the `nightly` package](https://xrpl.org/docs/infrastructure/installation/install-rippled-on-ubuntu).
[Version 2.4.0](https://github.com/XRPLF/rippled/releases/tag/2.4.0) was released on March 4, 2025.

### Additions and bugfixes in 2.4.0

Expand Down
6 changes: 3 additions & 3 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ It does not override paths to dependencies when building with Visual Studio.

```
# Conan 1.x
conan export external/rocksdb rocksdb/6.29.5@
conan export external/rocksdb rocksdb/9.7.3@
# Conan 2.x
conan export --version 6.29.5 external/rocksdb
conan export --version 9.7.3 external/rocksdb
```

Export our [Conan recipe for SOCI](./external/soci).
Expand Down Expand Up @@ -288,7 +288,7 @@ It fixes some source files to add missing `#include`s.
Single-config generators:

```
cmake --build .
cmake --build . -j $(nproc)
```

Multi-config generators:
Expand Down
4 changes: 2 additions & 2 deletions Builds/levelization/results/loops.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Loop: xrpld.app xrpld.net
xrpld.app > xrpld.net

Loop: xrpld.app xrpld.overlay
xrpld.overlay == xrpld.app
xrpld.overlay > xrpld.app

Loop: xrpld.app xrpld.peerfinder
xrpld.app > xrpld.peerfinder
xrpld.peerfinder ~= xrpld.app

Loop: xrpld.app xrpld.rpc
xrpld.rpc > xrpld.app
Expand Down
Loading
Loading