sendcmpct
message is quite cumbersome – due to the lack of a parameterized constructor, one needs to create an empty (that is, initialized with default values) object and then set the two fields one by one. This PR replaces the default constructor with a parameterized constructor and uses it in the test p2p_compactblocks.py
, reducing LOC. No need to pollute the namespace with temporary throw-away message objects anymore.