It does write but to a temp directory created in test_bitcoin.cpp, so it does not touch the user's wallet