dash/src
Wladimir J. van der Laan 8fdf594316
Merge #10927: test: Make sure wallet.backup is created in temp path
88af227 test: Make sure wallet.backup is created in temp path (Wladimir J. van der Laan)

Pull request description:

  This assures that we don't overwrite a random file called `wallet.backup` that happens to be in the current directory. It also assures that the temporary file will be cleaned up.

  Noticed by Evan Klitzke, came up in discussion here: https://github.com/bitcoin/bitcoin/pull/10880#discussion_r128460722

Tree-SHA512: 2d2c23c2deba26a1130a29279b3d8565b277eb90a98a6a6d7dd4948f5cbbd5ec5453b3082e3e4e21e0e2423e642bbd2f4433e4c21032d3c8cff27ee35e87e7e7
2019-08-01 14:28:36 -05:00
..
bench #10821 continued 2019-07-24 12:12:30 -05:00
bls Fix excessive memory use when flushing chainstate and EvoDB (#3008) 2019-07-02 07:16:27 +03:00
compat Merge #9544: [trivial] Add end of namespace comments. Improve consistency. 2019-07-11 10:34:46 -05:00
config
consensus Merge bitcoin#8329: Consensus: MOVEONLY: Move functions for tx verification (#3030) 2019-07-23 12:20:23 +03:00
crypto Merge #10821: Add SSE4 optimized SHA256 2019-07-24 11:59:09 -05:00
evo add end commend for all llmq namespace 2019-07-15 13:55:01 -05:00
governance Optimize on-disk deterministic masternode storage to reduce size of evodb (#3017) 2019-07-09 08:59:57 +03:00
immer
leveldb Merge #10633: doc: Fix various typos 2019-07-11 10:34:46 -05:00
llmq add end commend for all llmq namespace 2019-07-15 13:55:01 -05:00
masternode Optimize on-disk deterministic masternode storage to reduce size of evodb (#3017) 2019-07-09 08:59:57 +03:00
obj
obj-test
policy update commented time estimates for fees 2019-07-24 12:07:03 -05:00
primitives Merge #10760: Avoid dereference-of-casted-pointer 2019-07-24 11:59:09 -05:00
privatesend Backport #8694: Basic multiwallet support (#3022) 2019-07-11 10:50:52 +03:00
qt Merge #10870: [Qt] Use wallet 0 in rpc console if running with multiple wallets 2019-08-01 14:27:47 -05:00
rpc state that getinfo will be deprecated in a future version 2019-07-25 11:20:48 -05:00
script #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
secp256k1 Merge #10633: doc: Fix various typos 2019-07-11 10:34:46 -05:00
support Merge #10631: Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class 2019-07-17 10:05:12 -05:00
test Merge #10199: Better fee estimates 2019-07-24 11:59:09 -05:00
univalue
wallet Merge #10927: test: Make sure wallet.backup is created in temp path 2019-08-01 14:28:36 -05:00
zmq add end commend for all llmq namespace 2019-07-15 13:55:01 -05:00
.clang-format \#10193 clang-format: Delete ForEachMacros 2019-07-24 11:59:09 -05:00
addrdb.cpp Merge #10248: Rewrite addrdb with less duplication using CHashVerifier 2019-07-11 10:34:46 -05:00
addrdb.h Merge #10248: Rewrite addrdb with less duplication using CHashVerifier 2019-07-11 10:34:46 -05:00
addressindex.h
addrman.cpp Merge pull request #2974 from PastaPastaPasta/backports-0.15-pr14 2019-06-19 14:30:54 +03:00
addrman.h Merge pull request #2974 from PastaPastaPasta/backports-0.15-pr14 2019-06-19 14:30:54 +03:00
amount.h Merge #9279: Consensus: Move CFeeRate out of libconsensus 2019-06-26 15:26:07 -05:00
arith_uint256.cpp Merge #10530: Fix invalid instantiation and possibly unsafe accesses of array in class base_uint<BITS> 2019-07-11 10:34:46 -05:00
arith_uint256.h Merge #10530: Fix invalid instantiation and possibly unsafe accesses of array in class base_uint<BITS> 2019-07-11 10:34:46 -05:00
base58.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
base58.h Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
batchedlogger.cpp Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
batchedlogger.h
bip39_english.h
bip39.cpp
bip39.h
blockencodings.cpp Merge #10553: Simplify "bool x = y ? true : false". Remove unused function and trailing semicolon. 2019-07-09 13:08:20 -05:00
blockencodings.h
bloom.cpp #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
bloom.h Merge #9750: Bloomfilter: parameter variables made constant 2019-06-24 11:39:34 -05:00
cachemap.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
cachemultimap.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
chain.cpp Merge #10633: doc: Fix various typos 2019-07-11 10:34:46 -05:00
chain.h
chainparams.cpp update seeds emplace_back based on code review 2019-07-12 11:34:49 -05:00
chainparams.h Merge #10446: net: avoid extra dns query per seed 2019-07-11 10:34:46 -05:00
chainparamsbase.cpp Merge #8855: Use a proper factory for creating chainparams 2019-06-26 12:45:10 -05:00
chainparamsbase.h Merge #8855: Use a proper factory for creating chainparams 2019-06-26 12:45:10 -05:00
chainparamsseeds.h
checkpoints.cpp \#10193 Introduce src/reverse_iterator.hpp and include it... 2019-07-24 11:59:09 -05:00
checkpoints.h
checkqueue.h #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
clientversion.cpp
clientversion.h Merge #10168: Fix build warning from #error text 2019-06-14 01:25:59 -05:00
coins.cpp #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
coins.h Merge #10546: Remove 33 unused Boost includes 2019-07-08 13:50:05 -05:00
compat.h
compressor.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
compressor.h
core_io.h Backport 8824 (#2968) 2019-06-11 14:42:17 +03:00
core_memusage.h Merge #10760: Avoid dereference-of-casted-pointer 2019-07-24 11:59:09 -05:00
core_read.cpp Merge #10808: Avoid some new gcc warnings in 15 2019-07-17 19:01:41 -05:00
core_write.cpp #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
ctpl.h
cuckoocache.h Merge #10577: Add an explanation of quickly hashing onto a non-power of two range. 2019-07-11 10:34:46 -05:00
cxxtimer.hpp
dash-cli-res.rc
dash-cli.cpp Merge #10883: Rename -usewallet to -rpcwallet 2019-08-01 11:36:58 -05:00
dash-tx-res.rc
dash-tx.cpp Merge #10536: Remove unreachable or otherwise redundant code 2019-07-11 10:34:46 -05:00
dashd-res.rc
dashd.cpp Merge #10832: init: Factor out AppInitLockDataDirectory and fix startup core dump issue 2019-08-01 09:02:48 -05:00
dbwrapper.cpp Merge #9544: [trivial] Add end of namespace comments. Improve consistency. 2019-07-11 10:34:46 -05:00
dbwrapper.h Optimize on-disk deterministic masternode storage to reduce size of evodb (#3017) 2019-07-09 08:59:57 +03:00
dsnotificationinterface.cpp Remove legacy InstantSend code (#3020) 2019-07-09 17:50:08 +03:00
dsnotificationinterface.h Drop CDSNotificationInterface::SyncTransaction() 2019-05-28 11:59:55 +02:00
flat-database.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
fs.cpp Merge #10546: Remove 33 unused Boost includes 2019-07-08 13:50:05 -05:00
fs.h Merge #10432: [Trivial] Add BITCOIN_FS_H endif footer in fs.h 2019-06-24 11:39:34 -05:00
hash.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
hash.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
hdchain.cpp Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
hdchain.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
httprpc.cpp Merge #10849: Multiwallet: simplest endpoint support 2019-08-01 09:05:19 -05:00
httprpc.h Merge #10568: Remove unnecessary forward class declarations in header files 2019-07-09 13:08:20 -05:00
httpserver.cpp Merge #10849: Multiwallet: simplest endpoint support 2019-08-01 09:05:19 -05:00
httpserver.h Merge #10849: Multiwallet: simplest endpoint support 2019-08-01 09:05:19 -05:00
indirectmap.h
init.cpp Merge #10832: init: Factor out AppInitLockDataDirectory and fix startup core dump issue 2019-08-01 09:02:48 -05:00
init.h Merge #10832: init: Factor out AppInitLockDataDirectory and fix startup core dump issue 2019-08-01 09:02:48 -05:00
keepass.cpp Scripted diff find src/ -name "*.cpp" ! -wholename "src/util.h" ! -wholename "src/util.cpp" | xargs perl -i -pe 's/(?<!\.)(ParseParameters|ReadConfigFile|IsArgSet|(Soft|Force)?(Get|Set)(|Bool|)Arg(s)?)\(/gArgs.\1(/g' based on bb81e17355 2019-06-24 12:03:00 -05:00
keepass.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
key.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
key.h Merge #10075: Remove unused C++ code not covered by unit tests 2019-06-14 14:47:39 -05:00
keystore.cpp Merge #10546: Remove 33 unused Boost includes 2019-07-08 13:50:05 -05:00
keystore.h Merge #10546: Remove 33 unused Boost includes 2019-07-08 13:50:05 -05:00
limitedmap.h
Makefile.am s/libbitcoin/libdash 2019-07-24 12:15:22 -05:00
Makefile.bench.include Merge #10544: Update to LevelDB 1.20 2019-07-09 13:08:20 -05:00
Makefile.leveldb.include Merge #10806: build: verify that the assembler can handle crc32 functions 2019-07-17 19:01:41 -05:00
Makefile.qt.include Backport #12783: macOS: disable AppNap during sync (and mixing) (#3024) 2019-07-15 14:38:55 +03:00
Makefile.qttest.include Merge #10295: [qt] Move some WalletModel functions into CWallet 2019-07-11 10:34:46 -05:00
Makefile.test.include Merge #10849: Multiwallet: simplest endpoint support 2019-08-01 09:05:19 -05:00
memusage.h #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
merkleblock.cpp Merge #9980: Fix mem access violation merkleblock 2019-07-24 11:59:09 -05:00
merkleblock.h Merge #9980: Fix mem access violation merkleblock 2019-07-24 11:59:09 -05:00
messagesigner.cpp Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
messagesigner.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
miner.cpp Merge bitcoin#8329: Consensus: MOVEONLY: Move functions for tx verification (#3030) 2019-07-23 12:20:23 +03:00
miner.h Merge #10568: Remove unnecessary forward class declarations in header files 2019-07-09 13:08:20 -05:00
net_processing.cpp \#10193 Introduce src/reverse_iterator.hpp and include it... 2019-07-24 11:59:09 -05:00
net_processing.h Merge #9725: CValidationInterface Cleanups 2019-05-27 09:03:19 -05:00
net.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
net.h #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
netaddress.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
netaddress.h Merge #10446: net: avoid extra dns query per seed 2019-07-11 10:34:46 -05:00
netbase.cpp Merge #10812: [utils] Allow bitcoin-cli's -rpcconnect option to be used with square brackets 2019-07-17 19:01:41 -05:00
netbase.h Merge #10812: [utils] Allow bitcoin-cli's -rpcconnect option to be used with square brackets 2019-07-17 19:01:41 -05:00
netfulfilledman.cpp Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
netfulfilledman.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
netmessagemaker.h
noui.cpp
noui.h
pow.cpp
pow.h
prevector.h \#10193 Fix const_reverse_iterator constructor (pass const ptr) 2019-07-24 11:59:09 -05:00
protocol.cpp Merge #9544: [trivial] Add end of namespace comments. Improve consistency. 2019-07-11 10:34:46 -05:00
protocol.h Merge #10842: Fix incorrect Doxygen tag (@ince → @since). Doxygen parameter name matching. 2019-07-24 11:59:09 -05:00
pubkey.cpp Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
pubkey.h
random.cpp Merge #10855: random: only use getentropy on openbsd 2019-07-24 11:59:09 -05:00
random.h Merge #10377: Use rdrand as entropy source on supported platforms 2019-07-09 13:08:21 -05:00
rest.cpp Merge #10633: doc: Fix various typos 2019-07-11 10:34:46 -05:00
reverse_iterator.h \#10193 Introduce src/reverse_iterator.hpp and include it... 2019-07-24 11:59:09 -05:00
reverselock.h
saltedhasher.cpp
saltedhasher.h
scheduler.cpp Merge #10372: Add perf counter data to GetStrongRandBytes state in scheduler 2019-06-24 11:39:34 -05:00
scheduler.h Merge #10395: Replace boost::function with std::function (C++11) 2019-06-24 11:39:34 -05:00
serialize.h Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
spentindex.h Optimize on-disk deterministic masternode storage to reduce size of evodb (#3017) 2019-07-09 08:59:57 +03:00
spork.cpp Remove legacy InstantSend code (#3020) 2019-07-09 17:50:08 +03:00
spork.h Remove legacy InstantSend code (#3020) 2019-07-09 17:50:08 +03:00
stacktraces.cpp Enable stacktrace support in gitian builds (#3006) 2019-07-02 07:16:11 +03:00
stacktraces.h Enable stacktrace support in gitian builds (#3006) 2019-07-02 07:16:11 +03:00
streams.h Merge #9804: Fixes subscript 0 (&var[0]) where should use (var.data()) instead. 2019-07-17 19:01:41 -05:00
sync.cpp #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
sync.h Merge #10546: Remove 33 unused Boost includes 2019-07-08 13:50:05 -05:00
threadinterrupt.cpp
threadinterrupt.h
threadsafety.h
timedata.cpp #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
timedata.h
tinyformat.h
torcontrol.cpp #10193 scripted-diff: Remove #include <boost/foreach.hpp> 2019-07-24 11:59:09 -05:00
torcontrol.h
txdb.cpp Merge #10760: Avoid dereference-of-casted-pointer 2019-07-24 11:59:09 -05:00
txdb.h Merge #9176: Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts() 2019-07-11 10:34:46 -05:00
txmempool.cpp Merge #10199: Better fee estimates 2019-07-24 11:59:09 -05:00
txmempool.h Merge #10685: Clarify CCoinsViewMemPool documentation. 2019-07-17 10:05:13 -05:00
ui_interface.cpp
ui_interface.h Merge #10568: Remove unnecessary forward class declarations in header files 2019-07-09 13:08:20 -05:00
uint256.cpp
uint256.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
undo.h
unordered_lru_cache.h
util.cpp Merge #10118: Util: Remove redundant calls to argsGlobal.IsArgSet() 2019-07-11 10:34:46 -05:00
util.h Merge #10842: Fix incorrect Doxygen tag (@ince → @since). Doxygen parameter name matching. 2019-07-24 11:59:09 -05:00
utilmoneystr.cpp
utilmoneystr.h
utilstrencodings.cpp Merge #10812: [utils] Allow bitcoin-cli's -rpcconnect option to be used with square brackets 2019-07-17 19:01:41 -05:00
utilstrencodings.h Merge #10812: [utils] Allow bitcoin-cli's -rpcconnect option to be used with square brackets 2019-07-17 19:01:41 -05:00
utiltime.cpp Revert " Add real timestamp to log output when mock time is enabled (#2604)" 2019-06-24 11:39:34 -05:00
utiltime.h Revert " Add real timestamp to log output when mock time is enabled (#2604)" 2019-06-24 11:39:34 -05:00
validation.cpp Revert "Skip mempool.dat when wallet is starting in "zap" mode (#2782)" 2019-07-24 12:55:09 -05:00
validation.h Merge #10864: Avoid redundant redeclaration of GetWarnings(const string&) 2019-07-24 11:59:09 -05:00
validationinterface.cpp Remove CValidationInterface::UpdatedTransaction 2019-06-14 01:25:32 -05:00
validationinterface.h add end commend for all llmq namespace 2019-07-15 13:55:01 -05:00
version.h Merge #10560: Remove unused constants 2019-07-08 13:50:05 -05:00
versionbits.cpp Merge #9544: [trivial] Add end of namespace comments. Improve consistency. 2019-07-11 10:34:46 -05:00
versionbits.h Merge #10463: Names: BIP9 vs versionbits 2019-07-08 10:23:19 -05:00
warnings.cpp Scripted diff find src/ -name "*.cpp" ! -wholename "src/util.h" ! -wholename "src/util.cpp" | xargs perl -i -pe 's/(?<!\.)(ParseParameters|ReadConfigFile|IsArgSet|(Soft|Force)?(Get|Set)(|Bool|)Arg(s)?)\(/gArgs.\1(/g' based on bb81e17355 2019-06-24 12:03:00 -05:00
warnings.h Merge #10864: Avoid redundant redeclaration of GetWarnings(const string&) 2019-07-24 11:59:09 -05:00