Commit graph

7 commits

Author SHA1 Message Date
Wladimir J. van der Laan d98777f302
Merge #14146: wallet: Remove trailing separators from -walletdir arg
2d471636eb wallet: Remove trailing separators from -walletdir arg (Pierre Rochard)
ea3009ee94 wallet: Add walletdir arg unit tests (Pierre Rochard)

Pull request description:

  If a user passes in a path with a trailing separator as the `walletdir`, multiple BerkeleyEnvironments may be created in the same directory which can lead to data corruption.

  Discovered while reviewing https://github.com/bitcoin/bitcoin/pull/12493#issuecomment-417147646

Tree-SHA512: f2bbf1749d904fd3f326b88f2ead58c8386034355910906d7faea155d518642e9cd4ceb3cae272f2d9d8feb61f126523e1c97502799d24e4315bb53e49fd7c09
2018-10-18 10:58:59 +02:00
Chun Kuan Lee 43c7fbb1e7 Make MSVC compiler read the source code using utf-8 2018-09-26 08:47:42 +08:00
Pierre Rochard ea3009ee94 wallet: Add walletdir arg unit tests 2018-09-12 21:05:53 -04:00
Chun Kuan Lee e4a79b4b3a appveyor: Use clcache to speed up build 2018-09-03 23:55:00 +08:00
Chun Kuan Lee 0b16f679d5 auto generate MSVC project files 2018-08-26 23:54:26 +08:00
Chun Kuan Lee 1f6ff04e59 Use wildcard path in test_bitcoin.vcxproj 2018-08-14 20:46:35 +00:00
Aaron Clauson ef7beaea6a Visual Studio build configuration for Bitcoin Core 2018-08-10 09:19:00 +02:00