diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-08-11 16:57:51 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-08-11 16:58:28 +0200 |
commit | e5d26e47c7a482c072a7fe47bb84c56854734184 (patch) | |
tree | c4729903b783438df2c6ece1dab3e32e7dff3ae6 /share | |
parent | 96a63a3e0cefe920819bd42add0041837b1214a1 (diff) | |
parent | faa76d1b79cc63177c8e165c9a2dc761aac7ccf4 (diff) |
Merge #11025: qa: Fix inv race in example_test
faa76d1b7 qa: Fix inv race in example_test (MarcoFalke)
Pull request description:
There have been intermittent test failures on this script.
```py
File "./test/functional/example_test.py", line 216, in run_test
assert_equal(block, 1)
AssertionError: not(2 == 1)
```
Probably the simplest way to fix them is overriding the `on_inv` method, so that no "colliding" getdata for the blocks are sent out.
Additionally, all getdata are now sent in a single message.
Tree-SHA512: 809c2bbfa90a67fc97905769fcbe90ba9abe1aac1f145530934f56a364835973b94d3302b6be68f4f2987acf333bce146bcc4c878c283301871ba5bb1a9bedb6
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions