-
Notifications
You must be signed in to change notification settings - Fork 370
Conversation
@karimodm did you also go over zmq/README.md to see it's up to date? that would be great! |
I had verified it was up to date, but I have now amended it with some extra information, and removed the WIP comment. |
* `hmr` for the hit to miss ratio | ||
* `antn` for added non-tethered neighbors ( testnet only ) | ||
* `rntn` for refused non-tethered neighbors | ||
* `rstat` for information about the tips requester | ||
* `rtl` for transactions randomly removed from the request list | ||
* `lmi` for the latest milestone index | ||
* `lmsi` for the latest solid milestone index | ||
* `lmhs` for the latest solid milestone hash | ||
* `sn` for newly confirmed transactions ( by solid milestone children measurement ) | ||
* `tx` for newly seen transactions |
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.
missing tx_trytes
: ZmqPublishProvider
* a short lowercase string. | ||
* Some example topics: | ||
* <ol> | ||
* <li>tx: transactions events</li> |
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.
format the topics as code?
* Creates and starts a ZMQ publisher. | ||
* | ||
* @param port port the publisher will be bound to | ||
* @param ipc IPC socket to bind the publisher to |
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.
* @param ipc IPC socket to bind the publisher to | |
* @param ipc IPC socket the publisher will be bound to |
or swap the port
doc to this
* @param port port the publisher will be bound to | ||
* @param ipc IPC socket to bind the publisher to | ||
* @param nthreads number of threads used by the ZMQ publisher | ||
* @param enabled boolean enable flag; defaults to "false" |
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.
if set to default, ZMQ will not run - won't bind etc.
* Publishes an event to the queue | ||
* | ||
* @param message message body, prepended by topic string | ||
* @param objects objects to be rendered as part of the message |
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.
not sure "to be rendered" is the best term, but I don't have a better one now.
from String.format:
args - Arguments referenced by the format specifiers in the format string
Co-Authored-By: karimodm <[email protected]>
* Document zmq-messageQ * Amend zmq README * Update src/main/java/com/iota/iri/zmq/MessageQ.java Co-Authored-By: karimodm <[email protected]> * Document zmq-messageQ: review comments
Documents zmq/MessageQ
Fixes #1109