[#wallet-CWallet-SetBroadcastTransactions]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::SetBroadcastTransactions
:relfileprefix: ../../
:mrdocs:

Set whether this wallet broadcasts transactions&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetBroadcastTransactions(bool broadcast);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *broadcast*
| Whether the wallet should broadcast transactions&period;
|===


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