[#CConnman-GetLocalServices]
= xref:CConnman.adoc[CConnman]::GetLocalServices
:relfileprefix: ../
:mrdocs:

Used to convey which local services we are offering peers during node connection&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ServiceFlags.adoc[ServiceFlags]
GetLocalServices() const;
----

== Description

The data returned by this is used in CNode construction, which is used to advertise which services we are offering that peer during `net&lowbar;processing&period;cpp&colon;PushNodeVersion()`&period;

== Return Value

the service flags we currently offer to peers&period;


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