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

remove support for migrating peers from legacy file format #17517

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Feb 7, 2024

Purpose:

In November 2021, we migrated our file format for storing peers from a sqlite database to a flat file.

#9079

This PR removes the remnants of the backwards compatibility left in place in that PR.

Current Behavior:

We have code that's not likely to be used, supporting loading peers from the old sqlite format.

New Behavior:

We have less code, and don't support loading peers from the old, sqlite, format.

@arvidn arvidn added the Changed Required label for PR that categorizes merge commit message as "Changed" for changelog label Feb 7, 2024
@arvidn arvidn requested a review from fchirica February 8, 2024 10:25
@arvidn arvidn force-pushed the remove-legacy-peer-database branch from b9ec672 to 21f9891 Compare February 8, 2024 11:17
@arvidn arvidn force-pushed the remove-legacy-peer-database branch from 21f9891 to 41a44ef Compare February 8, 2024 11:29
@arvidn arvidn marked this pull request as ready for review February 8, 2024 13:18
@arvidn arvidn requested a review from a team as a code owner February 8, 2024 13:18
@arvidn
Copy link
Contributor Author

arvidn commented Feb 8, 2024

I've tested this with a fresh install as well as resuming .chia folder from an existing installation. In both cases, I get peers.

@arvidn arvidn requested a review from wjblanke February 8, 2024 18:12
Copy link
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

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

aok

@Starttoaster Starttoaster merged commit 036313f into main Feb 20, 2024
268 checks passed
@Starttoaster Starttoaster deleted the remove-legacy-peer-database branch February 20, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants