dash/test/functional/test_framework
MarcoFalke dac2112dd0 Merge #11323: mininode: add an optimistic write and disable nagle
1817398b3 mininode: add an optimistic write and disable nagle (Cory Fields)

Pull request description:

  Disclaimer: I'm not familiar with asyncore, so I'm unclear how safe this is. It works for me (tm).

  Because the poll/select loop may pause for 100msec before actually doing a send, and we have no way to force the loop awake, try sending from the calling thread if the queue is empty.

  Also, disable nagle as all sends should be either full messages or unfinished sends.

  This shaves an average of ~1 minute or so off of my accumulated runtime, and 10-15 seconds off of actual runtime.

Tree-SHA512: 6b61b8058e621dacf0b4dd353c10e3666fbda0691440eb6ebc432491ebada80a781dcd09291bf03e70112a41d3c2a0c91775ed08824b79bf8d0ebed11595c28b
2020-01-11 18:22:25 -06:00
..
__init__.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
authproxy.py Merge #11277: Fix uninitialized URI in batch RPC requests 2019-09-30 08:33:16 +02:00
bignum.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
blockstore.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
comptool.py Merge #11068: qa: Move wait_until to util 2019-09-24 16:58:03 +02:00
coverage.py Merge #11277: Fix uninitialized URI in batch RPC requests 2019-09-30 08:33:16 +02:00
key.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
mininode.py Merge #11323: mininode: add an optimistic write and disable nagle 2020-01-11 18:22:25 -06:00
netutil.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
script.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
siphash.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
socks5.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
test_framework.py Show quorum connections in "quorum dkgstatus" and use it in mine_quorum (#3271) 2020-01-08 08:01:26 +01:00
test_node.py Merge #14413: tests: Allow closed rpc handler in assert_start_raises_init_error (#3157) 2019-10-17 11:59:21 +02:00
util.py Backport bitcoin#11773: [tests] Change feature_block.py to use BitcoinTestFramework (#3277) 2020-01-11 04:31:25 +03:00