Crate exonum [] [src]

Exonum blockchain framework.

For more information see the project readme.

Modules

api

RESTful API and corresponding utilities.

blockchain

The module containing building blocks for creating blockchains powered by the Exonum framework.

crypto

Cryptography related types and functions.

encoding

encoding is a serialization library supporting zero-copy (de)serialization of primitive types, heterogeneous structures and arrays.

explorer

Blockchain explorer module provides api for getting information about blocks and transactions from the blockchain.

helpers

Different assorted utilities.

messages

Consensus and other messages and related utilities.

node

Exonum node that performs consensus algorithm.

storage

A module that provides interfaces to work with the persisted blockchain data.

Macros

__ex_message
check_bounds

This macro checks bounds of fields for structs with custom layout.

context_key

Constructs a ContextKey from a given name.

encoding_struct

encoding_struct! macro implements a structure that can be saved in the Exonum blockchain.

implement_exonum_serializer

implement exonum serialization\deserialization based on serde Serialize\ Deserialize

implement_pod_array_field

Implement field helper for all array of POD types it writes POD type as bytearray in place.

implement_pod_as_ref_field

Implement field helper for all POD types it writes POD type as byte array in place.

implement_std_field

implement field for all types that has writer and reader functions

messages

A low-level versions of transactions! macro, which generates structs for messages, but does not require the messages to implement Transaction.

metric

Adds given metric with given value.

transactions

transactions! is used to declare a set of transactions of a particular service.