pub async fn wait_for_node(
node: &(impl AztecNode + ?Sized),
) -> Result<NodeInfo, Error>Expand description
Wait for the node to become ready by retrying get_node_info.
Uses a default timeout of 120 seconds with a 1 second polling interval.
Returns the NodeInfo on success, or a timeout error.