Trait hotshot_types::traits::node_implementation::Versions
source · pub trait Versions:
Clone
+ Copy
+ Debug
+ Send
+ Sync
+ 'static {
type Base: StaticVersionType;
type Upgrade: StaticVersionType;
type Marketplace: StaticVersionType;
type Epochs: StaticVersionType;
const UPGRADE_HASH: [u8; 32];
}
Expand description
Version information for HotShot
Required Associated Types§
sourcetype Upgrade: StaticVersionType
type Upgrade: StaticVersionType
The version of HotShot this node may be upgraded to. Set equal to Base
to disable upgrades.
sourcetype Marketplace: StaticVersionType
type Marketplace: StaticVersionType
The version at which to switch over to marketplace logic
Required Associated Constants§
sourceconst UPGRADE_HASH: [u8; 32]
const UPGRADE_HASH: [u8; 32]
The hash for the upgrade.
Object Safety§
This trait is not object safe.