Verify binaries from bitcoincore.org and bitcoin.org #10651

Merged
merged 1 commit into from Jul 11, 2017

Conversation

Projects
None yet
5 participants
Contributor

TheBlueMatt commented Jun 22, 2017

In preparation for moving the "official" binary host to bitcoincore.org, use it for verifybinaries (and compare with bitcoin.org).

Owner

sipa commented Jun 23, 2017 edited

Does this need such hardcoding for those two specific hosts, as opposed to a for HOST in bitcoin.org bitcoincore.org; do loop?

Contributor

TheBlueMatt commented Jun 23, 2017

Owner

sipa commented Jun 23, 2017

I see a wget from both?

Contributor

TheBlueMatt commented Jun 23, 2017

Owner

sipa commented Jun 23, 2017

That seems a silly complication to justify duplicating the logic. Just say "failed to download file X from host Y".

Contributor

TheBlueMatt commented Jun 23, 2017

Contributor

TheBlueMatt commented Jun 23, 2017

@sipa I added the array-based version at TheBlueMatt/bitcoin@3a60faa its more code, and IMO more complex, but if you still prefer it we can do that?

Owner

laanwj commented Jun 24, 2017 edited

I mean that's just as much hard coding since it only downloads the binaries from one of the two (and unless you want to depend on bash for arrays.....).

I can't believe we're having a discussion whether to use arrays in 2017. Shellscript is horrible.

(Concept ACK anyhow - I leave all implementation details to you)

Contributor

TheBlueMatt commented Jun 24, 2017

Heh, well I realized this script is already full of bashism, so I dont really care either way...its more code with the arrays but if we ever plan on adding more mirrors (I dont think so?) then it might be helpful.

Member

jtimon commented Jun 25, 2017

Concept ACK

Owner

laanwj commented Jun 28, 2017

So, okay, can we make a decision here? Arrays or not? Should we throw a coin?

Contributor

TheBlueMatt commented Jun 28, 2017

Coin sounds good. My very weak vote is leave it as-is cause I find it less confusing, but dont care strongly either way.

jonasschnelli added this to the 0.15.0 milestone Jul 7, 2017

Owner

sipa commented Jul 7, 2017

If it is this complicated, I retract my suggestion :)

@laanwj laanwj merged commit 6270d62 into bitcoin:master Jul 11, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@laanwj laanwj added a commit that referenced this pull request Jul 11, 2017

@laanwj laanwj Merge #10651: Verify binaries from bitcoincore.org and bitcoin.org
6270d62 Verify binaries from bitcoincore.org and bitcoin.org (Matt Corallo)

Tree-SHA512: 39e99ce9be3e7c99d17b296749c0af53c867039bc95fd5b03572593c812817decea75e7296bb66e89ba460518210d84114b7bdc22465df621340319b47bd4303
cef4b5c
Owner

laanwj commented Jul 11, 2017

Just going to merge this, it's outrageous to keep tools/tests pulls like this open if they simply do correctly what they should do. Cleaning up the code can be done later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment