Rüdiger Klaehn 9662929f38
Debug instance for the gossipsub behaviour (#1673)
* Add debug instances for MessageCache and GossipSub behaviour

* Manual impl of Debug for GossipsubMessage

* Add pretty printing of protocol_id in debug

* Use hex_fmt instead of hex

* Inline StringOrBytes helper struct

Since it is used only once here

* Limit data of gossipsub msg to 20 bytes

Otherwise they might become very large and useless for debugging
2020-07-29 09:25:53 +02:00
..
2020-07-27 22:27:33 +02:00
2020-07-27 22:27:33 +02:00
2020-07-27 22:27:33 +02:00
2020-07-27 22:27:33 +02:00