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 persisted blockchain data.

Macros

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 an 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

message

message! specifies a datatype for digitally signed messages that can be sent in Exonum networks. The macro offers a practical way to create Transaction types, although it does not implement Transaction by itself.

metric

Adds given metric with given value.