dogecoin/test/functional/test_framework
MarcoFalke 4ce2f3d0d3
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
2017-09-18 21:10:21 +02:00
..
__init__.py
address.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
authproxy.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blockstore.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blocktools.py Tests: Refactor to create witness script creation function 2017-04-20 11:28:45 -07:00
comptool.py qa: Move wait_until to util 2017-08-17 15:17:09 +02:00
coverage.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
key.py
mininode.py Merge #11323: mininode: add an optimistic write and disable nagle 2017-09-18 21:10:21 +02:00
netutil.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
script.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
siphash.py
socks5.py Use the variable name _ for unused return values 2017-08-28 15:18:14 +02:00
test_framework.py [qa] TestNode: Add wait_until_stopped helper method 2017-09-06 09:41:21 -07:00
test_node.py [test] Replace check_output with low level version 2017-09-07 00:35:28 +01:00
util.py [test] Add assert_raises_process_error to assert process errors 2017-09-07 00:35:28 +01:00