[#CChainParams-IsTestChain] = xref:CChainParams.adoc[CChainParams]::IsTestChain :relfileprefix: ../ :mrdocs: Reports whether this chain is exclusively used for testing. == Synopsis Declared in `<kernel/chainparams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool IsTestChain() const; ---- == Return Value `true` for any chain other than mainnet. [.small]#Created with https://www.mrdocs.com[MrDocs]#