iotaledger / tips

Tangle Improvement Proposals for the IOTA technology stack.
https://iotaledger.github.io/tips
Apache License 2.0
86 stars 53 forks source link

Formally specify byte order of protocol parameters #114

Open grtlr opened 2 years ago

grtlr commented 2 years ago

As far as I can tell, we never really specify the format for protocol parameters as we do with the rest of the protocol. Right now the ground truth seems to be the implementation in iota.go: https://github.com/iotaledger/iota.go/blob/develop/protocol.go#L43-L59 and https://github.com/iotaledger/iota.go/blob/develop/rent.go#L40-L84.

We should incorporate this into a TIP so that for example INX clients and servers use the same format.