Struct exonum_configuration::Service [] [src]

pub struct Service {}

Configuration service.

Trait Implementations

impl Debug for Service
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Service
[src]

[src]

Returns the "default value" for a type. Read more

impl Service for Service
[src]

[src]

A comprehensive string service name. Must be unique within the blockchain. Read more

[src]

Service identifier for database schema and service messages. Must be unique within the blockchain. Read more

Important traits for Vec<u8>
[src]

Returns a list of root hashes of tables that determine the current state of the service database. These hashes are collected from all the services in a common ProofMapIndex accessible in the core schema as [state_hash_aggregator][1]. Read more

[src]

Tries to create a Transaction from the given raw message. Read more

[src]

Returns an API handler for public requests. The handler is mounted on the /api/services/{service_name} path at [the public listen address][pub-addr] of all full nodes in the blockchain network. Read more

[src]

Returns an API handler for private requests. The handler is mounted on the /api/services/{service_name} path at [the private listen address][private-addr] of all full nodes in the blockchain network. Read more

[src]

Initializes the information schema of the service and generates an initial service configuration. Called on genesis block creation. Read more

[src]

Handles block commit. This handler is invoked for each service after commit of the block. For example, a service can create one or more transactions if a specific condition has occurred. Read more

Auto Trait Implementations

impl Send for Service

impl Sync for Service