Skip to main content

PUBLIC_HASH_VERSION

Constant PUBLIC_HASH_VERSION 

Source
pub const PUBLIC_HASH_VERSION: u32 = 1;
Expand description

The version of the public-configuration hash format.

It is mixed into every hash as the prefix line stratum.public-config.v1, so a change to the encoding can never produce a hash that collides with one made under an earlier format.