Crate pchain_types

Source
Expand description

Rust implementations of the data types defined in the ParallelChain Protocol, including transactions, blocks, cryptographic primitives, and RPC requests and responses.

§Organization

The organization of this library into modules mirror the organization of the protocol specification into chapters. For example, transactions, which are specified in the “Blockchain” chapter of the specification, are defined in the blockchain module of this library. The exception are the cryptographic primitives specified in the Blockchain chapter, which are here defined in its own module.

Modules§

blockchain
Types which appear in blocks like transactions and receipts, and also blocks themselves.
cryptography
Cryptographic primitives like keypairs and SHA256 hashes.
rpc
RPC requests and responses, and the additional types included in them.
runtime
Inputs of transaction commands as structures.
serialization
Traits for deterministic serialization of protocol-defined types.