Commit graph

7 commits

Author SHA1 Message Date
Jason Rhinelander
ed48667fe6 Fix removed/deprecated options 2021-02-16 23:52:08 -04:00
Sean Darcy
851f9af707 lokinet revert 2021-01-04 15:21:21 +11:00
Doyle
0a713dc4a0 blink=<bool> is not part of transfer API, set rpc long poll threads to 0 in daemon 2020-03-04 12:27:23 +11:00
Jason Rhinelander
9561ce47c2
Fix priority=5 not doing an actual blink submission (#1041)
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.
2020-02-19 15:57:21 +11:00
Jason Rhinelander
8dbbe72724 Disable long polling for blink tests 2020-01-18 19:20:55 -04:00
Jason Rhinelander
9a23f0afaa Send fake versions in fake ping
The required version bump broke the test suite proofs; just send a large
fake version number instead.
2019-12-26 14:09:26 -04:00
Jason Rhinelander
37bfc39379 Add blink tests via pytest
(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.
2019-12-26 12:29:05 -04:00