mirror of https://github.com/poanetwork/hbbft.git
0494b4925d
This adds a length byte to the values before padding with 0, so that we can omit the padding at the end again. Shards are not converted to the type parameter `T` anymore, because they are not necessarily valid representations of a `T` value, e.g. valid UTF-8, as in the tests. It also shortens some debug messages by printing byte arrays as hexadecimal, and eliding some bytes. |
||
---|---|---|
.. | ||
node_comms | ||
broadcast.rs | ||
netsim.rs |