Struct exonum_testkit::TestNode [] [src]

pub struct TestNode { /* fields omitted */ }

An emulated node in the test network.

Methods

impl TestNode
[src]

[src]

Creates a new auditor.

[src]

Creates a new validator with the given id.

[src]

Constructs a new node from the given keypairs.

[src]

Creates a Propose message signed by this validator.

[src]

Creates a Precommit message signed by this validator.

[src]

Returns public keys of the node.

[src]

Returns the current validator id of node if it is validator of the test network.

[src]

Change node role.

[src]

Returns the service keypar.

Trait Implementations

impl Debug for TestNode
[src]

[src]

Formats the value using the given formatter.

impl Clone for TestNode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TestNode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.