Expand description
Utility helper functions.
Functions§
- byte_
vec_ to_ string_ vec - Convert a ByteVector to a StringVector.
- bytes_
to_ shard_ image - Deserialize bytes into shard image structure.
- generate_
random_ string - Generate a random string of variable length.
- get_
unix_ timestamp - Get unix timestamp as string.
- merge_
shard_ states - Merge two shard network states.
- read_
ini_ file - Read an INI file containing bootstrap config information.
- shard_
image_ to_ bytes - Marshall the shard network image into a ByteVector.
- string_
to_ peer_ id - Convert a peer ID string to
PeerId
. - string_
vec_ to_ byte_ vec - Convert a StringVector to a ByteVector.
- unmarshal_
messages - Unmarshall data recieved as RPC during the execution of the eventual consistency algorithm to fill in missing messages in the node’s buffer.
- write_
config - Write value into config file.