dash/src
Wladimir J. van der Laan 203a0cfa7c rpc: Make sure conn object is always cleaned up
Make sure conn object always gets cleaned up by using a
`boost::shared_ptr`.

This makes valgrind happy - before this commit, one connection object
always leaked at shutdown, as well as can avoid other leaks, when
for example an exception happens.

Also add an explicit Close() to the !ClientAllowed path to make it similar
to the normal path (I'm not sure whether it is needed, but it
can't hurt).

Rebased-By: Wladimir J. van der Laan
Rebased-From: 1a44522
2014-05-12 17:56:55 +02:00
..
compat build: add symbol for upcoming gcc 4.9's libstdc++ 2014-04-11 19:02:01 -04:00
json
leveldb Squashed 'src/leveldb/' changes from 9094c7f..7924331 2014-05-12 11:30:33 +02:00
m4 Bugfix: configure: Look in libx32 subdirectory for boost libraries 2014-04-09 12:59:17 +00:00
obj
obj-test
qt Merge pull request #4136 2014-05-09 12:31:57 +02:00
test Move base58.h implementation code to base58.cpp 2014-05-12 14:57:02 +02:00
addrman.cpp Remove redundant .c_str()s 2014-01-23 16:05:01 +01:00
addrman.h
alert.cpp Fixed compile error on Debian jessie (gcc version 4.8.2 (Debian 4.8.2-16)) 2014-03-18 22:54:47 +01:00
alert.h
allocators.cpp
allocators.h
base58.cpp Move base58.h implementation code to base58.cpp 2014-05-12 14:57:02 +02:00
base58.h Move base58.h implementation code to base58.cpp 2014-05-12 14:57:02 +02:00
bignum.h
bitcoin-cli-res.rc qt: Update remaining "The Bitcoin Core Developers" 2014-01-14 11:19:52 +01:00
bitcoin-cli.cpp Show error message if ReadConfigFile fails 2014-04-07 10:16:09 +02:00
bitcoind-res.rc qt: Update remaining "The Bitcoin Core Developers" 2014-01-14 11:19:52 +01:00
bitcoind.cpp Show error message if ReadConfigFile fails 2014-04-07 10:16:09 +02:00
bloom.cpp Fix bloom filter not to use bit_mask 2014-03-20 13:21:23 +09:00
bloom.h
chainparams.cpp Add new DNS seed from bitnodes.io. 2014-03-15 14:15:40 +11:00
chainparams.h
checkpoints.cpp [Qt] rescan progress 2014-04-02 03:48:07 +02:00
checkpoints.h [Qt] rescan progress 2014-04-02 03:48:07 +02:00
checkqueue.h
clientversion.h Bump version numbers for 0.9.2 branch split-off 2014-05-09 15:52:48 +02:00
coincontrol.h Coincontrol cleanup (e.g. add missing license) 2013-11-18 08:16:12 +01:00
coins.cpp Add verbose boolean to getrawmempool 2013-11-30 15:42:10 +10:00
coins.h Add verbose boolean to getrawmempool 2013-11-30 15:42:10 +10:00
compat.h reorder includes to compile on OpenBSD 2014-05-02 20:45:03 +02:00
core.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
core.h Merge pull request #3305 from mikehearn/fee_drop 2014-02-24 14:05:54 -05:00
crypter.cpp Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
crypter.h Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
db.cpp unified and better log/error messages for CDBEnv/CDB 2014-04-01 09:41:49 +02:00
db.h Move CAddrDB frrom db to net 2013-12-04 12:46:13 +01:00
hash.cpp
hash.h
init.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
init.h Allow -noserver with bitcoind 2013-12-20 16:07:33 +01:00
key.cpp Sanitize assert usage and refuse to compile with NDEBUG. 2013-12-02 11:33:44 -08:00
key.h Document that CPubKey.IsValid() is consensus critical 2014-02-25 09:31:43 -05:00
keystore.cpp Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
keystore.h Update moved and dead links 2014-03-24 20:26:02 +00:00
leveldbwrapper.cpp Wrap create_directory calls in try...catch blocks. 2014-03-31 09:51:58 +02:00
leveldbwrapper.h
limitedmap.h
main.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
main.h use standard __func__ instead of __PRETTY_FUNCTION__ 2014-04-30 14:45:24 +02:00
Makefile.am Merge pull request #4042 2014-04-22 16:24:43 +02:00
Makefile.include don't use sed's -i option to stay posix compliant 2014-05-02 21:32:12 +02:00
miner.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
miner.h setgenerate creates multiple blocks in -regtest mode 2013-11-22 09:51:13 +10:00
mruset.h
net.cpp rpc: add getblockchaininfo and getnetworkinfo 2014-05-06 09:34:54 +02:00
net.h rpc: add getblockchaininfo and getnetworkinfo 2014-05-06 09:34:54 +02:00
netbase.cpp Remove build-time no-IPv6 setting 2014-05-01 12:15:36 +02:00
netbase.h Remove build-time no-IPv6 setting 2014-05-01 12:15:36 +02:00
noui.cpp Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. 2014-02-09 21:06:06 -05:00
noui.h
protocol.cpp Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. 2014-02-09 21:06:06 -05:00
protocol.h
rpcblockchain.cpp rpc: add getblockchaininfo and getnetworkinfo 2014-05-06 09:34:54 +02:00
rpcclient.cpp improve command-line options output 2014-03-25 13:09:20 +01:00
rpcclient.h bitcoin-cli: remove unneeded dependencies (only code movement) 2013-12-03 09:07:13 +01:00
rpcdump.cpp [Qt] importwallet progress 2014-04-23 01:50:25 +02:00
rpcmining.cpp RPC command getmininginfo showing right genproclimit 2014-03-22 15:03:06 +01:00
rpcmisc.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
rpcnet.cpp rpc: add getblockchaininfo and getnetworkinfo 2014-05-06 09:34:54 +02:00
rpcprotocol.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
rpcprotocol.h 'sendrawtransaction' improvements 2014-03-27 12:33:55 +01:00
rpcrawtransaction.cpp Typo Fix In decoderawtransaction Help: s/txid/hex/ 2014-05-08 11:49:02 +02:00
rpcserver.cpp rpc: Make sure conn object is always cleaned up 2014-05-12 17:56:55 +02:00
rpcserver.h rpc: add getblockchaininfo and getnetworkinfo 2014-05-06 09:34:54 +02:00
rpcwallet.cpp fixes #4163 2014-05-12 08:26:52 +02:00
script.cpp script: reduce OP_RETURN standard relay bytes to 40 2014-02-26 12:58:08 -05:00
script.h script: reduce OP_RETURN standard relay bytes to 40 2014-02-26 12:58:08 -05:00
serialize.h remove an assignment which is never used. 2014-03-28 20:22:00 +09:00
sync.cpp Wallet locking fixes for -DDEBUG_LOCKORDER 2014-02-18 12:11:46 -05:00
sync.h Use mutex pointer instead of name for AssertLockHeld 2013-12-19 09:46:11 +01:00
threadsafety.h
tinyformat.h Make tinyformat errors raise an exception instead of assert()ing 2014-02-28 09:25:00 +01:00
txdb.cpp use standard __func__ instead of __PRETTY_FUNCTION__ 2014-04-30 14:45:24 +02:00
txdb.h Change new constants in txdb.h to int64_t 2014-02-18 17:13:32 +01:00
txmempool.cpp Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
txmempool.h Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
ui_interface.h [Qt] rescan progress 2014-04-02 03:48:07 +02:00
uint256.h Unittests for uint256.h 2013-12-25 11:07:21 +01:00
util.cpp Wrap create_directory calls in try...catch blocks. 2014-03-31 09:51:58 +02:00
util.h Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
version.cpp VERSION obtained from source instead of the previous git tag. 2014-04-15 21:48:44 -10:00
version.h
wallet.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
wallet.h add DEFAULT_TRANSACTION_FEE constant in wallet 2014-05-05 20:54:00 +02:00
walletdb.cpp Remove dummy PRIszX macros for formatting 2014-05-12 14:02:43 +02:00
walletdb.h Add -zapwallettxes cli/config option, used for wallet recovery 2014-02-14 11:33:07 -05:00