pub struct ParitySetClient<C, M, F = Client> { /* private fields */ }
Expand description

Parity-specific rpc interface for operations altering the settings.

Implementations

Creates new ParitySetClient with given Fetch.

Trait Implementations

Sets new minimal gas price for mined blocks.

Sets the limits for transaction queue.

Sets the maximum amount of gas a single transaction may consume.

Sets new gas floor target for mined blocks.

Sets new gas ceiling target for mined blocks.

Sets new extra data for mined blocks.

Sets new author for mined block.

Sets the secret of engine signer account.

Unsets the engine signer account address.

Add a reserved peer.

Remove a reserved peer.

Drop all non-reserved peers.

Accept non-reserved peers (default behavior)

Start the network. Read more

Stop the network. Read more

Set the mode. Argument must be one of: “active”, “passive”, “dark”, “offline”.

Set the network spec. Argument must be one of pre-configured chains or a filename.

Hash a file content under given URL.

Removes transaction from transaction queue. Makes sense only for transactions that were not propagated to other peers yet like scheduled transactions or transactions in future. It might also work for some local transactions with to low gas price or excessive gas limit that are not accepted by other peers whp. Returns true when transaction was removed, false if it was not found. Read more

Create an IoDelegate, wiring rpc calls to the trait methods.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.