Sergey Kuznetsov
c57fe1e6e4
test: Add assert mock to avoid death tests ( #1947 )
...
Fixes #1750
2025-03-07 18:11:52 +00:00
Peter Chen
8a08c5e6ce
feat: Add support for deep freeze ( #1875 )
...
fixes #1826
2025-03-05 11:04:44 -05:00
Peter Chen
5d2694d36c
chore: update libxrpl ( #1943 )
2025-03-05 10:14:39 -05:00
Peter Chen
98ff72be66
fix: change math/rand to crypto/rand ( #1941 )
2025-03-05 10:12:50 -05:00
Sergey Kuznetsov
915a8beb40
style: Use error code instead of exception when parsing json ( #1942 )
2025-03-04 18:34:45 +00:00
Sergey Kuznetsov
f7db030ad7
fix: Fix dangling reference in new web server ( #1938 )
...
Also delete move constructors where moving may be dangerous.
2025-03-04 16:45:47 +00:00
Peter Chen
86e2cd1cc4
feat: Add workflow to check config description ( #1894 )
...
fixes #1880
---------
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
Co-authored-by: Alex Kremer <akremer@ripple.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com >
Co-authored-by: Shawn Xie <35279399+shawnxie999@users.noreply.github.com >
2025-03-04 10:47:36 -05:00
Sergey Kuznetsov
f0613c945f
ci: Use ubuntu latest for some ci jobs ( #1939 )
...
Ubuntu 20.04 images will be deprecated soon:
https://github.com/actions/runner-images/issues/11101
Switch to the latest Ubuntu everywhere we use Github's image.
2025-03-04 14:52:37 +00:00
Sergey Kuznetsov
d11e7bc60e
fix: Data race in new webserver ( #1926 )
...
There was a data race inside `CoroutineGroup` because internal timer was
used from multiple threads in the methods `asyncWait()` and
`onCoroutineComplete()`. Changing `registerForeign()` to spawn to the
same `yield_context` fixes the problem because now the timer is accessed
only from the same coroutine which has an internal strand.
During debugging I also added websocket support for `request_gun` tool.
2025-02-27 15:08:46 +00:00
Sergey Kuznetsov
b909b8879d
fix: Fix backtrace usage ( #1932 )
2025-02-27 14:26:51 +00:00
github-actions[bot]
918a92eeee
style: clang-tidy auto fixes ( #1925 )
...
Fixes #1924 . Please review and commit clang-tidy fixes.
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com >
2025-02-25 09:29:24 +00:00
Shawn Xie
c9e8330e0a
feat: LPT freeze ( #1840 )
...
Fixes #1827
2025-02-24 15:39:11 +00:00
github-actions[bot]
f577139f70
style: clang-tidy auto fixes ( #1920 )
...
Fixes #1919 . Please review and commit clang-tidy fixes.
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com >
2025-02-24 09:35:25 +00:00
Alex Kremer
491cd58f93
feat: ETLng monitor ( #1898 )
...
For #1594
2025-02-21 16:10:25 +00:00
Sergey Kuznetsov
25296f8ffa
fix: Better errors on logger init failure ( #1857 )
...
Fixes #1326 .
2025-02-18 15:43:13 +00:00
Sergey Kuznetsov
4b178805de
fix: Array parsing in new config ( #1896 )
...
Improving array parsing in config:
- Allow null values in arrays for optional fields
- Allow empty array even for required field
- Allow to not put an empty array in config even if array contains
required fields
2025-02-18 13:29:43 +00:00
Peter Chen
fcebd715ba
test: add non-admin test for simulate ( #1893 )
2025-02-14 13:00:40 -05:00
Sergey Kuznetsov
531e1dad6d
ci: Upload cache only for develop branch ( #1897 )
2025-02-14 16:54:08 +00:00
cyan317
3c008b6bb4
feat: Snapshot exporting tool ( #1877 )
...
In this PR:
1 We create a golang grpc client to request data from rippled
2 We store the data into the specific place
3 Add unittests
4 Create build script, the build can be initiated by set conan option
`snapshot` being true.
Please ignore the grpc server part. It will be implemented in importing
tool.
2025-02-12 16:56:04 +00:00
Peter Chen
624f7ff6d5
feat: Support Simulate ( #1891 )
...
fixes #1887
2025-02-12 10:00:04 -05:00
Sergey Kuznetsov
e503dffc9a
fix: Array parsing in new config ( #1884 )
...
Fixes #1870 .
2025-02-12 13:28:06 +00:00
Alex Kremer
cd1aa8fb70
chore: Revert workflow names ( #1890 )
2025-02-11 18:08:47 +00:00
github-actions[bot]
b5fe22da18
style: clang-tidy auto fixes ( #1889 )
...
Fixes #1888 . Please review and commit clang-tidy fixes.
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com >
2025-02-11 13:01:31 +00:00
Peter Chen
cd6289b79a
feat: Generate config descriptions ( #1842 )
...
Fixes #1460
2025-02-10 11:29:00 -05:00
Alex Kremer
f5e6c9576e
feat: Run tests with sanitizers in CI ( #1879 )
...
Fixes #1075
Fixes #1049
2025-02-10 16:20:25 +00:00
Sergey Kuznetsov
427ba47716
chore: Fix error in grafana dashboard example ( #1878 )
2025-02-07 13:42:30 +00:00
cyan317
67c989081d
fix clang-tidy issues ( #1871 )
2025-02-03 12:00:59 +00:00
github-actions[bot]
2fd16cd582
style: clang-tidy auto fixes ( #1868 )
...
Fixes #1867 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2025-02-03 08:43:26 +00:00
Sergey Kuznetsov
89af8fe500
feat: Permissioned domains ( #1841 )
...
Fixes #1833 .
2025-01-31 15:30:34 +00:00
cyan317
1753c95910
feat: Support Dynamic NFT ( #1525 )
...
Fix #1471
Clio's changes for supporting DNFT
https://github.com/XRPLF/rippled/pull/5048/files
2025-01-31 13:33:20 +00:00
Maria Shodunke
e7702e9c11
docs: Move metrics and static analysis docs ( #1864 )
...
Fixes #1219 .
2025-01-31 11:37:27 +00:00
github-actions[bot]
e549657766
style: clang-tidy auto fixes ( #1863 )
...
Fixes #1862 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2025-01-30 09:16:34 +00:00
Peter Chen
7c2742036b
refactor: Remove boost filesystem ( #1859 )
2025-01-29 11:16:54 -05:00
Alex Kremer
73f375f20d
feat: ETLng task manager ( #1843 )
2025-01-29 15:29:13 +00:00
Alex Kremer
3e200d8b9d
feat: Add Conan profiles for common Sanitizers to docker ci image ( #1856 )
...
For #1049
2025-01-29 14:45:00 +00:00
Alex Kremer
81fe617816
fix: Re-add account_tx max limit ( #1855 )
2025-01-29 13:42:31 +00:00
Sergey Kuznetsov
75354fbecd
fix: CacheLoader causes crash when no cache is used ( #1853 )
...
If cache is disabled or Clio starts with and empty DB, `loader_` inside
cache is not created. So calling `CacheLoader::stop()` or
`CacheLoader::wait()` was causing crash.
2025-01-28 18:10:19 +00:00
Sergey Kuznetsov
540e938223
refactor: Use mutex from utils ( #1851 )
...
Fixes #1359 .
2025-01-27 15:28:00 +00:00
Sergey Kuznetsov
6ef6ca9e65
chore: Fix issue found by clang-tidy ( #1849 )
...
Fixes #1848
2025-01-23 12:29:43 +00:00
github-actions[bot]
35b9a066e3
style: clang-tidy auto fixes ( #1847 )
...
Fixes #1846 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2025-01-23 09:34:00 +00:00
Sergey Kuznetsov
957028699b
feat: Graceful shutdown ( #1801 )
...
Fixes #442 .
2025-01-22 13:09:16 +00:00
cyan317
12e6fcc97e
fix: gateway_balance discrepancy ( #1839 )
...
Fix https://github.com/XRPLF/clio/issues/1832
rippled code:
https://github.com/XRPLF/rippled/blob/develop/src/xrpld/rpc/handlers/GatewayBalances.cpp#L129
2025-01-22 09:48:13 +00:00
github-actions[bot]
f9d9879513
style: clang-tidy auto fixes ( #1845 )
...
Fixes #1844 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2025-01-22 09:46:37 +00:00
cyan317
278f7b1b58
feat: Block clio if migration is blocking ( #1834 )
...
Add:
- Block server if migration is blocking
- Initialise the migration related table when server starts against
empty DB
Add MigrationInspectorInterface. server uses inspector to check the
migrators status.
2025-01-21 14:10:01 +00:00
nkramer44
fbedeff697
fix: Remove InvalidHotWallet Error from gateway_balances RPC handler ( #1830 )
...
Fixes #1825 by removing the check in the gateway_balances RPC handler
that returns the RpcInvalidHotWallet error code if one of the addresses
supplied in the request's `hotwallet` array does not have a trustline
with the `account` from the request.
As stated in the original ticket, this change fixes a discrepancy in
behavior between Clio and rippled, as rippled does not check for
trustline existence when handling gateway_balances RPCs
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
2025-01-21 12:17:54 +00:00
cyan317
f64d8ecb77
fix: Copyright format ( #1835 )
...
Aligned the copyright notice to match the format used in other files.
Updated Copyright (c) 2022-2024 to Copyright (c) 2024 to ensure
consistency.
2025-01-16 14:36:03 +00:00
Peter Chen
3e38ea9b48
fix: Add more constraints to config ( #1831 )
...
Log file size and rotation should also not allowed to be 0.
2025-01-15 10:56:50 -05:00
Sergey Kuznetsov
7834b63b55
fix: Check result of parsing config ( #1829 )
2025-01-14 11:55:05 -05:00
Alex Kremer
2cf849dd12
feat: ETLng scheduling ( #1820 )
...
For #1596
2025-01-14 15:50:59 +00:00
Peter Chen
c47b96bc68
fix: comment from verify config PR ( #1823 )
...
PR here: https://github.com/XRPLF/clio/pull/1814#
2025-01-13 12:58:20 -05:00