This PR changes the way constraints are stored in the cache.
Before, constraints were stored in a signed form, which needed to be decoded during the building. Now it is stored in the decoded form in the first place.
fixes #51
Change the cache to type - *shardmap.FIFOMap[uint64, types.HashToConstraintDecoded]
Add function to utils for decoding constraints DecodeConstraint
Decode the constraint when received the first time from the relay and store it in the cache.
This PR changes the way constraints are stored in the cache. Before, constraints were stored in a signed form, which needed to be decoded during the building. Now it is stored in the decoded form in the first place. fixes #51
*shardmap.FIFOMap[uint64, types.HashToConstraintDecoded]
DecodeConstraint
Implementation details in the review below