Most of the code is from Bitcoin Core's implementation; however this was broken for versions of ZMQ newer than 15. Fixed this, removed hardcoded ip address, and switched to f-strings.
Moves old zmq_sub into zmq_sub27
Differential D1120
Make ZMQ client python example asynchronous aethn on Feb 23 2018, 04:54. Authored by
Details
Most of the code is from Bitcoin Core's implementation; however this was broken for versions of ZMQ newer than 15. Fixed this, removed hardcoded ip address, and switched to f-strings. Moves old zmq_sub into zmq_sub27 Run the client code and compare the resulting data to the respective bitcoin-cli data. Note that transactions are given from the mempool and not blocks.
Diff Detail
Event TimelineComment Actions Hi aethn, Thanks for making it over here! I see that you mention "Removes build instructions for Boost and redirects users to the official Boost documentation" in the commit message. Could you please separate that out into another commit and resubmit this? We keep diffs limited to one purpose at a time whenever possible. Did you submit this through the web UI, or are you working through arc? Comment Actions Also, I looked around -- I'm not sure what the purpose of this script is for. Is it just sample code for how to interact with bitcoind using zmq? If so, would you be able to put a README.md in the same folder and call that out? Comment Actions Hey schancel, I used arc but do you think it's necessary to add a Readme when the ReadMe on ZMQ already explains the purpose of this file? |