| 39 | } |
| 40 | |
| 41 | static fs::path SetDataDir() |
| 42 | { |
| 43 | fs::path ret = fs::temp_directory_path() / "bench_bitcoin" / fs::unique_path(); |
| 44 | fs::create_directories(ret); |
| 45 | gArgs.ForceSetArg("-datadir", ret.string()); |
| 46 | return ret; |
| 47 | } |
| 48 | |
| 49 | int main(int argc, char** argv) |
| 50 | { |