Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Refactor genesis download/load/check functions #17276

Merged
merged 2 commits into from
May 24, 2021

Conversation

sakridge
Copy link
Contributor

Problem

Genesis download code could be useful for another client that wants to download genesis, load it and check the hash.

Summary of Changes

Refactor into genesis-utils crate from validator/src/main.rs

Fixes #

@sakridge sakridge force-pushed the genesis-utils-refactor branch 2 times, most recently from e0f1634 to 951f734 Compare May 17, 2021 13:00
@sakridge sakridge force-pushed the genesis-utils-refactor branch from 951f734 to 039bbb1 Compare May 17, 2021 13:11
@codecov
Copy link

codecov bot commented May 17, 2021

Codecov Report

Merging #17276 (039bbb1) into master (d6ab419) will decrease coverage by 0.0%.
The diff coverage is 23.7%.

@@            Coverage Diff            @@
##           master   #17276     +/-   ##
=========================================
- Coverage    82.7%    82.6%   -0.1%     
=========================================
  Files         421      422      +1     
  Lines      117913   117950     +37     
=========================================
- Hits        97557    97529     -28     
- Misses      20356    20421     +65     

@sakridge sakridge requested a review from ryoqun May 17, 2021 18:03
Copy link
Contributor

@ryoqun ryoqun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks for cleaning up!

@sakridge sakridge merged commit a8dca39 into solana-labs:master May 24, 2021
@sakridge sakridge deleted the genesis-utils-refactor branch May 24, 2021 14:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants