p2p packets' checksum to utilize their protobuf encoding instead of generating a JSON string.
SessionInit p2p packet fields needed for signing to be encoded via the same protobuf's scheme of the entire packet, instead of JSON. Using a subset of the fields isn't a problem with protobuf - the used fields will be encoded while the remaining ones won't exist on the binary representation.
BREAKING CHANGE: JSON encoding to use protobuf instead
Closing https://github.com/opendexnetwork/opendex/issues/34.
Changes:
SessionInit
p2p packet fields needed for signing to be encoded via the same protobuf's scheme of the entire packet, instead of JSON. Using a subset of the fields isn't a problem with protobuf - the used fields will be encoded while the remaining ones won't exist on the binary representation.BREAKING CHANGE: JSON encoding to use protobuf instead