Get the mining interface from a node context, asserting it is present.
Synopsis
Declared in <rpc/server_util.h>
interfaces::Mining&
EnsureMining(node::NodeContext const& node);
Return Value
The node's mining interface.
Parameters
Name |
Description |
node |
The node context. |
Created with MrDocs