[][src]Module nip_core::util

Utility routines that don't necessarily fit anywhere else.

Functions

gen_nip_header

Returns a serialized 8-byte nip header. A version of None means the caller wants the currently running version.

init_logging

This helper function initializes logging on the supplied level unless RUST_LOG was specified

ipfs_cat

A blocking shortcut to download hash from IPFS and return the object's bytes

ipns_deref

Returns the underlying IPFS link from an IPNS record

parse_nip_header

Parse a nip header and return the protocol version.