elements/src
Adam Weiss 28d76d2aea Handle leveldb::DestroyDB() errors on wipe failure
Add error checking to CLevelDBWrapper for errors from
leveldb::DestroyDB().  Without it, if unlink() or DeleteFileW() fail to
delete files, they will fail silent.  If they fail to delete any files,
CLevelDBWrapper will silently open and read the existing database.

Typically any permissions issues would be caught by leveldb as it churns
through many files as part of its compaction process, but it is
conceivable that this could cause problems on Windows with anti-virus
and indexing software.
2015-09-21 05:21:30 +00:00
..
compat Check for strnlen and provide it if it is not found. 2014-11-24 10:28:24 +01:00
config build: move bitcoin-config.h to its own directory 2014-06-21 19:47:43 +02:00
crypto Header define style cleanups 2014-11-20 17:22:06 +01:00
json json_spirit: #include <stdint.h> 2014-05-13 11:41:59 +02:00
leveldb Merge src/leveldb changes for LevelDB 1.18. 2014-10-16 12:23:50 -07:00
obj
obj-test
primitives BIP66 changeover logic 2015-02-01 17:57:38 -04:00
qt [Qt] fix a issue where "command line options"-action overwrite "Preference"-action (on OSX) 2015-03-09 11:05:43 +01:00
script Merge pull request #5714 2015-02-03 10:33:58 +01:00
secp256k1 Do not use libgmp automatically in libsecp256k1 2014-12-23 14:20:28 +01:00
test Use unique name for AlertNotify tempfile 2015-09-21 05:21:30 +00:00
univalue Fix all header defines 2014-11-03 16:16:40 +01:00
.clang-format Update coding style and add .clang-format 2014-07-28 22:08:13 +02:00
addrman.cpp Merge pull request #5119 2014-10-27 04:16:48 -07:00
addrman.h Fix all header defines 2014-11-03 16:16:40 +01:00
alert.cpp minor code style cleanup after recent merges 2014-11-04 14:36:46 +01:00
alert.h Fix all header defines 2014-11-03 16:16:40 +01:00
allocators.cpp Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
allocators.h boost: split stream classes out of serialize.h 2014-10-22 15:21:06 -04:00
amount.cpp MOVEONLY: Move CFeeRate and Amount constants to amount.o 2014-10-27 13:54:37 +01:00
amount.h MOVEONLY: Move CFeeRate and Amount constants to amount.o 2014-10-27 13:54:37 +01:00
base58.cpp Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
base58.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
bitcoin-cli-res.rc fix copyright string in two of our *.rc files 2014-07-01 12:13:37 +02:00
bitcoin-cli.cpp Disable SSLv3 (in favor of TLS) for the RPC client and server. 2014-12-06 07:08:02 -08:00
bitcoin-tx.cpp Avoid leaking file descriptors in RegisterLoad 2015-09-21 05:21:29 +00:00
bitcoind-res.rc fix copyright string in two of our *.rc files 2014-07-01 12:13:37 +02:00
bitcoind.cpp Process help and version arguments before datadir. 2014-11-22 20:46:11 +01:00
bloom.cpp MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
bloom.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
chain.cpp Update comments in chain to be doxygen compatible 2014-10-25 16:46:54 +08:00
chain.h MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
chainparams.cpp Remove bitnodes.io from dnsseeds. 2014-12-31 10:43:22 +01:00
chainparams.h MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
chainparamsbase.cpp Update comments in chainparams to be doxygen compatible 2014-10-25 17:24:16 +08:00
chainparamsbase.h Fix all header defines 2014-11-03 16:16:40 +01:00
chainparamsseeds.h Update seed IPs, based on bitcoin.sipa.be crawler data 2015-01-06 11:02:50 +01:00
checkpoints.cpp Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
checkpoints.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
checkqueue.h Acquire CCheckQueue's lock to avoid race condition 2015-02-23 19:34:24 +01:00
clientversion.cpp Update comments in version to be doxygen compatible 2014-10-31 08:20:17 +08:00
clientversion.h Bump project-wide COPYRIGHT_YEAR to 2015 2015-01-02 11:04:57 +01:00
coincontrol.h MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
coins.cpp Bugfix: only track UTXO modification after lookup 2015-01-07 13:11:54 +01:00
coins.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
compat.h Include missing config/bitcoin-config.h. 2014-11-26 08:19:07 +01:00
compressor.cpp boost: moveonly: split CPubKey and friends to new files 2014-10-31 01:19:37 -04:00
compressor.h MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
core_io.h Bugfix: prioritisetransaction: Do some basic sanity checking on txid 2014-12-31 10:53:26 +01:00
core_read.cpp Bugfix: prioritisetransaction: Do some basic sanity checking on txid 2014-12-31 10:53:26 +01:00
core_write.cpp Merge pull request #5207 2014-12-05 11:24:39 +01:00
crypter.cpp script: move CScriptID to standard.h and add a ctor for creating them from CScripts 2014-10-17 13:44:14 -04:00
crypter.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
db.cpp Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
db.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
eccryptoverify.cpp minor code style cleanup after recent merges 2014-11-04 14:36:46 +01:00
eccryptoverify.h minor code style cleanup after recent merges 2014-11-04 14:36:46 +01:00
ecwrapper.cpp Improve robustness of DER recoding code 2015-01-12 09:12:12 +01:00
ecwrapper.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
hash.cpp Split up crypto/sha2 2014-11-20 17:22:02 +01:00
hash.h Split up crypto/sha2 2014-11-20 17:22:02 +01:00
init.cpp sleep-wait on genesis block during init with -reindex 2015-01-26 12:29:56 +01:00
init.h Make comments in main an init doxygen compatible 2014-12-02 15:50:58 +08:00
key.cpp Merge pull request #5227 2014-12-01 14:57:58 +01:00
key.h Merge pull request #5227 2014-12-01 14:57:58 +01:00
keystore.cpp Update comments in keystore to be doxygen compatible 2014-10-28 12:06:59 +08:00
keystore.h boost: moveonly: split CPubKey and friends to new files 2014-10-31 01:19:37 -04:00
leveldbwrapper.cpp Handle leveldb::DestroyDB() errors on wipe failure 2015-09-21 05:21:30 +00:00
leveldbwrapper.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
limitedmap.h remove code below asserts in limitedmap.h (fixes a ToDo) 2014-09-22 09:35:40 +02:00
main.cpp Better fingerprinting protection for non-main-chain getdatas. 2015-02-26 17:14:14 +01:00
main.h remove max orphan blocks config parameter since it is no longer functional 2014-12-22 15:03:50 +01:00
Makefile.am Use EXTRA_LIBRARIES instead of noinst_LIBRARIES so we can avoid building unused code 2015-01-06 20:00:25 +00:00
Makefile.qt.include Use EXTRA_LIBRARIES instead of noinst_LIBRARIES so we can avoid building unused code 2015-01-06 20:00:25 +00:00
Makefile.qttest.include build: make a distinction between static app ldflags and static lib ldflags 2014-11-19 22:08:27 -05:00
Makefile.test.include tests: run sanity checks in tests too 2015-01-08 12:08:14 +01:00
merkleblock.cpp Move CMerkleBlock and CPartialMerkleTree to their own file 2014-12-05 01:57:40 -08:00
merkleblock.h Move CMerkleBlock and CPartialMerkleTree to their own file 2014-12-05 01:57:40 -08:00
miner.cpp MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
miner.h MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include main.h -> chain.h) 2014-10-29 21:00:05 +01:00
mruset.h Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
net.cpp Make sure LogPrint strings are line-terminated 2015-09-21 05:21:30 +00:00
net.h Limit message sizes before transfer 2015-03-09 11:13:35 +01:00
netbase.cpp Regard connection failures as attempt for addrman 2014-12-02 17:54:16 +01:00
netbase.h Regard connection failures as attempt for addrman 2014-12-02 17:54:16 +01:00
noui.cpp Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log. 2014-10-17 00:33:31 -07:00
noui.h add missing header end comments 2014-08-28 22:25:21 +02:00
pow.cpp MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
pow.h CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> GetBlockProof(CBlockIndex) 2014-10-29 21:01:07 +01:00
protocol.cpp script: add a slew of includes all around and drop includes from script.h 2014-10-17 13:44:57 -04:00
protocol.h Fix all header defines 2014-11-03 16:16:40 +01:00
pubkey.cpp Split up crypto/sha2 2014-11-20 17:22:02 +01:00
pubkey.h minor code style cleanup after recent merges 2014-11-04 14:36:46 +01:00
random.cpp Make sure that GetRandomBytes never fails 2014-11-07 13:49:25 +01:00
random.h Fix typo in doxygen comment. 2014-11-25 08:18:33 +01:00
rest.cpp [REST] /rest/block response with full tx details 2014-12-09 16:05:50 +01:00
rpcblockchain.cpp [REST] JSON output: remove block infos from tx details if it is nested in block 2014-12-09 16:05:51 +01:00
rpcclient.cpp Update comments in src/rpc* to be doxygen compatible 2014-11-20 10:19:39 +08:00
rpcclient.h Update comments in src/rpc* to be doxygen compatible 2014-11-20 10:19:39 +08:00
rpcdump.cpp Add sanity check after key generation 2014-11-23 10:47:39 +01:00
rpcmining.cpp Bugfix: prioritisetransaction: Do some basic sanity checking on txid 2014-12-31 10:53:26 +01:00
rpcmisc.cpp fix crash: createmultisig and addmultisigaddress 2015-02-20 09:53:44 +01:00
rpcnet.cpp Update comments in src/rpc* to be doxygen compatible 2014-11-20 10:19:39 +08:00
rpcprotocol.cpp Update comments in src/rpc* to be doxygen compatible 2014-11-20 10:19:39 +08:00
rpcprotocol.h [REST] give an appropriate response in warmup phase 2014-11-26 13:51:02 +01:00
rpcrawtransaction.cpp Avoid storing a reference passed to SignatureChecker constructors 2015-02-03 08:52:13 +01:00
rpcserver.cpp Sanitize command strings before logging them. 2015-02-24 08:40:07 +01:00
rpcserver.h Add 'invalidateblock' and 'reconsiderblock' RPC commands. 2014-11-26 16:36:25 +01:00
rpcwallet.cpp Use RPC_INVALID_PARAMETER instead of RPC_WALLET_ERROR for invalid amount. 2014-12-05 17:22:06 +01:00
serialize.h Update serialize comments to be doxygen compatible 2014-10-31 13:07:05 +08:00
streams.h boost: split stream classes out of serialize.h 2014-10-22 15:21:06 -04:00
sync.cpp Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
sync.h Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
threadsafety.h Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
timedata.cpp Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
timedata.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
tinyformat.h Move *Version() functions to version.h/cpp 2014-08-26 13:25:21 +02:00
txdb.cpp MOVEONLY: Separate CTransaction and dependencies from core 2014-10-27 13:54:37 +01:00
txdb.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
txmempool.cpp Apply AreSane() checks to the fees from the network. 2014-12-23 12:30:14 +01:00
txmempool.h Remove txn which are invalidated by coinbase maturity during reorg 2014-12-08 14:05:42 -08:00
ui_interface.h Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log. 2014-10-17 00:33:31 -07:00
uint256.cpp Apply clang-format on some infrequently-updated files 2014-09-19 19:21:46 +02:00
uint256.h Convert remaining comments in /src to doxygen format 2014-11-21 14:44:21 +01:00
undo.h MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
util.cpp Update comments in util to be doxygen compatible 2014-11-17 11:04:01 +08:00
util.h Squashed 'src/secp256k1/' changes from ad2028f..b0210a9 2014-12-04 19:17:07 +01:00
utilmoneystr.cpp MOVEONLY: core/ -> primitives/ 2014-12-03 10:52:58 +00:00
utilmoneystr.h Update comments in util to be doxygen compatible 2014-11-17 11:04:01 +08:00
utilstrencodings.cpp Format paragraphs properly - count the space between words. 2014-12-06 21:26:52 +01:00
utilstrencodings.h Update comments in util to be doxygen compatible 2014-11-17 11:04:01 +08:00
utiltime.cpp Update comments in util to be doxygen compatible 2014-11-17 11:04:01 +08:00
utiltime.h Update comments in util to be doxygen compatible 2014-11-17 11:04:01 +08:00
version.h Update comments in version to be doxygen compatible 2014-10-31 08:20:17 +08:00
wallet.cpp Fix priority calculation in CreateTransaction 2015-02-03 09:04:20 +01:00
wallet.h Enforce minRelayTxFee on wallet created tx and add a maxtxfee option. 2014-12-23 12:12:40 +01:00
wallet_ismine.cpp boost: moveonly: split CPubKey and friends to new files 2014-10-31 01:19:37 -04:00
wallet_ismine.h Fix all header defines 2014-11-03 16:16:40 +01:00
walletdb.cpp boost: drop dependency on tuple in serialization 2014-10-15 15:13:19 -04:00
walletdb.h [Wallet] Watch-only fixes 2014-10-03 04:29:51 +02:00