Skip to content

QuantumGate::Access::Manager::SetAddressReputation

Karel Donk edited this page Dec 25, 2021 · 1 revision

Sets the reputation details for an address. If the reputation for the address is not (yet) being maintained by the local instance, it gets added. If the local instance was already maintaining the reputation of the address, the reputation gets updated. QuantumGate automatically adds addresses and maintains their reputation as soon as a peer connects to the local instance.

Signature

Result<> SetAddressReputation(const AddressReputation& addr_rep) noexcept;

Parameters

Name Description
addr_rep The address reputation information. See QuantumGate::Access::AddressReputation for more details.

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.
Clone this wiki locally