Commit Graph

45 Commits

Author SHA1 Message Date
JCW
47efef6984 WIP
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-12 14:28:26 +01:00
JCW
3918174f4c Fix test cases
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-10 12:02:00 +01:00
JCW
0c8a462e69 Performance test
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-10 11:49:27 +01:00
JCW
974e6067d8 Fix test error
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-10 07:42:17 +01:00
JCW
d8b840ca5c Log size optimise
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-10 01:14:16 +01:00
JCW
7c2832161c Revert unrelated changes & performance optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-08 16:40:34 +01:00
JCW
2491b28fcd Optimise
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-04 16:31:39 +01:00
JCW
e898d98e0a Optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-04 16:04:22 +01:00
JCW
0dba54bcb6 Fix formatting
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:30 +01:00
JCW
ce18ae9542 Improve test coverage
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:30 +01:00
JCW
e401dcb2f1 Set module name in json
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:30 +01:00
JCW
b75e7884e7 Fix build error
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:29 +01:00
JCW
15527ea863 Fix build error
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:29 +01:00
JCW
e5dbcab3e6 Fix build error
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:29 +01:00
JCW
55fcd4c9a4 Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:28 +01:00
JCW
1da97a4c13 Optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:28 +01:00
JCW
f627543a0c Revert unrelated changes
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:27:28 +01:00
JCW
67c1e7ce56 Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:03 +01:00
JCW
6ab02caa22 Optimise
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:03 +01:00
JCW
f4dde4405c Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:02 +01:00
JCW
284b825a5f Optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:02 +01:00
JCW
f7c043bd04 Optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:02 +01:00
JCW
dbb14191cb Improve performance
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:02 +01:00
JCW
37aa933462 Fix
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:02 +01:00
JCW
ddfcf49e2b Optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:02 +01:00
JCW
1f3f2a1dc5 Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:01 +01:00
JCW
3cb3966f81 Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:01 +01:00
JCW
53c0e7cace Optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:01 +01:00
JCW
dc344e4114 Fix issues
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:01 +01:00
JCW
fbacf83334 performance optimisation
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:01 +01:00
JCW
8f37c8a52e Fix issues 2025-09-03 16:26:00 +01:00
JCW
1de3fb0450 Fix issues 2025-09-03 16:26:00 +01:00
JCW
257ea88396 Performance improvement 2025-09-03 16:26:00 +01:00
JCW
c4464f5122 Fix PR comments
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:26:00 +01:00
JCW
bb7e7ad430 Improve coverage
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:25:59 +01:00
JCW
eab74be499 Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:25:58 +01:00
JCW
27ab6d3ddc Fix formatting
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:25:58 +01:00
JCW
7fa0a89b0c Fix errors
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:25:58 +01:00
JCW
0dca5025f1 Support structured logs
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
2025-09-03 16:25:53 +01:00
Bart
2406b28e64 refactor: Remove unused and add missing includes (#5293)
The codebase is filled with includes that are unused, and which thus can be removed. At the same time, the files often do not include all headers that contain the definitions used in those files. This change uses clang-format and clang-tidy to clean up the includes, with minor manual intervention to ensure the code compiles on all platforms.
2025-03-11 14:16:45 -04:00
Mark Travis
af018c7b0b Log detailed correlated consensus data together (#5302)
Combine multiple related debug log data points into a single
message. Allows quick correlation of events that
previously were either not logged or, if logged, strewn
across multiple lines, making correlation difficult.
The Heartbeat Timer and consensus ledger accept processing
each have this capability.

Also guarantees that log entries will be written if the
node is a validator, regardless of log severity level.
Otherwise, the level of these messages is at INFO severity.
2025-02-27 13:02:57 -05:00
Bronek Kozicki
eabca8439f Antithesis instrumentation improvements (#5213)
* Rename ASSERT to XRPL_ASSERT
* Upgrade to Anthithesis SDK 0.4.4, and use new 0.4.4 features
  * automatic cast to bool, like assert
* Add instrumentation workflow to verify build with instrumentation enabled
2024-12-16 17:48:33 -05:00
Bronek Kozicki
d7e949193f Add Antithesis intrumentation (#5042)
* Copy Antithesis SDK version 0.4.0 to directory external/
* Add build option `voidstar` to enable instrumentation with Antithesis SDK
* Define instrumentation macros ASSERT and UNREACHABLE in terms of regular C assert
* Replace asserts with named ASSERT or UNREACHABLE
* Add UNREACHABLE to LogicError
* Document instrumentation macros in CONTRIBUTING.md
2024-12-03 14:54:44 -05:00
John Freeman
552377c76f Reformat code with clang-format-18 2024-10-15 18:27:56 -05:00
Pretty Printer
e416ee72ca Rearrange sources (#4997) 2024-06-20 13:57:14 -05:00