Struct exonum_btc_anchoring::AnchoringService [] [src]

pub struct AnchoringService { /* fields omitted */ }

Anchoring service implementation for the Exonum blockchain.

Methods

impl AnchoringService
[src]

[src]

Creates a new service instance with the given consensus and local configurations.

[src]

Returns an internal handler

Trait Implementations

impl Debug for AnchoringService
[src]

[src]

Formats the value using the given formatter. Read more

impl Service for AnchoringService
[src]

[src]

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

[src]

A comprehensive string service name. 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]

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

[src]

Public api implementation. See PublicApi for details.

[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

Auto Trait Implementations