The RPC wallet `fill_response` calls were still passing `req.blink` to
blink a tx, but that is supposed to be deprecated in favour of passing
(just) `priority=5`. Fixed it to blink based on the priority instead.
(Merged from various earlier blink test commits)
These tests spin up a network of nodes, mining, registering service
nodes, then send blink txes in various ways across them testing that
blinks work as expected and that various potential scenarios blink is
designed to protect against are actually prevented.
The tests use python to spool up nodes and wallets, and require python3
with pytest and requests installed. Tests can be run manually with:
cd tests/network_tests
pytest-3
or with moderately and much more verbose output of operations with:
pytest-3 -v # Shows individual test cases
pytest-3 -vv # Same, but also spews tons of output on failures
pytest-3 -svv # Show the verbose output live (even on success)
It gets added to the default testing suite (assume the python requisites
are installed), though in very non-verbose form.