dash/test/functional/test_framework
MarcoFalke ea33d327a8
Merge #13512: [qa] mininode: Expose connection state through is_connected
fa1eac9cdb [qa] mininode: Expose connection state through is_connected (MarcoFalke)

Pull request description:

  This gets rid of some non-type safe string comparisons and access to members that are implementation details of `class P2PConnection(asyncore.dispatcher)`. Such refactoring is required to replace the deprecated asyncore with something more sane.

  Changes:
  * Get rid of non-enum member `state` and replace is with bool `connected`
  * Get rid of confusing argument `pushbuf` and literally just push to the buffer at the call site

Tree-SHA512: 09074c7e5ed251a2e0509ef205ab82f89887c1e1fa1cc6efc1db60d196eb2403788a4987df8809fd06d80ef652e614c5d3c3fdef70096fc5815102243388288d
2020-12-15 23:28:08 -06:00
..
__init__.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
authproxy.py Merge #12284: Remove assigned but never used local variables. Enable Travis checking for unused local variables. 2020-10-26 20:35:28 -04:00
bignum.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
blocktools.py Implement Block Reward Reallocation (#3691) 2020-09-10 19:23:11 +03:00
coverage.py Some Dashification (#3513) 2020-06-11 11:39:04 +03:00
key.py Merge #12993: tests: Remove compatibility code not needed now when we're on Python 3 2020-06-27 10:43:32 -05:00
messages.py test: Implement tests for all dash related ZMQ notifications (#3804) 2020-11-27 17:55:28 +03:00
mininode.py Merge #13512: [qa] mininode: Expose connection state through is_connected 2020-12-15 23:28:08 -06:00
netutil.py Merge #12627: qa: Fix some tests to work on native windows 2020-06-18 11:41:53 -05:00
script.py Consensus: DIP-0020: Dash opcode updates - OP_CAT and OP_SPLIT. (#3824) 2020-12-11 22:17:10 +00:00
siphash.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
socks5.py Merge #12987: tests/tools: Enable additional Python flake8 rules for automatic linting via Travis 2020-07-22 12:12:46 -05:00
test_framework.py Merge #12076: qa: Use node.datadir instead of tmpdir in test framework 2020-12-15 22:06:42 -06:00
test_node.py Merge #12076: qa: Use node.datadir instead of tmpdir in test framework 2020-12-15 22:06:42 -06:00
util.py Merge #12076: qa: Use node.datadir instead of tmpdir in test framework 2020-12-15 22:06:42 -06:00