Skip to content

Commit 1240135

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into ximinez/lending-XLS-66
* upstream/develop: Add deep freeze feature (XLS-77d) (5187) Set version to 2.4.0-b3 Set version to 2.3.1 Update conan in the "nix" CI jobs Add RPC "simulate" to execute a dry run of a transaction (5069) Fix CI unit tests (5196) Set version to 2.3.1-rc1 Reduce the peer charges for well-behaved peers: Update secp256k1 library to 0.6.0 (5254)
2 parents 082854a + 33e1c42 commit 1240135

File tree

227 files changed

+17646
-14061
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+17646
-14061
lines changed

.github/workflows/macos.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,19 @@ jobs:
5656
else
5757
brew install cmake
5858
fi
59+
- name: install nproc
60+
run: |
61+
brew install coreutils
5962
- name: check environment
6063
run: |
6164
env | sort
6265
echo ${PATH} | tr ':' '\n'
6366
python --version
6467
conan --version
6568
cmake --version
69+
nproc --version
70+
echo -n "nproc returns: "
71+
nproc
6672
- name: configure Conan
6773
run : |
6874
conan profile new default --detect || true
@@ -81,6 +87,9 @@ jobs:
8187
with:
8288
generator: ${{ matrix.generator }}
8389
configuration: ${{ matrix.configuration }}
90+
cmake-args: ${{ matrix.cmake-args }}
8491
- name: test
8592
run: |
86-
${build_dir}/rippled --unittest
93+
n=$(nproc)
94+
echo "Using $n test jobs"
95+
${build_dir}/rippled --unittest --unittest-jobs $n

.github/workflows/nix.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
env:
6464
build_dir: .build
6565
steps:
66+
- name: upgrade conan
67+
run: |
68+
pip install --upgrade "conan<2"
6669
- name: checkout
6770
uses: actions/checkout@v4
6871
- name: check environment
@@ -122,6 +125,9 @@ jobs:
122125
env:
123126
build_dir: .build
124127
steps:
128+
- name: upgrade conan
129+
run: |
130+
pip install --upgrade "conan<2"
125131
- name: download cache
126132
uses: actions/download-artifact@v4
127133
with:
@@ -170,6 +176,9 @@ jobs:
170176
env:
171177
build_dir: .build
172178
steps:
179+
- name: upgrade conan
180+
run: |
181+
pip install --upgrade "conan<2"
173182
- name: download cache
174183
uses: actions/download-artifact@v4
175184
with:
@@ -240,6 +249,9 @@ jobs:
240249
build_dir: .build
241250
configuration: Release
242251
steps:
252+
- name: upgrade conan
253+
run: |
254+
pip install --upgrade "conan<2"
243255
- name: download cache
244256
uses: actions/download-artifact@v4
245257
with:

API-CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,14 @@ The `network_id` field was added in the `server_info` response in version 1.5.0
8585

8686
## XRP Ledger server version 2.4.0
8787

88-
As of 2025-01-23, 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).
88+
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).
8989

9090
### Additions and bugfixes in 2.4.0
9191

9292
- `ledger_entry`: `state` is added an alias for `ripple_state`.
9393
- `validators`: Added new field `validator_list_threshold` in response.
94+
- `simulate`: A new RPC that executes a [dry run of a transaction submission](https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0069d-simulate#2-rpc-simulate)
95+
- Signing methods autofill fees better and properly handle transactions that don't have a base fee.
9496

9597
## XRP Ledger server version 2.3.0
9698

Builds/levelization/results/ordering.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ test.nodestore > xrpld.core
8181
test.nodestore > xrpld.nodestore
8282
test.nodestore > xrpld.unity
8383
test.overlay > test.jtx
84+
test.overlay > test.toplevel
8485
test.overlay > test.unit_test
8586
test.overlay > xrpl.basics
8687
test.overlay > xrpld.app

RELEASENOTES.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,62 @@ This document contains the release notes for `rippled`, the reference server imp
66

77
Have new ideas? Need help with setting up your node? [Please open an issue here](https://github.com/xrplf/rippled/issues/new/choose).
88

9+
# Version 2.3.1
10+
11+
Version 2.3.1 of `rippled`, the reference server implementation of the XRP Ledger protocol, is now available.
12+
This is a hotfix release that includes the following updates:
13+
- Fix an erroneous high fee penalty that peers could incur for sending older transactions.
14+
- Update to the fees charged for imposing a load on the server.
15+
- Prevent the relaying of internal pseudo-transactions.
16+
- Before: Pseudo-transactions received from a peer will fail the signature check, even if they were requested (using TMGetObjectByHash) because they have no signature. This causes the peer to be charged for an invalid signature.
17+
- After: Pseudo-transactions, are put into the global cache (TransactionMaster) only. If the transaction is not part of a TMTransactions batch, the peer is charged an unwanted data fee. These fees will not be a problem in the normal course of operations but should dissuade peers from behaving badly by sending a bunch of junk.
18+
- Improved logging now specifies the reason for the fee charged to the peer.
19+
20+
[Sign Up for Future Release Announcements](https://groups.google.com/g/ripple-server)
21+
22+
<!-- BREAK -->
23+
24+
## Action Required
25+
26+
If you run an XRP Ledger validator, upgrade to version 2.3.1 as soon as possible to ensure stable and uninterrupted network behavior.
27+
28+
## Changelog
29+
30+
### Amendments and New Features
31+
32+
- None
33+
34+
### Bug Fixes and Performance Improvements
35+
36+
- Change the charged fee for sending older transactions from feeInvalidSignature to feeUnwantedData. [#5243](https://github.com/XRPLF/rippled/pull/5243)
37+
38+
### Docs and Build System
39+
40+
- None
41+
42+
### GitHub
43+
44+
The public source code repository for `rippled` is hosted on GitHub at <https://github.com/XRPLF/rippled>.
45+
46+
We welcome all contributions and invite everyone to join the community of XRP Ledger developers to help build the Internet of Value.
47+
48+
49+
## Credits
50+
51+
The following people contributed directly to this release:
52+
53+
Ed Hennis <[email protected]>
54+
55+
Sophia Xie <[email protected]>
56+
Valentin Balaschenko <[email protected]>
57+
58+
59+
Bug Bounties and Responsible Disclosures:
60+
61+
We welcome reviews of the `rippled` code and urge researchers to responsibly disclose any issues they may find.
62+
63+
To report a bug, please send a detailed report to: <[email protected]>
64+
965
# Version 2.3.0
1066

1167
Version 2.3.0 of `rippled`, the reference server implementation of the XRP Ledger protocol, is now available. This release includes 8 new amendments, including Multi-Purpose Tokens, Credentials, Clawback support for AMMs, and the ability to make offers as part of minting NFTs. Additionally, this release includes important fixes for stability, so server operators are encouraged to upgrade as soon as possible.

0 commit comments

Comments
 (0)