Document encoding of round in message #80
Labels
dif/easy
Someone with a little familiarity can pick up
effort/hours
Estimated to take one or several hours
kind/enhancement
A net-new feature or an improvement to an existing feature
P2
Medium: Good to have, but can wait until someone steps up
topic/docs
Documentation
First of all, thank you for the great documentation! When implementing a drand verifier in Rust, this was extremly helpful. There is one thing I needed to lookup in Go code which was not specified:
In the blocks Randomness generation and Beacon signature the message format is documented via Go code:
However, it is unclear how
currRound
is encoded to bytes. It turns out the encoding is fixed length, 8 bytes big endian. It would be good to either document that somehow or just renameroundToBytes
touint64ToBytesBigEndian
or something like that. This makes clear at first glance for non-Go developers that there is nothing special hidden inroundToBytes
.The text was updated successfully, but these errors were encountered: