-
Notifications
You must be signed in to change notification settings - Fork 23
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.
Result<> SetAddressReputation(const AddressReputation& addr_rep) noexcept;
Name | Description |
---|---|
addr_rep |
The address reputation information. See QuantumGate::Access::AddressReputation for more details. |
Returns a QuantumGate::Result
object equal to one of the following QuantumGate::ResultCode
s:
Value | Description |
---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::Failed |
The operation failed. |