Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooks merge #4927

Draft
wants to merge 438 commits into
base: hooks
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
438 commits
Select commit Hold shift + click to select a range
1c2ae10
fix: Update Handler::Condition enum values #3417 (#4239)
ckeshava Jun 29, 2023
54afdaa
ci: cancel overridden workflows (#4597)
thejohnfreeman Jun 29, 2023
1cb67fb
fix: deb package build (#4591)
legleux Jun 30, 2023
f18c6df
APIv2(account_info): handle invalid "signer_lists" value (#4585)
PeterChen13579 Jun 30, 2023
516ffb2
chore: update checkout action version to v3: (#4598)
ximinez Jul 1, 2023
9c50415
add clang-format pre-commit hook (#4599)
mvadari Jul 1, 2023
66bfe90
build: add binary hardening compile and link flags (#4603)
thejohnfreeman Jul 3, 2023
77dc63b
fix: add allowClawback flag for `account_info` (#4590)
shawnxie999 Jul 5, 2023
c6fee28
refactor: change the return type of mulDiv to std::optional (#4243)
ckeshava Jul 6, 2023
a45a95e
APIv2(ledger_entry): return "invalidParams" when fields missing (#4552)
arihantkothari Jul 6, 2023
f7dd37e
docs(CONTRIBUTING): push beta releases to `release` (#4589)
intelliot Jul 7, 2023
eeb8b41
Adapt to change in Conan recipe for NuDB (#4615)
thejohnfreeman Jul 11, 2023
3c9db4b
Introduce AMM support (XLS-30d): (#4294)
gregtatcam Jul 12, 2023
cb09e61
Update dependencies (#4595)
thejohnfreeman Jul 13, 2023
5ba1f98
Rename `allowClawback` flag to `allowTrustLineClawback` (#4617)
shawnxie999 Jul 14, 2023
c197c4c
BUILD: list steps after dependencies update (#4623)
intelliot Jul 18, 2023
01df19c
Set version to 1.12.0-b2
intelliot Jul 18, 2023
aded4a7
docs: add API Changelog (#4612)
intelliot Jul 19, 2023
5530a0b
feat: support Concise Transaction Identifier (CTID) (XLS-37) (#4418)
RichardAH Aug 18, 2023
58f7aec
fix(AMM): prevent orphaned objects, inconsistent ledger state: (#4626)
gregtatcam Jul 17, 2023
4f49510
refactor: use C++20 function std::popcount (#4389)
a-noni-mousse Jul 2, 2023
b28f62b
refactor: improve checking of path lengths (#4519)
a-noni-mousse May 7, 2023
91e9658
Fix the package recipe for consumers of libxrpl (#4631)
thejohnfreeman Jul 18, 2023
dcb7dd8
add view updates for account SLEs (#4629)
mvadari Jul 18, 2023
5d88b72
test: add forAllApiVersions helper function (#4611)
arihantkothari Jul 9, 2023
da203b2
Update Ubuntu build image (#4650)
legleux Aug 12, 2023
213491d
refactor: fix typo in FeeUnits.h (#4644)
eltociear Aug 9, 2023
21c4aaf
Asynchronously write batches to NuDB (#4503)
mtrippled Aug 19, 2023
b580049
Apply transaction batches in periodic intervals (#4504)
mtrippled Aug 19, 2023
e8a7b2a
Several changes to improve Consensus stability: (#4505)
mtrippled Aug 19, 2023
3574956
Set version to 1.12-b3
manojsdoshi Aug 18, 2023
300b7e0
Set version to 1.12.0-rc1
manojsdoshi Aug 21, 2023
7ca1c64
Revert "Several changes to improve Consensus stability: (#4505)"
intelliot Aug 29, 2023
d943c58
Revert "Apply transaction batches in periodic intervals (#4504)"
intelliot Aug 30, 2023
8ceb0f3
Revert "Asynchronously write batches to NuDB (#4503)"
intelliot Aug 30, 2023
f31c50d
Set version to 1.12.0-rc3
intelliot Aug 30, 2023
a61a88e
AMMBid: use tecINTERNAL for 'impossible' errors (#4674)
mDuo13 Sep 1, 2023
b014b79
amm_info: fetch by amm account id; add AMM object entry (#4682)
gregtatcam Sep 1, 2023
9d4d8c2
Set version to 1.12.0-rc4
intelliot Sep 1, 2023
89780c8
Set version to 1.12.0
manojsdoshi Sep 6, 2023
36cb5f9
Introduce replacement for getting and setting thread name: (#4312)
HowardHinnant Sep 7, 2023
6f74a74
docs(rippled-example.cfg): clarify ssl_cert vs ssl_chain (#4667)
ggprod Sep 7, 2023
c6f6375
APIv2(ledger_entry): return invalidParams for bad parameters (#4630)
PeterChen13579 Sep 8, 2023
31c8281
refactor: simplify `TxFormats` common fields logic (#4637)
mvadari Sep 8, 2023
a955057
docs: update SECURITY.md (#4338)
intelliot Sep 8, 2023
3b5fcd5
Remove CurrentThreadName.h from RippledCore.cmake (#4697)
HowardHinnant Sep 11, 2023
1d9db1b
Asynchronously write batches to NuDB. (#4503)
mtrippled Sep 11, 2023
002893f
Apply transaction batches in periodic intervals (#4504)
mtrippled Sep 11, 2023
f259cc1
Several changes to improve Consensus stability: (#4505)
mtrippled Sep 11, 2023
7fae1c1
APIv2(account_tx, noripple_check): return error on invalid input (#4620)
PeterChen13579 Sep 13, 2023
649c11a
`XChainBridge`: Introduce sidechain support (XLS-38): (#4292)
seelabs Sep 14, 2023
ce570c1
Revert ThreadName due to problems on Windows (#4702)
HowardHinnant Sep 14, 2023
5427321
Match unit tests on start of test name (#4634)
ximinez Sep 14, 2023
237b406
Fix Windows build by removing two unused declarations (#4708)
seelabs Sep 15, 2023
5b7d2c1
Change `XChainBridge` amendment to `Supported::yes` (#4709)
seelabs Sep 15, 2023
01fc4b0
Revert CMake changes (#4707)
legleux Sep 15, 2023
046d0c2
Set version to 2.0.0-b1
intelliot Sep 14, 2023
3397922
docs(BUILD): make it easier to find environment.md (#4507)
intelliot Sep 16, 2023
65df4bc
fix: remove unused variable causing clang 14 build errors (#4672)
ximinez Sep 18, 2023
e86181c
docs: fix comment for LedgerHistory::fixIndex return value (#4574)
ckeshava Sep 18, 2023
7bff9dc
Update secp256k1 to 0.3.2 (#4653)
thejohnfreeman Sep 18, 2023
9f102fc
docs(RELEASENOTES): update 1.12.0 notes to match dev blog (#4691)
intelliot Sep 19, 2023
8f65bc2
docs(API-CHANGELOG): api_version 2 is expected with 2.0 (#4633)
intelliot Sep 19, 2023
a948203
docs(overlay): add URL of blog post and clarify wording (#4635)
ckeshava Sep 19, 2023
77e0912
build: use Boost 1.82 and link Boost.Json (#4632)
thejohnfreeman Sep 21, 2023
2487dab
APIv2(gateway_balances, channel_authorize): update errors (#4618)
PeterChen13579 Sep 21, 2023
5433e13
Fix typo in BUILD.md (#4718)
ForwardSlashBack Sep 21, 2023
8f89694
Add ProtocolStart and GracefulClose P2P protocol messages (#3839)
gregtatcam Sep 22, 2023
e4db0fb
chore: add .build to .gitignore (#4722)
Bronek Sep 22, 2023
6b61505
fix: accept all valid currency codes in API (#4566)
thejohnfreeman Sep 22, 2023
2c56d9f
Set version to 2.0.0-b2
intelliot Sep 22, 2023
548c91e
Eliminate the built-in SNTP support (fixes #4207): (#4628)
nbougalis Sep 27, 2023
b92d511
fix(build): `uint` is not defined on Windows platform (#4731)
ximinez Sep 27, 2023
2bb8de0
fix: stabilize voting threshold for amendment majority mechanism (#4410)
scottschurr Sep 28, 2023
925aca7
fix(XLS-38): disallow the same bridge on one chain: (#4720)
seelabs Oct 2, 2023
e27d24b
docs(BUILD.md): require GCC 11 or higher (#4700)
ckeshava Oct 2, 2023
3dea78d
fix: asan stack-use-after-scope in soci::use with rvalues (#4676)
StefanVK Oct 4, 2023
0c43eb3
docs(API-CHANGELOG): clarify account_info response (#4724)
intelliot Oct 4, 2023
40ebbec
fix typo in SECURITY.md (#4662)
sokkaofthewatertribe Oct 4, 2023
4e84ad6
refactor: reunify transaction common fields: (#4715)
mDuo13 Oct 5, 2023
ec86260
refactor: reduce boilerplate in applySteps: (#4710)
seelabs Oct 5, 2023
6ba9450
`fixDisallowIncomingV1`: allow issuers to authorize trust lines (#4721)
dangell7 Oct 5, 2023
ced14ec
docs(rippled-example.cfg): add P2P link compression (#4753)
florent-uzio Oct 6, 2023
053b69c
docs(API-CHANGELOG): add `XRPFees` change (#4741)
ximinez Oct 6, 2023
3e08c39
ci: reenable Windows CI build with Artifactory support (#4596)
ximinez Oct 9, 2023
1151fba
fix(CI): update workflow for uploading binaries to artifactory (#4746)
ckeshava Oct 11, 2023
50cc1cf
fix(PathRequest): remove incorrect assert (#4743)
ximinez Oct 12, 2023
c915984
docs(conan.md): fix broken link to conanfile.py (#4740)
JST5000 Oct 12, 2023
1fde585
fix(CI): Call python to upgrade pip on Windows (#4768)
ximinez Oct 16, 2023
1fc1eb9
Set version to 2.0.0-b3
intelliot Oct 17, 2023
be6ac7e
docs(pull_request_template): add API Impact section (#4757)
intelliot Oct 18, 2023
b69156a
refactor(peerfinder): use LogicError in PeerFinder::Logic (#4562)
scottschurr Oct 18, 2023
41cd337
Update the reserved hook error code name to `tecHOOK_REJECTED` (#4559)
dangell7 Oct 18, 2023
b421945
`DID`: Decentralized identifiers (DIDs) (XLS-40): (#4636)
mvadari Oct 18, 2023
078bd60
feat(rpc): add `server_definitions` method (#4703)
mvadari Oct 18, 2023
8d86c5e
fix: allow pseudo-transactions to omit NetworkID (#4737)
dangell7 Oct 19, 2023
5af9dc5
fix(CI): set permission for doxygen workflow (#4756)
shichengsg002 Oct 19, 2023
5026cbd
perf(CI): use unity builds to speed up Windows CI (#4780)
ximinez Oct 23, 2023
3972683
APIv2(DeliverMax): add alias for Amount in Payment transactions (#4733)
Bronek Oct 23, 2023
2a66bb3
Set version to 2.0.0-b4
intelliot Oct 23, 2023
3e5f770
docs: clarify definition of network health (#4729)
mtrippled Oct 24, 2023
1eac4d2
APIv2: remove tx_history and ledger_header (#4759)
Bronek Oct 24, 2023
ac02e56
fix: remove include <ranges> (#4788)
Bronek Oct 30, 2023
3b624d8
`fixFillOrKill`: fix offer crossing with tfFillOrKill (#4694)
gregtatcam Oct 30, 2023
26b0322
fix: remove unused variable (#4677)
StefanVK Oct 31, 2023
85342b2
chore: delete unused Dockerfile (#4791)
intelliot Nov 1, 2023
056255e
Fix unit test api_version to enable api_version 2 (#4785)
pwang200 Nov 2, 2023
09e0f10
fix: check for valid public key in attestations (#4798)
seelabs Nov 2, 2023
32ced49
Unify JSON serialization format of transactions (#4775)
Bronek Nov 8, 2023
cf4e9e5
Set version to 2.0.0-rc1
manojsdoshi Nov 9, 2023
4cb0bcb
Support for the mold linker (#4807)
seelabs Nov 13, 2023
ac27089
Promote API version 2 to supported (#4803)
Bronek Nov 13, 2023
7b49f1e
Update Linux smoketest distros (#4813)
legleux Nov 15, 2023
d593972
Fix 2.0 regression in tx method with binary output (#4812)
Bronek Nov 16, 2023
8ce85a9
Optimize calculation of close time to avoid impasse and minimize grat…
mtrippled Nov 17, 2023
4977a5d
Proposed 2.0.0-rc2 (#4818)
manojsdoshi Nov 20, 2023
4dff203
Support for the mold linker (#4807)
seelabs Nov 13, 2023
96c926c
Promote API version 2 to supported (#4803)
Bronek Nov 13, 2023
f95fa33
Update Linux smoketest distros (#4813)
legleux Nov 15, 2023
d5059b1
Fix 2.0 regression in tx method with binary output (#4812)
Bronek Nov 16, 2023
c171090
Optimize calculation of close time to avoid impasse and minimize grat…
mtrippled Nov 17, 2023
44a9266
Set version to 2.0.0-rc2
manojsdoshi Nov 21, 2023
f05acbd
Merge pull request #4824 from manojsdoshi/develop
intelliot Nov 27, 2023
92957d6
Merge pull request #4823 from XRPLF/release
intelliot Nov 27, 2023
2e93dd5
Add Debian 12 Bookworm; ignore core-utils in almalinux (#4836)
legleux Nov 27, 2023
923e1ce
Update API-CHANGELOG.md for release 2.0 (#4828)
Bronek Nov 27, 2023
e33a6d5
docs(API-CHANGELOG): add extra bullet about DeliverMax (#4784)
intelliot Nov 27, 2023
8ec475b
Set version to 2.0.0-rc3
manojsdoshi Nov 27, 2023
c045060
APIv2: consistently return ledger_index as integer (#4820)
Bronek Nov 29, 2023
fe8621b
APIv2: show DeliverMax in submit, submit_multisigned (#4827)
Bronek Nov 29, 2023
4316464
Set version to 2.0.0-rc4
intelliot Nov 29, 2023
5aef102
Revert #4505, #4760 (#4842)
sophiax851 Dec 1, 2023
06251aa
Workarounds for gcc-13 compatibility (#4817)
Bronek Dec 1, 2023
46f3d3e
Set version to 2.0.0-rc5
intelliot Dec 1, 2023
656948c
fix typo: 'of' instead of 'on' (#4821)
hoos Dec 6, 2023
3b191a3
docs(API-CHANGELOG): clarify changes for V2 (#4773)
intelliot Dec 6, 2023
ffb53f2
Revert "Add ProtocolStart and GracefulClose P2P protocol messages (#3…
Bronek Dec 19, 2023
c53a5e7
Revert "Apply transaction batches in periodic intervals (#4504)" (#4852)
scottschurr Dec 20, 2023
ca31981
Set version to 2.0.0-rc6
intelliot Dec 20, 2023
350d213
Set version to 2.0.0-rc7
legleux Jan 5, 2024
2b0313d
Set version to 2.0.0
intelliot Jan 8, 2024
4308407
WebSocket should only call async_close once (#4848)
ximinez Jan 12, 2024
d9f90c8
Improve lifetime management of ledger objects (`SLE`s) to prevent run…
ximinez Jan 12, 2024
5a7af5b
fix: clang warning about deprecated sprintf usage (#4747)
ckeshava Jan 16, 2024
fe4d6c6
fix: change default send_queue_limit to 500 (#4867)
thejohnfreeman Jan 16, 2024
6ac2b70
test: add DeliverMax to more JSONRPC tests (#4826)
Bronek Jan 17, 2024
861bd1a
docs: add Performance type to PR template (#4875)
intelliot Jan 18, 2024
87ee786
Set version to 2.0.1-b1
intelliot Jan 18, 2024
a41f385
Revert "Asynchronously write batches to NuDB. (#4503)" (#4882)
mtrippled Jan 19, 2024
efe6722
docs: update help message about unit test-suite pattern matching (#4846)
ckeshava Jan 20, 2024
fad9d63
test: improve code coverage reporting (#4849)
Bronek Jan 22, 2024
1676e9f
Set version to 2.0.1-rc1
intelliot Jan 22, 2024
d9a5bca
docs: fix broken links in docs/build/conan.md (#4699)
thejohnfreeman Jan 24, 2024
901152b
chore: retry codecov upload (#4896)
Bronek Jan 25, 2024
22cdb57
Set version to 2.0.1
intelliot Jan 29, 2024
90d463b
test: add unit test for redundant payment (#4860)
Bronek Jan 31, 2024
f9e3658
test: check for success/failure of Windows CI unit tests (#4871)
ximinez Feb 1, 2024
6f00d32
fix(libxrpl): change library names in Conan recipe (#4831)
thejohnfreeman Feb 2, 2024
828bb64
`fixNFTokenReserve`: ensure NFT tx fails when reserve is not met (#4767)
shawnxie999 Feb 2, 2024
1e96a1d
build: add headers needed in Conan package for libxrpl (#4885)
legleux Feb 5, 2024
6d3c21e
feat: allow `port_grpc` to be specified in `[server]` stanza (#4728)
ckeshava Feb 7, 2024
be12136
`fixInnerObjTemplate`: set inner object template (#4906)
gregtatcam Feb 7, 2024
da68651
Set version to 2.1.0-rc1
intelliot Feb 7, 2024
e74cb35
test: guarantee proper lifetime for temporary Rules object: (#4917)
ximinez Feb 16, 2024
d7d15a9
Set version to 2.1.0
seelabs Feb 16, 2024
9cb90f1
Merge remote-tracking branch 'upstream/develop' into upstream--hooks
ximinez Feb 23, 2024
27ffc7c
fixup! Merge remote-tracking branch 'upstream/develop' into upstream-…
ximinez Feb 23, 2024
e9c12c1
fixup! fixup! Merge remote-tracking branch 'upstream/develop' into up…
ximinez Feb 23, 2024
1a37ae8
fixup! fixup! fixup! Merge remote-tracking branch 'upstream/develop' …
ximinez Feb 23, 2024
71bf807
Add missing include
thejohnfreeman Feb 23, 2024
e718378
Price Oracle (XLS-47d): (#4789) (#4789)
gregtatcam Feb 26, 2024
a03e069
Add custom wasmedge conan setup; fix VS translation
ximinez Feb 27, 2024
300ab6c
Fix a couple of warnings treated as errors by VS compiler
ximinez Feb 27, 2024
f8200e1
Fix unity build:
ximinez Feb 27, 2024
34ef64a
Fix a few more compiler warnings (treated as errors)
ximinez Feb 27, 2024
8a2f6be
fix compile error on gcc 13: (#4932)
gregtatcam Feb 28, 2024
97863e0
Set version to 2.2.0-b1
seelabs Feb 29, 2024
62dae3c
Remove default ctors from SecretKey and PublicKey: (#4607)
ckeshava Mar 5, 2024
cce09b7
Fast base58 codec: (#4327)
seelabs Mar 5, 2024
22b7518
feat: add user version of `feature` RPC (#4781)
mvadari Mar 5, 2024
c28e005
build: add STCurrency.h to xrpl_core to fix clio build (#4939)
gregtatcam Mar 6, 2024
f71824b
[WIP] Start adding a cmake option to skip over all the wasmedge code
ximinez Mar 6, 2024
6727ffe
Refactor some hook functions, and fix build errors
ximinez Mar 6, 2024
b11ba09
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Mar 7, 2024
4ce426d
Embed patched recipe for RocksDB 6.29.5 (#4947)
thejohnfreeman Mar 12, 2024
ad8e976
fix: order book update variable swap: (#4890)
seelabs Mar 12, 2024
5cc3777
Fix workflows (#4948)
thejohnfreeman Mar 13, 2024
2ffead7
Upgrade to xxhash 0.8.2 as a Conan requirement, enable SIMD hashing (…
Bronek Mar 13, 2024
2ecb851
Update remaining actions (#4949)
thejohnfreeman Mar 13, 2024
b74cd4c
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Mar 13, 2024
af9cabe
Install more public headers (#4940)
legleux Mar 14, 2024
1aeadd9
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Mar 14, 2024
2152e62
chore: change Github Action triggers for build/test jobs
ximinez Mar 18, 2024
0c32fc5
test: Env unit test RPC errors return a unique result: (#4877)
ximinez Mar 19, 2024
644231b
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Mar 19, 2024
69143d7
Fix workflows (#4951)
thejohnfreeman Mar 20, 2024
2e9261c
perf: improve `account_tx` SQL query: (#4955)
oleks-rip Mar 21, 2024
ea9b1e3
`fixEmptyDID`: fix amendment to handle empty DID edge case: (#4950)
mvadari Mar 22, 2024
64e4687
Enforce no duplicate slots from incoming connections: (#4944)
Bronek Mar 22, 2024
47c8cc2
Remove zaphod.alloy.ee hub from default server list: (#4903)
alloynetworks Mar 22, 2024
6edf03c
Write improved `forAllApiVersions` used in NetworkOPs (#4833)
Bronek Mar 22, 2024
cea4309
Don't reach consensus as quickly if no other proposals seen: (#4763)
mtrippled Mar 22, 2024
61672ad
fixXChainRewardRounding: round reward shares down: (#4933)
seelabs Mar 22, 2024
a1382d3
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Mar 26, 2024
a7c4a47
fix: improper handling of large synthetic AMM offers:
gregtatcam Mar 24, 2024
2d1854f
Set version to 2.1.1
seelabs Mar 26, 2024
4bcbf70
chore: change Github Action triggers for build/test jobs (#4956)
ximinez Mar 28, 2024
06a708b
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Mar 28, 2024
bcbf6c1
Merge pull request #4968 from XRPLF/master
ximinez Mar 28, 2024
3533024
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 3, 2024
c187f75
chore: Default validator-keys-tool to master branch: (#4943)
ximinez Apr 4, 2024
355ab0c
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 4, 2024
d992e63
Remove unused lambdas from MultiApiJson_test
Bronek Apr 4, 2024
099c0bc
fix Conan component reference typo
legleux Apr 4, 2024
c88166e
Set version to 2.2.0-b2
ximinez Apr 4, 2024
ece679d
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 5, 2024
659bd99
fix amendment to add `PreviousTxnID`/`PreviousTxnLgrSequence` (#4751)
mvadari Apr 18, 2024
8b0d049
test: Unit test for AMM offer overflow (#4986)
Bronek Apr 18, 2024
aae4383
chore: Improve codecov coverage reporting (#4977)
Bronek Apr 18, 2024
24a275b
test: Add tests to raise coverage of AMM (#4971)
thejohnfreeman Apr 18, 2024
df3aa84
test: verify the rounding behavior of equal-asset AMM deposits (#4982)
ckeshava Apr 18, 2024
cd737ad
fix: resolve database deadlock: (#4989)
seelabs Apr 18, 2024
f20e66e
fix: Remove redundant STAmount conversion in test (#4996)
ximinez Apr 19, 2024
676aae2
Set version to 2.2.0-b3
ximinez Apr 18, 2024
b5f6d57
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 19, 2024
8037992
Remove unused files
thejohnfreeman Mar 22, 2024
dd312c3
Remove packaging scripts
thejohnfreeman Mar 23, 2024
e238488
Consolidate external libraries
Mar 22, 2024
3fcfb5c
Simplify protobuf generation
thejohnfreeman Mar 22, 2024
241b9dd
Rename .hpp to .h
Mar 23, 2024
760f16f
Format formerly .hpp files
Mar 23, 2024
0eebe6a
Rewrite includes
Mar 23, 2024
35fe957
Fix source lists
thejohnfreeman Mar 25, 2024
985c80f
Add markers around source lists
thejohnfreeman Mar 25, 2024
513842b
Address compiler warnings
thejohnfreeman Mar 30, 2024
052ab5e
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 19, 2024
b84f7e7
Ignore more commits
thejohnfreeman Apr 19, 2024
5c062d2
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 24, 2024
e9859ac
test: Add RPC error checking support to unit tests (#4987)
ximinez Apr 24, 2024
b422e71
chore: fix typos (#4958)
xiaoxianBoy Apr 25, 2024
b65cea1
Add global access to the current ledger rules:
seelabs Apr 18, 2024
3f7ce93
fix amendment: AMM swap should honor invariants: (#5002)
seelabs Apr 22, 2024
02ec8b7
Set version to 2.2.0-rc1
ximinez Apr 26, 2024
eca1eb7
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez Apr 26, 2024
dccf3f4
Update list of maintainers: (#4984)
nbougalis Apr 29, 2024
5aa1106
Remove flow assert: (#5009)
seelabs May 1, 2024
650e4ba
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez May 1, 2024
7612805
Add missing includes (#5011)
thejohnfreeman May 2, 2024
f650949
Add external directory to Conan recipe's exports (#5006)
legleux May 2, 2024
9cc1f56
Merge remote-tracking branch 'upstream/develop' into hooks-merge
ximinez May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 36 additions & 4 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@

codecov:
ci:
- !appveyor
- travis
require_ci_to_pass: true

comment:
behavior: default
layout: reach,diff,flags,tree,reach
show_carryforward_flags: false

coverage:
range: "60..80"
precision: 1
round: nearest
status:
project:
default:
target: 60%
threshold: 2%
patch:
default:
target: auto
threshold: 2%
changes: false

github_checks:
annotations: true

parsers:
cobertura:
partials_as_hits: true
handle_missing_conditions : true

slack_app: false

ignore:
- "src/test/"
- "src/ripple/beast/test/"
- "src/ripple/beast/unit_test/"
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
# To use it by default in git blame:
# git config blame.ignoreRevsFile .git-blame-ignore-revs
50760c693510894ca368e90369b0cc2dabfd07f3
e2384885f5f630c8f0ffe4bf21a169b433a16858
241b9ddde9e11beb7480600fd5ed90e1ef109b21
760f16f56835663d9286bd29294d074de26a7ba6
0eebe6a5f4246fced516d52b83ec4e7f47373edd
32 changes: 32 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build
inputs:
generator:
default: null
configuration:
required: true
cmake-args:
default: null
cmake-target:
default: all
# An implicit input is the environment variable `build_dir`.
runs:
using: composite
steps:
- name: configure
shell: bash
run: |
cd ${build_dir}
cmake \
${{ inputs.generator && format('-G "{0}"', inputs.generator) || '' }} \
-DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake \
-DCMAKE_BUILD_TYPE=${{ inputs.configuration }} \
${{ inputs.cmake-args }} \
..
- name: build
shell: bash
run: |
cmake \
--build ${build_dir} \
--config ${{ inputs.configuration }} \
--parallel ${NUM_PROCESSORS:-$(nproc)} \
--target ${{ inputs.cmake-target }}
58 changes: 58 additions & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: dependencies
inputs:
configuration:
required: true
# An implicit input is the environment variable `build_dir`.
runs:
using: composite
steps:
- name: unlock Conan
shell: bash
run: conan remove --locks
- name: export custom recipes
shell: bash
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/soci soci/4.0.3@
- name: add Ripple Conan remote
shell: bash
run: |
conan remote list
conan remote remove ripple || true
# Do not quote the URL. An empty string will be accepted (with
# a non-fatal warning), but a missing argument will not.
conan remote add ripple ${{ env.CONAN_URL }} --insert 0
- name: try to authenticate to Ripple Conan remote
id: remote
shell: bash
run: |
# `conan user` implicitly uses the environment variables
# CONAN_LOGIN_USERNAME_<REMOTE> and CONAN_PASSWORD_<REMOTE>.
# https://docs.conan.io/1/reference/commands/misc/user.html#using-environment-variables
# https://docs.conan.io/1/reference/env_vars.html#conan-login-username-conan-login-username-remote-name
# https://docs.conan.io/1/reference/env_vars.html#conan-password-conan-password-remote-name
echo outcome=$(conan user --remote ripple --password >&2 \
&& echo success || echo failure) | tee ${GITHUB_OUTPUT}
- name: list missing binaries
id: binaries
shell: bash
# Print the list of dependencies that would need to be built locally.
# A non-empty list means we have "failed" to cache binaries remotely.
run: |
echo missing=$(conan info . --build missing --settings build_type=${{ inputs.configuration }} --json 2>/dev/null | grep '^\[') | tee ${GITHUB_OUTPUT}
- name: install dependencies
shell: bash
run: |
mkdir ${build_dir}
cd ${build_dir}
conan install \
--output-folder . \
--build missing \
--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
34 changes: 32 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<!--
This PR template helps you to write a good pull request description.
Please feel free to include additional useful information even beyond what is requested below.

If your branch is on a personal fork and has a name that allows it to
run CI build/test jobs (e.g. "ci/foo"), remember to rename it BEFORE
opening the PR. This avoids unnecessary redundant test runs. Renaming
the branch after opening the PR will close the PR.
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch
-->

## High Level Overview of Change
Expand Down Expand Up @@ -33,14 +39,38 @@ Please check [x] relevant options, delete irrelevant ones.
- [ ] 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)
- [ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
- [ ] Documentation Updates
- [ ] 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

<!--
Please check [x] relevant options, delete irrelevant ones.

* If there is any impact to the public API methods (HTTP / WebSocket), please update https://github.com/xrplf/rippled/blob/develop/API-CHANGELOG.md
* Update API-CHANGELOG.md and add the change directly in this PR by pushing to your PR branch.
* libxrpl: See https://github.com/XRPLF/rippled/blob/develop/docs/build/depend.md
* Peer Protocol: See https://xrpl.org/peer-protocol.html
-->

- [ ] 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)

<!--
## Before / After
If relevant, use this section for an English description of the change at a technical level.
If this change affects an API, examples should be included here.

For performance-impacting changes, please provide these details:
1. Is this a new feature, bug fix, or improvement to existing functionality?
2. What behavior/functionality does the change impact?
3. In what processing can the impact be measured? Be as specific as possible - e.g. RPC client call, payment transaction that involves LOB, AMM, caching, DB operations, etc.
4. Does this change affect concurrent processing - e.g. does it involve acquiring locks, multi-threaded processing, or async processing?
-->

<!--
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ on: [push, pull_request]

jobs:
check:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
CLANG_VERSION: 10
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install clang-format
run: |
codename=$( lsb_release --codename --short )
sudo tee /etc/apt/sources.list.d/llvm.list >/dev/null <<EOF
deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${CLANG_VERSION} main
deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${CLANG_VERSION} main
deb http://apt.llvm.org/${codename}/ llvm-toolchain-${codename}-${CLANG_VERSION} main
deb-src http://apt.llvm.org/${codename}/ llvm-toolchain-${codename}-${CLANG_VERSION} main
EOF
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add
sudo apt-get update
Expand All @@ -29,7 +30,7 @@ jobs:
git diff --exit-code | tee "clang-format.patch"
- name: Upload patch
if: failure() && steps.assert.outcome == 'failure'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: clang-format.patch
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
name: Build and publish Doxygen documentation
# To test this workflow, push your changes to your fork's `develop` branch.
on:
push:
branches:
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
job:
runs-on: ubuntu-18.04
container:
image: docker://rippleci/rippled-ci-builder:2944b78d22db
runs-on: ubuntu-latest
permissions:
contents: write
container: rippleci/rippled-build-ubuntu:aaf5e3e
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: check environment
run: |
echo ${PATH} | tr ':' '\n'
cmake --version
doxygen --version
env | sort
- name: build
run: |
mkdir build
cd build
cmake -DBoost_NO_BOOST_CMAKE=ON ..
cmake -Donly_docs=TRUE ..
cmake --build . --target docs --parallel $(nproc)
- name: publish
uses: peaceiris/actions-gh-pages@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/levelization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push, pull_request]

jobs:
check:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
CLANG_VERSION: 10
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check levelization
run: Builds/levelization/levelization.sh
- name: Check for differences
Expand All @@ -18,7 +18,7 @@ jobs:
git diff --exit-code | tee "levelization.patch"
- name: Upload patch
if: failure() && steps.assert.outcome == 'failure'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: levelization.patch
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: macos
on:
pull_request:
push:
# If the branches list is ever changed, be sure to change it on all
# build/test jobs (nix, macos, windows)
branches:
# Always build the package branches
- develop
- release
- master
# Branches that opt-in to running
- 'ci/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

test:
strategy:
matrix:
platform:
- macos
generator:
- Ninja
configuration:
- Release
runs-on: [self-hosted, macOS]
env:
# The `build` action requires these variables.
build_dir: .build
NUM_PROCESSORS: 12
steps:
- name: checkout
uses: actions/checkout@v4
- name: install Conan
run: |
brew install conan@1
echo '/opt/homebrew/opt/conan@1/bin' >> $GITHUB_PATH
- name: install Ninja
if: matrix.generator == 'Ninja'
run: brew install ninja
- name: check environment
run: |
env | sort
echo ${PATH} | tr ':' '\n'
python --version
conan --version
cmake --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:
CONAN_URL: http://18.143.149.228:8081/artifactory/api/conan/conan-non-prod
CONAN_LOGIN_USERNAME_RIPPLE: ${{ secrets.CONAN_USERNAME }}
CONAN_PASSWORD_RIPPLE: ${{ secrets.CONAN_TOKEN }}
with:
configuration: ${{ matrix.configuration }}
- name: build
uses: ./.github/actions/build
with:
generator: ${{ matrix.generator }}
configuration: ${{ matrix.configuration }}
- name: test
run: |
${build_dir}/rippled --unittest