Struct exonum::node::Whitelist [] [src]

pub struct Whitelist { /* fields omitted */ }

Whitelist is special set to keep peers that can connect to us.

Methods

impl Whitelist
[src]

[src]

Returns true if a peer with the given public key can connect.

[src]

Adds peer to the whitelist.

Important traits for Vec<u8>
[src]

Returns list of whitelisted peers.

[src]

Resets list of validators with the given public keys.

[src]

Returns true if whitelist is enabled, otherwise everyone can connect.

Trait Implementations

impl Debug for Whitelist
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Whitelist
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Whitelist
[src]

[src]

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

Auto Trait Implementations

impl Send for Whitelist

impl Sync for Whitelist