Serialize mined-block stats without taking ownership of file.
Callers must explicitly close file and check for errors after writing.
true if the statistics were written successfully.
| Name | Description |
|---|---|
| file | The file to write the mined-block statistics to. |