[#AddrMan-SetServices]
= xref:AddrMan.adoc[AddrMan]::SetServices
:relfileprefix: ../
:mrdocs:

Update an entry&apos;s service bits&period;

== Synopsis

Declared in `&lt;addrman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetServices(
    xref:CService.adoc[CService] const& addr,
    xref:ServiceFlags.adoc[ServiceFlags] nServices);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *addr*
| The address whose entry should be updated&period;
| *nServices*
| The new service flags to record for the address&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
