Trait ethcore_rpc::v1::traits::parity_set::ParitySet []

pub trait ParitySet: Sized + Send + Sync + 'static {
    fn set_min_gas_price(&self, U256) -> Result<bool, Error>;
    fn set_gas_floor_target(&self, U256) -> Result<bool, Error>;
    fn set_gas_ceil_target(&self, U256) -> Result<bool, Error>;
    fn set_extra_data(&self, Bytes) -> Result<bool, Error>;
    fn set_author(&self, H160) -> Result<bool, Error>;
    fn set_engine_signer(&self, H160, String) -> Result<bool, Error>;
    fn set_transactions_limit(&self, usize) -> Result<bool, Error>;
    fn set_tx_gas_limit(&self, U256) -> Result<bool, Error>;
    fn add_reserved_peer(&self, String) -> Result<bool, Error>;
    fn remove_reserved_peer(&self, String) -> Result<bool, Error>;
    fn drop_non_reserved_peers(&self) -> Result<bool, Error>;
    fn accept_non_reserved_peers(&self) -> Result<bool, Error>;
    fn start_network(&self) -> Result<bool, Error>;
    fn stop_network(&self) -> Result<bool, Error>;
    fn set_mode(&self, String) -> Result<bool, Error>;
    fn hash_content(&self, String) -> BoxFuture<H256, Error>;
    fn upgrade_ready(&self) -> Result<Option<ReleaseInfo>, Error>;
    fn execute_upgrade(&self) -> Result<bool, Error>;

    fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}

Parity-specific rpc interface for operations altering the settings.

Required Methods

Sets new minimal gas price for mined blocks.

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 account for signing consensus messages.

Sets the limits for transaction queue.

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

Add a reserved peer.

Remove a reserved peer.

Drop all non-reserved peers.

Accept non-reserved peers (default behavior)

Start the network.

Deprecated. Use set_mode("active") instead.

Stop the network.

Deprecated. Use set_mode("offline") instead.

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

Hash a file content under given URL.

Is there a release ready for install?

Execute a release which is ready according to upgrade_ready().

Provided Methods

Transform this into an IoDelegate, automatically wrapping the parameters.

Implementors