aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_message_capture.py
diff options
context:
space:
mode:
authorTroy Giorshev <troygiorshev@gmail.com>2020-07-13 16:07:13 -0400
committerTroy Giorshev <troygiorshev@gmail.com>2021-01-23 16:01:39 -0500
commite4f378a505922c0f544b4cfbfdb169e884e02be9 (patch)
treea9a927c8b86d15682cdc37581febfd9562a960a4 /test/functional/p2p_message_capture.py
parent4d1a582549bc982d55e24585b0ba06f92f21e9da (diff)
downloadbitcoin-e4f378a505922c0f544b4cfbfdb169e884e02be9.tar.xz
Add capture parser
This commit adds contrib/message-capture/message-capture-parser.py, a python script to be used alongside -capturemessages to parse the captured messages. It is complete with arguments and will parse any file given, sorting the messages in the files when creating the output. If an output file is specified with -o or --output, it will dump the messages in json format to that file, otherwise it will print to stdout. The small change to the unused msg_generic is to bring it in line with the other message classes, purely to avoid a bug in the future.
Diffstat (limited to 'test/functional/p2p_message_capture.py')
0 files changed, 0 insertions, 0 deletions