Shared Random: INT_8 means 8 bytes, not 8 bits
generate_srv should take 8 bytes of reveal_num and version, not 8 bits.
This is going to require a synchronous upgrade of our test network, isn't it?
It will also require a htonll() that works on all platforms, which we don't currently have. We should move the htonll() code from test_util.c to util.c.
We have tor_htonll() to convert to network/big-endian byte order.
(And arma shouldn't deploy shared random until this is done, right?)