[#btck_chain_parameters_create_signet]
= btck&lowbar;chain&lowbar;parameters&lowbar;create&lowbar;signet
:mrdocs:

Create a signet chain parameters struct with a user&hyphen;provided challenge&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:btck_ChainParameters-0f.adoc[btck&lowbar;ChainParameters]*
btck&lowbar;chain&lowbar;parameters&lowbar;create&lowbar;signet(
    void const* challenge,
    size&lowbar;t challenge&lowbar;len);
----

== Return Value

An allocated chain parameters opaque struct&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *challenge* [in]
| The signet challenge value&period; Blocks must satisfy it in order to be valid&period;
| *challenge&lowbar;len* [in]
| The length of the signet challenge&period;
|===


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