Server

start

    /// Instantiates and starts a new server. Optionally takes a callback
    /// for the server to send an ARC copy of itself, to allow another process
    /// to poll info about the server status

new

/// Instantiates a new server associated with the provided future reactor.

connect_peer

/// Asks the server to connect to a peer at the provided network address.

peer_count

/// Number of peers

start_stratum_server

/// Start a minimal "stratum" mining service on a separate thread

start_test_miner

    /// Start mining for blocks internally on a separate thread. Relies on
    /// internal miner, and should only be used for automated testing. Burns
    /// reward if wallet_listener_url is 'None'

head

/// The chain head

header_head

/// The head of the block header chain

get_server_stats

    /// Returns a set of stats about this server. This and the ServerStats
    /// structure
    /// can be updated over time to include any information needed by tests or
    /// other
    /// consumers

stop

/// Stop the server.

results matching ""

    No results matching ""