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

Proposed 2.2.0-b2 #4942

Closed
wants to merge 5 commits into from
Closed

Proposed 2.2.0-b2 #4942

wants to merge 5 commits into from

Conversation

ximinez
Copy link
Collaborator

@ximinez ximinez commented Mar 6, 2024

High Level Overview of Change

This is a beta for the 2.2.0 release.

Highlights:

The base branch is release. All releases (including betas) go in release. This PR will be merged with --ff-only (not squashed or rebased, and not using the GitHub UI).

Context of Change

This introduces the fast base58 codec, which speeds up base58 encoding and decoding significantly, and a user version of the feature RPC command, allowing lookups without changing voting settings. It also fixes up some techincal debt, and fixes the 'install' target so that downstream projects like clio can build properly.

Type of Change

  • Release

API Impact

No API impact.

ckeshava and others added 5 commits March 5, 2024 12:02
* It is now an invariant that all constructed Public Keys are valid,
  non-empty and contain 33 bytes of data.
* Additionally, the memory footprint of the PublicKey class is reduced.
  The size_ data member is declared as static.
* Distinguish and identify the PublisherList retrieved from the local
  config file, versus the ones obtained from other validators.
* Fixes XRPLF#2942
This algorithm is about an order of magnitude faster than the existing
algorithm (about 10x faster for encoding and about 15x faster for
decoding - including the double hash for the checksum). The algorithms
use gcc's int128 (fast MS version will have to wait, in the meantime MS
falls back to the slow code).
* uses same formatting as admin RPC
* hides potentially sensitive data
@ximinez ximinez added the Blocked label Mar 7, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 75.57895% with 116 lines in your changes are missing coverage. Please review.

Project coverage is 61.65%. Comparing base (97863e0) to head (ee2bd0d).

Files Patch % Lines
src/ripple/protocol/impl/token_errors.h 13.79% 24 Missing and 1 partial ⚠️
src/ripple/protocol/impl/tokens.cpp 89.44% 9 Missing and 10 partials ⚠️
src/ripple/protocol/impl/b58_utils.h 76.11% 6 Missing and 10 partials ⚠️
src/ripple/app/misc/impl/ValidatorList.cpp 75.00% 4 Missing and 10 partials ⚠️
src/ripple/app/misc/impl/Manifest.cpp 64.28% 7 Missing and 3 partials ⚠️
src/ripple/app/consensus/RCLConsensus.cpp 60.00% 5 Missing and 3 partials ⚠️
src/ripple/rpc/impl/TransactionSign.cpp 75.00% 2 Missing and 5 partials ⚠️
src/ripple/app/misc/Manifest.h 57.14% 0 Missing and 3 partials ⚠️
src/ripple/app/misc/NetworkOPs.cpp 50.00% 2 Missing and 1 partial ⚠️
src/ripple/app/main/Application.cpp 80.00% 1 Missing and 1 partial ⚠️
... and 6 more
Additional details and impacted files
@@             Coverage Diff             @@
##           release    #4942      +/-   ##
===========================================
+ Coverage    61.64%   61.65%   +0.01%     
===========================================
  Files          804      806       +2     
  Lines        70642    70967     +325     
  Branches     36534    36690     +156     
===========================================
+ Hits         43545    43754     +209     
- Misses       19800    19854      +54     
- Partials      7297     7359      +62     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ximinez
Copy link
Collaborator Author

ximinez commented Mar 7, 2024

Note, this merge is blocked due to a packaging issue until, probably Monday, 3/11.

@ximinez
Copy link
Collaborator Author

ximinez commented Mar 12, 2024

Closing without merging to unblock any PRs that are ready to merge and have been waiting on this.

@ximinez ximinez closed this Mar 12, 2024
@ximinez ximinez deleted the develop-next branch March 12, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants