| 1223 | } |
| 1224 | |
| 1225 | bool AppInitInterfaces(NodeContext& node) |
| 1226 | { |
| 1227 | node.chain = interfaces::MakeChain(node); |
| 1228 | // Specify wait_loaded=false so internal mining interface can be initialized |
| 1229 | // on early startup and does not need to be tied to chainstate loading. |
| 1230 | node.mining = interfaces::MakeMining(node, /*wait_loaded=*/false); |
| 1231 | return true; |
| 1232 | } |
| 1233 | |
| 1234 | bool CheckHostPortOptions(const ArgsManager& args) { |
| 1235 | for (const std::string port_option : { |