-
Notifications
You must be signed in to change notification settings - Fork 57
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 bitcoin-core binaries from repo. #397
Remove bitcoin-core binaries from repo. #397
Conversation
This requirement we faced when we tried to publish the crate to crates.io. With this commit, we can download the bitcoin-core binary once based on system OS and there-on use it as cached.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #397 +/- ##
==========================================
- Coverage 70.42% 70.26% -0.17%
==========================================
Files 34 34
Lines 4247 4261 +14
==========================================
+ Hits 2991 2994 +3
- Misses 1256 1267 +11 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack. Just a thought — should we also do integrity verification of the binary?
I am not seeing the point here. Downloading bitcoind is not a user-side requirement. We only needed the binary for testing. User will run their own node. Also this doesn't fix the github CI timeout issues for which we had the binary in the first place. |
This is only for testing, and the required crates added here are feature-gated. There is still a possibility of a GitHub timeout, but we can host the binary on our own server and download it from there if bitcoin.org is slow. However, including the binaries in the repository is not the right approach. I am prepared to modify the CI in case of GitHub Action timeouts. |
Lets do that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack
Closes: #396