It is possible for the server to send several '\n' separated messages in a single data frame. This diff adds support for this. For the current tests there is no change in behavior.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC46f7816d9a73: [chronik] Electrum: handle multiple messages in a single packet in the test…
./test/functional/test_runner.py chronik_electrum_*
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
test/functional/test_framework/jsonrpctools.py | ||
---|---|---|
120–129 ↗ | (On Diff #54009) | I probably doesn't matter much for the tests, but we could implement this a bit more efficiently by avoiding the split/join round trip. See https://www.w3schools.com/python/trypython.asp?filename=demo_ref_string_split4 |