Skip to content

QuantumGate::Local::EnableRelays

Karel Donk edited this page Jun 10, 2018 · 2 revisions

Enables relayed connections for the instance. When relayed connections are enabled the instance can connect to other peers via relays, and can itself participate as a relay for other peers.

Signature

Result<> EnableRelays() noexcept;

Return values

Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:

Value Description
QuantumGate::ResultCode::Succeeded The operation succeeded.
QuantumGate::ResultCode::Failed The operation failed.
QuantumGate::ResultCode::FailedNotRunning The operation failed because the QuantumGate instance wasn't running.
Clone this wiki locally