tari_ootle_common_types 0.35.0

Common types for Tari Ootle
docs.rs failed to build tari_ootle_common_types-0.35.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: tari_ootle_common_types-0.34.2

tari_ootle_common_types

Crates.io Documentation

Shared types used across the Ootle layer-2 protocol — consensus, networking, wallet, and validator node crates. Defines the core vocabulary for sharding, epochs, substate addressing, and committee membership.

Key types

Type Description
SubstateAddress 32-byte address derived from a SubstateId; determines which shard owns a piece of state
SubstateRequirement A SubstateId paired with an optional expected version, used in transaction input sets
VersionedSubstateId A SubstateId with a concrete version number
Shard / ShardGroup Shard index and contiguous shard range that a validator committee covers
NumPreshards Total number of pre-shards in the network (power of two)
Epoch Monotonically increasing consensus epoch counter
NodeHeight Block height within a shard
Committee<TAddr> Ordered set of validator addresses and their vote power for a shard group
Network Enum distinguishing Mainnet, Stagenet, Nextnet, and LocalNet

License

BSD-3-Clause. Copyright 2026 The Tari Project.