[ZMQ] append a message sequence number to every ZMQ notification

This commit is contained in:
Jonas Schnelli
2016-03-29 14:30:02 +02:00
parent de821d56e1
commit 0b25a9fb42
6 changed files with 69 additions and 13 deletions

View File

@@ -45,6 +45,15 @@ The following outputs are affected by this change:
- REST `/rest/block/` (JSON format when including extended tx details)
- `bitcoin-tx -json`
### ZMQ
Each ZMQ notification now contains an up-counting sequence number that allows
listeners to detect lost notifications.
The sequence number is always the last element in a multi-part ZMQ notification and
therefore backward compatible.
Each message type has its own counter.
(https://github.com/bitcoin/bitcoin/pull/7762)
### Configuration and command-line options
### Block and transaction handling