mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-23 12:29:23 +01:00
A message can be broken across two buffers, with the split inside its header. Usually this will occur when sending many messages, such that the first buffer fills. This test uses the RPC to verify that the message is actually being received in two pieces. There is a very rare chance of a race condition where the test framework sends a message in between the two halves of the message under test. In this case the peer will almost certainly disconnect and the test will fail. An assert has been added to help debugging that rare case.
6.4 KiB
Executable File
6.4 KiB
Executable File