This reduce the number of repeated tests in p2p-segwit.py for segwit signature hashes, to prevent timeout.
I'm not sure if this is only my problem but the test always fail with timeout on my machine during "Testing segwit signature hash version 1".
This reduce the number of repeated tests in p2p-segwit.py for segwit signature hashes, to prevent timeout.
I'm not sure if this is only my problem but the test always fail with timeout on my machine during "Testing segwit signature hash version 1".
Why would repeated tests cause a timeout? Shouldn't the timeout be per test and not in total?
The error comes from https://github.com/jl2012/bitcoin/blob/67719326f70e9e421879ee6e0a2a8fbafc25c083/qa/rpc-tests/p2p-segwit.py#L1437
Unexpected exception caught during testing: ConnectionResetError(54, 'Connection reset by peer')
This pings regularly while building a big block in p2p-segwit.py, to prevent timeout
Seems it takes too long to build the block and the connection is closed. Pinging regularly could solve the problem
Sounds like a good idea
ACK 0637b02fce04c800acc6747687c91c9b22f642e5