Expand description

library crate protocol-types uses Protocol Buffers to define common, language agnostic types that are part of the core semantics of Mainnet (e.g., Transactions).

PROST! (a Rust implementation of Protocol Buffers) allow users of this crate to easily deserialize these wire types into easy-to-use Rust types, and vice versa: convert these Rust-types into vectors of bytes transportable over the wire.

run cargo doc --open to view rich documentation on the available types (these are difficult to view in an IDE, since the prost_build process is opaque and inclusion of the generated code is through an include! macro).

Re-exports

pub use sc_params::*;
pub use crypto::*;
pub use transaction::*;

Modules