nthumann
241803da21
test: Add zmq test to support multiple interfaces
4 years ago
Gregory Sanders
68c3c7e1bd
Add functional tests for zmq sequence topic and mempool sequence logic
4 years ago
Gregory Sanders
1b615e61bf
zmq test: Actually make reorg occur
4 years ago
Gregory Sanders
7356292e1d
Have zmq reorg test cover mempool txns
4 years ago
Gregory Sanders
a0f4f9c983
Add zmq test for transaction pub during reorg
4 years ago
Gregory Sanders
2399a0600c
Add test case for mempool->block zmq notification
4 years ago
Gregory Sanders
e70512a83c
Make ordering of zmq consumption irrelevant to functional test
4 years ago
João Barbosa
3e730bf90a
zmq: Fix due to invalid argument and multiple notifiers
5 years ago
João Barbosa
403e372407
qa: Relax so that the subscriber is ready before publishing zmq messages
5 years ago
João Barbosa
abdfc5e89b
qa: Test ZMQ notification after chain reorg
5 years ago
João Barbosa
aa2622a726
qa: Refactor ZMQ test
5 years ago
Elichai Turkel
afc0966d72
Moved and renamed hash256 from util.py to zmq_interface.py
5 years ago
MarcoFalke
faa7cdf764
scripted-diff: Update copyright in ./test
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
6 years ago
MarcoFalke
fa6bf21f5e
scripted-diff: test: Use py3.5 bytes::hex() method
...
-BEGIN VERIFY SCRIPT-
sed -i -e "s/def bytes_to_hex_str/def b_2_x/g" $(git grep -l bytes_to_hex_str)
export RE_B_0="[^()]*" # match no bracket
export RE_B_1="${RE_B_0}\(${RE_B_0}\)${RE_B_0}" # match exactly one ()
export RE_B_2="${RE_B_0}\(${RE_B_1}\)${RE_B_0}" # match wrapped (())
export RE_M="(b2x|bytes_to_hex_str)\(((${RE_B_0}|${RE_B_1}|${RE_B_2})*)\)"
sed -i --regexp-extended -e "s/${RE_M}/\2.hex()/g" $(git grep -l -E '(b2x|bytes_to_hex_str)')
sed -i --regexp-extended -e "/ +bytes_to_hex_str( as b2x)?,/d" $(git grep -l bytes_to_hex_str)
sed -i --regexp-extended -e "s/ +bytes_to_hex_str( as b2x)?,//g" $(git grep -l bytes_to_hex_str)
sed -i --regexp-extended -e "s/, bytes_to_hex_str( as b2x)?//g" $(git grep -l bytes_to_hex_str)
export RE_M="(binascii\.)?hexlify\(((${RE_B_0}|${RE_B_1}|${RE_B_2})*)\).decode\(${RE_B_0}\)"
sed -i --regexp-extended -e "s/${RE_M}/\2.hex()/g" $(git grep -l hexlify -- ':(exclude)share')
sed -i --regexp-extended -e "/from binascii import hexlify$/d" $(git grep -l hexlify -- ':(exclude)share')
sed -i --regexp-extended -e "s/(from binascii import) .*hexlify/\1 unhexlify/g" $(git grep -l hexlify -- ':(exclude)share')
sed -i -e 's/ignore-names "/ignore-names "b_2_x,/g' ./test/lint/lint-python-dead-code.sh
-END VERIFY SCRIPT-
6 years ago
Wladimir J. van der Laan
dac2caa371
Merge #14060 : ZMQ: add options to configure outbound message high water mark, aka SNDHWM
...
a4edb168b6
ZMQ: add options to configure outbound message high water mark, aka SNDHWM (mruddy)
Pull request description:
ZMQ: add options to configure outbound message high water mark, aka SNDHWM
This is my attempt at https://github.com/bitcoin/bitcoin/pull/13315
Tree-SHA512: a4cc3bcf179776899261a97c8c4f31f35d1d8950fd71a09a79c5c064879b38e600b26824c89c4091d941502ed5b0255390882f7d44baf9e6dc49d685a86e8edb
6 years ago
John Newbery
3fd7e76f6d
[tests] Move deterministic address import to setup_nodes
...
This requires a small changes to a few tests, but means that
deterministic addresses will always be imported (unless setup_nodes
behaviour is explicitly overridden).
6 years ago
mruddy
a4edb168b6
ZMQ: add options to configure outbound message high water mark, aka SNDHWM
6 years ago
MarcoFalke
d12e3d9acc
Merge #14324 : qa: Run more tests with wallet disabled
...
faa4043c66
qa: Run more tests with wallet disabled (MarcoFalke)
Pull request description:
Instead of skipping the whole test, only skip the wallet specific section of a test if the wallet is not compiled in. This is mostly an indentation change, so can be reviewed with `--ignore-all-space`.
Tree-SHA512: 5941a8b6b00dca5cf9438c5f6f010ba812115188a69e427d7ade4c1ab8cfe7a57c73daf52c66235dbb24b1cd9ab7c7a17c49bc23d931e041b605d79116a71f66
6 years ago
John Newbery
42a995ae48
[tests] Remove rpc_zmq.py
...
rpc_zmq.py is racy and fails intermittently. Remove that test file and
move the getzmqnotifications RPC test into interface_zmq.py
6 years ago
MarcoFalke
faa4043c66
qa: Run more tests with wallet disabled
6 years ago
MarcoFalke
fa8433e379
qa: Remove unneded import_deterministic_coinbase_privkeys overwrite, add comments
6 years ago
MarcoFalke
fac9539836
qa: Run all tests even if wallet is not compiled
6 years ago
MarcoFalke
faa669cbcd
qa: Premine to deterministic address with -disablewallet
6 years ago
practicalswift
68400d8b96
tests: Use explicit imports
6 years ago
DrahtBot
eb7daf4d60
Update copyright headers to 2018
6 years ago
James O'Beirne
a0b604c166
[tests] skip rpc_zmq functional test when python3 zmq lib is not present
...
Also refactors zmq-related test skipping logic into distinct functions.
6 years ago
MarcoFalke
fa811b0b1d
qa: Normalize executable location
7 years ago
Anthony Towns
3150b3fea7
[tests] Rename misc functional tests.
7 years ago