-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
[bitcoin] Allow bitcoin to be compiled with optional zmq dependency #23088
[bitcoin] Allow bitcoin to be compiled with optional zmq dependency #23088
Conversation
Let's require it. No need for an option. |
@ilovezfs SGTM. So remove the Once that change is made, the compilation process should report Strange that ZMQ isn't found during the build... perhaps not strange at all since I haven't made it a required dependency. |
yup
just remove the => :optional |
also we should bump the revision here |
@ilovezfs where is the revision set, is that the |
4cc212e
to
1b5334f
Compare
here's an example 656e549 |
Cool, it looks like there's no |
Counting starts from 0 but |
@ilovezfs cool I pushed a commit adding |
@ilovezfs hm, build still failing - does this look familiar to you at all? |
@mecampbellsoup it's this: bitcoin/bitcoin#12009 |
if you rebase this, it should build now |
6aee3b8
to
e62bea1
Compare
Formula/bitcoin.rb
Outdated
@@ -11,6 +11,7 @@ class Bitcoin < Formula | |||
patch do | |||
url "https://github.com/bitcoin/bitcoin/commit/1ec0c0a01c31.patch?full_index=1" | |||
sha256 "a1f761fe29f78e783cb4b55f8029900f94b45d1188cb81c80f73347ee2fdc025" | |||
revision 1 |
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.
@ilovezfs revision
inside this patch
block, or outside?
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.
should go under homepage in this case
e62bea1
to
b98bbfd
Compare
Thanks @mecampbellsoup for the pull request and congrats on your first contribution to Homebrew! |
Since the 0.12 release of
bitcoin
, it has been possible to utilize ZMQ for pub-sub messaging to allowbitcoind
to communicate with other processes.The UNIX installation docs list it as an optional dependency: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependencies
Here are detailed docs in the
bitcoin
GH repo discussing how to make use of ZMQ.In particular, ZMQ is needed to facilitate message passing from
bitcoind
to-and-fromlnd
. Here are docs from the Lightning team discussing how to wire upbitcoind
to communicate withlnd
.