fission-codes / go-car-mirror

Generic Go implementation of the CAR Mirror protocol
Apache License 2.0
4 stars 0 forks source link

Mock blocks message #22

Closed softwareplumber closed 1 year ago

softwareplumber commented 1 year ago

Use new messages.BlocksMessage instead of ad-hoc struct in core_test; implement serialization/deserialization and fake network delay in order to make tests more realistic.