XRPLF / clio

An XRP Ledger API Server
https://xrpl.org
ISC License
55 stars 48 forks source link

feat: AmendmentCenter #1418

Closed godexsoft closed 3 days ago

godexsoft commented 1 month ago

A starting point for an AmendmentCenter - a central place in Clio to query everything related to amendments on the XRPL. Currently it allows conversion between ID and amendment name as well as querying whether a certain amendment is supported and/or enabled at a given ledger index.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 89.06250% with 7 lines in your changes missing coverage. Please review.

Project coverage is 67.98%. Comparing base (b2eacf9) to head (38ff631). Report is 2 commits behind head on develop.

Files Patch % Lines
src/data/AmendmentCenter.cpp 91.83% 1 Missing and 3 partials :warning:
src/data/Types.hpp 80.00% 0 Missing and 1 partial :warning:
src/main/Main.cpp 0.00% 1 Missing :warning:
src/rpc/common/impl/HandlerProvider.cpp 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1418 +/- ## =========================================== + Coverage 67.81% 67.98% +0.17% =========================================== Files 233 234 +1 Lines 9423 9490 +67 Branches 5256 5275 +19 =========================================== + Hits 6390 6452 +62 - Misses 1654 1656 +2 - Partials 1379 1382 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.