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
Update Bitcoin and its MiniUPnPc dependency #44214
Conversation
Success on x86_64-linux (full log) Attempted: bitcoin, miniupnpc_2 Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: bitcoin, miniupnpc_2 Partial log (click to expand)
|
|
||
src = fetchurl { | ||
urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" | ||
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" | ||
]; | ||
sha256 = "1zkqp93yircd3pbxczxfnibkpq0sgcv5r7wg6d196b9pwgr9zd39"; | ||
sha256 = "1n07qykx5hc0ph8fwn7hfrbsrjv19fdzvs5h0nysq4wfgn5wa40r"; |
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.
Verified this is the hash signed by the bitcoin release key
@@ -27,8 +27,8 @@ let | |||
}; | |||
in { | |||
miniupnpc_2 = generic { | |||
version = "2.0.20171212"; | |||
sha256 = "0za7pr6hrr3ajkifirhhxfn3hlhl06f622g8hnj5h8y18sp3bwff"; | |||
version = "2.0.20180203"; |
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.
any reason this version in particular ?
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.
Right, I should have written about this. I'm being somewhat conservative here. This isn't the latest version of miniupnpc; however it is the version of miniupnpc that Bitcoin Core currently ships with (see https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md). I'm not opposed to moving to the latest, but this was the minimum version bump that is needed to bring it inline with what Bitcoin Core is using.
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.
👍
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)