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

feat(188): improving the way initial headers are preloaded, reducing headers file size #213

Merged
merged 16 commits into from
Mar 6, 2024

Conversation

jakubmkowalski
Copy link
Contributor

@jakubmkowalski jakubmkowalski commented Feb 27, 2024

Pull Request Checklist

  • πŸ“– I created my PR using provided : CODE_STANDARDS
  • πŸ“– I have read the short Code of Conduct: CODE_OF_CONDUCT
  • 🏠 I tested my changes locally.
  • βœ… I have provided tests for my changes.
  • πŸ“ I have used conventional commits.
  • πŸ“— I have updated any related documentation.
  • πŸ’Ύ PR was issued based on the Github or Jira issue.

Now the csv file is reduced to the essential fields (version, merkleroot, nonce, bits, timestamp), the other fields stored in the database are calculated during the import process

Copy link
Contributor

github-actions bot commented Feb 27, 2024

Manual Tests

πŸ’š Manual testing by @wregulski resulted in success.

database/import.go Fixed Show fixed Hide fixed
database/import.go Fixed Show fixed Hide fixed
database/import.go Fixed Show fixed Hide fixed
@jakubmkowalski jakubmkowalski marked this pull request as draft February 27, 2024 15:43
@jakubmkowalski jakubmkowalski marked this pull request as ready for review February 27, 2024 18:29
database/postgresql_adapter.go Outdated Show resolved Hide resolved
database/postgresql_adapter.go Outdated Show resolved Hide resolved
database/sqlite_adapter.go Outdated Show resolved Hide resolved
database/sqlite_adapter.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
database/postgresql_adapter.go Outdated Show resolved Hide resolved
database/postgresql_adapter.go Outdated Show resolved Hide resolved
@jakubmkowalski jakubmkowalski requested a review from a team as a code owner March 4, 2024 14:15
@dorzepowski dorzepowski self-requested a review March 5, 2024 10:07
database/import.go Outdated Show resolved Hide resolved
database/sqlite_adapter.go Outdated Show resolved Hide resolved
database/import_test.go Outdated Show resolved Hide resolved
database/import_test.go Outdated Show resolved Hide resolved
database/import_test.go Outdated Show resolved Hide resolved
database/import_test.go Show resolved Hide resolved
database/import_test.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
database/import.go Outdated Show resolved Hide resolved
@wregulski
Copy link
Contributor

testing

@wregulski wregulski added the tested PR was tested by a team member label Mar 6, 2024
@jakubmkowalski jakubmkowalski merged commit 1f1b671 into master Mar 6, 2024
9 checks passed
@jakubmkowalski jakubmkowalski deleted the feat/188-reduce-headers-file branch March 6, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tested PR was tested by a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants