[#EnsureChainman]
= EnsureChainman
:mrdocs:

Get the chainstate manager from a node context, asserting it is present&period;

== Synopsis

Declared in `&lt;rpc&sol;server&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ChainstateManager.adoc[ChainstateManager]&
EnsureChainman(xref:node/NodeContext.adoc[node::NodeContext] const& node);
----

== Return Value

The node&apos;s chainstate manager&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| The node context&period;
|===


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