Adds a fuzz test for the DifferenceFormatter
(used in BlockTransactionsRequest
, BIP 152). The DifferenceFormatter class implements differential encoding for compact block transactions (BIP 152). This PR ensures that its strictly-monotonic property is maintained. It complements the tests in blocktransactionsrequest_deserialize
.
Additionally, there’s an added invariant check after GETBLOCKTXN deserialization in net_processing.cpp
.