[#CChainParams-Main-03] = xref:CChainParams.adoc[CChainParams]::Main :relfileprefix: ../ :mrdocs: `Main` overloads == Synopses Declared in `<kernel/chainparams.h>` Creates the mainnet chain parameters with default options. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::unique_ptr<CChainParams const> xref:CChainParams/Main-09.adoc[Main](); ---- [.small]#xref:CChainParams/Main-09.adoc[_» more..._]# Creates the mainnet chain parameters with the given options. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::unique_ptr<CChainParams const> xref:CChainParams/Main-0b.adoc[Main](xref:CChainParams/MainNetOptions.adoc[MainNetOptions] const& options); ---- [.small]#xref:CChainParams/Main-0b.adoc[_» more..._]# == Return Value Owning pointer to the mainnet chain parameters. == Parameters [cols="1,4"] |=== | Name| Description | *options* | The mainnet configuration to apply. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#