Registry / other / consensus-types

consensus-types

JSON →
libraryrscratesunverified

Aptos consensus types.

# Cargo.toml [dependencies] consensus-types = "latest"
INSTALL
IMPORT
SIG · CONSENSUS-TYPES
C
consensus-types
otherrust
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Block
use consensus_types::block::Block;

Create a consensus block type.

use consensus_types::block::Block; fn main() { let block = Block::new(); println!("Block created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
consensus-types — cargo add consensus-types · libregistry