Modules§
- reachability
- Reachability assertions whose “must be hit” expectation is decided at runtime from the protocol config, rather than at compile time.
Macros§
- assert_
reachable_ gated - Like
mysten_common::assert_reachable!, but only expected to be reached under protocol configs satisfying$expected_reachable. See the module docs. - check_
limit - check_
limit_ by_ meter - Used to check which limits were crossed if the TX is metered (not system tx) Args are: is_metered, value_to_check, metered_limit, unmetered_limit metered_limit is always less than or equal to unmetered_hard_limit
Structs§
- Aliased
Address - An aliased address.
- Error
- Execution
Time Estimate Params - Override
Guard - Protocol
Config - Constants that change the behavior of the protocol.
- Protocol
Config Optional - Protocol
Version
Enums§
- Chain
- Consensus
Choice - Consensus
Network - Consensus
Transaction Ordering - Ordering mechanism for transactions in one Narwhal consensus output.
- Limit
Threshold Crossed - Defines which limit got crossed. The value which crossed the limit and value of the limit crossed are embedded
- PerObject
Congestion Control Mode - Protocol
Config Value
Functions§
- check_
limit_ in_ range - Convenience function for comparing limit ranges V::MAX must be at >= U::MAX and T::MAX