mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 18:20:58 +02:00
ZMQ: add options to configure outbound message high water mark, aka SNDHWM
This commit is contained in:
@ -121,10 +121,10 @@ class ZMQTest (BitcoinTestFramework):
|
||||
|
||||
self.log.info("Test the getzmqnotifications RPC")
|
||||
assert_equal(self.nodes[0].getzmqnotifications(), [
|
||||
{"type": "pubhashblock", "address": ADDRESS},
|
||||
{"type": "pubhashtx", "address": ADDRESS},
|
||||
{"type": "pubrawblock", "address": ADDRESS},
|
||||
{"type": "pubrawtx", "address": ADDRESS},
|
||||
{"type": "pubhashblock", "address": ADDRESS, "hwm": 1000},
|
||||
{"type": "pubhashtx", "address": ADDRESS, "hwm": 1000},
|
||||
{"type": "pubrawblock", "address": ADDRESS, "hwm": 1000},
|
||||
{"type": "pubrawtx", "address": ADDRESS, "hwm": 1000},
|
||||
])
|
||||
|
||||
assert_equal(self.nodes[1].getzmqnotifications(), [])
|
||||
|
Reference in New Issue
Block a user