dash/test/functional/test_framework
PastaPastaPasta 52bf616cc4
Merge #11712: [tests] Split NodeConn from NodeConnCB (#3373)
* [tests] Remove mininode periodic (half-hour) ping messages

* [tests] Tidy up mininode

Add docstrings and renames some methods.
Also removes the redundant NodeConn.readable() method override.

* [tests] Move only: move NodeConnCB below NodeConn

This is required since NodeConnCB will inherit from NodeConn
after the next commit.

* [tests] Make NodeConnCB a subclass of NodeConn

This makes NodeConnCB a subclass of NodeConn, and
removes the need for the client code to know
anything about the implementation details of NodeConnCB.

NodeConn can now be swapped out for any other implementation
of a low-level connection without changing client code.

* [tests] Move version message sending from NodeConn to NodeConnCB

This commit moves the logic that sends a version message
on connection from NodeConn to NodeConnCB. NodeConn should
not be aware of the semantics or meaning of the P2P payloads.

* remove witness

Signed-off-by: Pasta <pasta@dashboost.org>

* Fix 11712

Co-authored-by: John Newbery <john@johnnewbery.com>
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
2020-04-05 14:12:45 +03:00
..
__init__.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
authproxy.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
bignum.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
blocktools.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
coverage.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
key.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
messages.py Merge #11648: [tests] Add messages.py (#3372) 2020-03-30 15:21:47 +03:00
mininode.py Merge #11712: [tests] Split NodeConn from NodeConnCB (#3373) 2020-04-05 14:12:45 +03:00
netutil.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
script.py Merge #12475: qa: Fix python TypeError in script.py 2020-03-24 11:43:10 -05:00
siphash.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
socks5.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
test_framework.py Merge pull request #3389 from codablock/pr_concentrated_recovery 2020-04-02 13:59:05 +02:00
test_node.py Merge #11712: [tests] Split NodeConn from NodeConnCB (#3373) 2020-04-05 14:12:45 +03:00
util.py Merge #13201: [qa] Handle disconnect_node race 2020-04-03 04:13:52 -05:00