Skip to content

Commit 785b61c

Browse files
committed
Update zmq.md
Typo fixes and update python to python3 in sample commands
1 parent 231f28e commit 785b61c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/zmq.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Block and Transaction Broadcasting With ZeroMQ
1+
# Block and Transaction Broadcasting with ZeroMQ
22

33
[ZeroMQ](http://zeromq.org/) is a lightweight wrapper around TCP
44
connections, inter-process communication, and shared-memory,
@@ -33,12 +33,14 @@ buffering or reassembly.
3333

3434
## Prerequisites
3535

36-
The ZeroMQ feature in PIVX Core requires ZeroMQ API version 4.x or
37-
newer. Typically, it is packaged by distributions as something like
36+
The ZeroMQ feature in PIVX Core requires the ZeroMQ API >= 4.0.0
37+
[libzmq](https://github.com/zeromq/libzmq/releases).
38+
For version information, see [dependencies.md](dependencies.md).
39+
Typically, it is packaged by distributions as something like
3840
*libzmq3-dev*. The C++ wrapper for ZeroMQ is *not* needed.
3941

4042
In order to run the example Python client scripts in contrib/ one must
41-
also install *python-zmq*, though this is not necessary for daemon
43+
also install *python3-zmq*, though this is not necessary for daemon
4244
operation.
4345

4446
## Enabling
@@ -50,7 +52,7 @@ during the *configure* step of building pivxd:
5052
$ ./configure --disable-zmq (other options)
5153

5254
To actually enable operation, one must set the appropriate options on
53-
the commandline or in the configuration file.
55+
the command line or in the configuration file.
5456

5557
## Usage
5658

@@ -103,6 +105,6 @@ and just the tip will be notified. It is up to the subscriber to
103105
retrieve the chain from the last known block to the new tip.
104106

105107
There are several possibilities that ZMQ notification can get lost
106-
during transmission depending on the communication type your are
107-
using. PIVXd appends an up-counting sequence number to each
108+
during transmission depending on the communication type you are
109+
using. pivxd appends an up-counting sequence number to each
108110
notification which allows listeners to detect lost notifications.

0 commit comments

Comments
 (0)