0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-08 14:34:53 -05:00
bitcoin-core/src
Kaz Wesley 1e2c29f263 prevector: destroy elements only via erase()
Fixes a bug in which pop_back did not call the deleted item's destructor.

Using the most general erase() implementation to implement all the others
prevents similar bugs because the coupling between deallocation and destructor
invocation only needs to be maintained in one place.
Also reduces duplication of complex memmove logic.
2016-04-16 08:05:11 -07:00
..
bench [Trivial] ensure minimal header conventions 2015-10-27 17:44:13 +01:00
compat Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
config
consensus Add CHECKSEQUENCEVERIFY softfork through BIP9 2016-03-18 08:09:06 +00:00
crypto build: Endian compatibility 2015-03-06 15:54:53 +01:00
leveldb Update LevelDB 2015-11-04 23:46:47 +01:00
obj
obj-test
policy Merge #7812: Tiny refactor of IsRBFOptIn, avoid exception 2016-04-14 16:35:02 +02:00
primitives Merge #7763: Put hex-encoded version in UpdateTip 2016-03-31 13:24:50 +02:00
qt Merge #7707: [RPC][QT] UI support for abandoned transactions 2016-04-04 09:58:33 +02:00
rpc Merge #7756: Add cursor to iterate over utxo set, use this in gettxoutsetinfo 2016-04-15 16:43:21 +02:00
script [doc] Fix doxygen comments for members 2016-04-03 11:58:01 +02:00
secp256k1 Merge commit '5ad54630935d1f340666de7bc9ffef9b8a1df296' into HEAD 2015-11-24 09:22:18 +01:00
support Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
test Merge #7756: Add cursor to iterate over utxo set, use this in gettxoutsetinfo 2016-04-15 16:43:21 +02:00
univalue Merge commit '982709199f1b4e9e35211c419a81938f9f1dd4ed' into bitcoin 2015-12-02 12:28:48 +01:00
wallet Add lockUnspents option to fundrawtransaction 2016-04-15 15:36:05 +02:00
zmq Fixes ZMQ startup with bad arguments. 2016-02-29 13:34:09 -05:00
.clang-format [trivial] clang-format: Set AlignAfterOpenBracket: false 2015-11-05 23:28:02 +01:00
addrman.cpp Merge #7212: Adds unittests for CAddrMan and CAddrinfo, removes source of non-determinism. 2016-01-28 13:14:07 +01:00
addrman.h Merge #7212: Adds unittests for CAddrMan and CAddrinfo, removes source of non-determinism. 2016-01-28 13:14:07 +01:00
amount.cpp [amount] Add support for negative fee rates 2016-04-08 19:59:53 +02:00
amount.h [amount] Add support for negative fee rates 2016-04-08 19:59:53 +02:00
arith_uint256.cpp src/arith_256.cpp: bigendian compatibility 2015-03-06 17:21:59 +01:00
arith_uint256.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
base58.cpp Improve EncodeBase58 performance 2016-03-09 10:10:36 +00:00
base58.h add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
bitcoin-cli-res.rc Unify package name to as few places as possible without major changes 2015-12-14 02:11:10 +00:00
bitcoin-cli.cpp rpc: Input-from-stdin mode for bitcoin-cli 2016-02-24 10:12:25 +01:00
bitcoin-tx-res.rc Update Windows resource files (and add one for bitcoin-tx) 2015-05-22 02:56:55 +00:00
bitcoin-tx.cpp Merge branch 'master' into single_prodname 2016-02-03 05:41:13 +00:00
bitcoind-res.rc Update Windows resource files (and add one for bitcoin-tx) 2015-05-22 02:56:55 +00:00
bitcoind.cpp Merge branch 'master' into single_prodname 2016-02-03 05:41:13 +00:00
bloom.cpp Merge pull request #7205 2016-01-05 14:11:40 +01:00
bloom.h Merge pull request #7205 2016-01-05 14:11:40 +01:00
chain.cpp MOVEONLY: non-consensus: from pow to chain: 2016-01-12 13:43:14 +01:00
chain.h BIP9 Implementation 2016-03-15 16:54:38 +01:00
chainparams.cpp [doc] Fix doxygen comments for members 2016-04-03 11:58:01 +02:00
chainparams.h Remove alert keys 2016-03-18 19:55:16 +00:00
chainparamsbase.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
chainparamsbase.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
chainparamsseeds.h net: Hardcoded seeds update January 2016 2016-01-25 16:14:14 +01:00
checkpoints.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
checkpoints.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
checkqueue.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
clientversion.cpp
clientversion.h Merge branch 'master' into single_prodname 2016-02-03 05:41:13 +00:00
coincontrol.h Use CCoinControl selection in CWallet::FundTransaction 2016-03-08 15:14:47 +00:00
coins.cpp txdb: Add Cursor() method to CCoinsView to iterate over UTXO set 2016-04-15 16:33:05 +02:00
coins.h txdb: Add Cursor() method to CCoinsView to iterate over UTXO set 2016-04-15 16:33:05 +02:00
compat.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
compressor.cpp
compressor.h
core_io.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
core_memusage.h Prevector type 2015-11-13 18:15:20 +01:00
core_read.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
core_write.cpp Fix formatting of NOPs for generated script tests 2016-04-05 14:54:37 +02:00
dbwrapper.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
dbwrapper.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
hash.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
hash.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
httprpc.cpp Make sure LogPrintf strings are line-terminated 2016-03-01 14:59:30 +01:00
httprpc.h evhttpd implementation 2015-09-03 10:59:18 +02:00
httpserver.cpp move rpc* to rpc/ 2016-01-21 08:36:55 +11:00
httpserver.h http: speed up shutdown 2015-11-13 11:10:48 +01:00
init.cpp Merge #7691: [Wallet] refactor wallet/init interaction 2016-04-02 11:07:39 +02:00
init.h [Wallet] refactor wallet/init interaction 2016-03-22 08:20:59 +01:00
key.cpp add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
key.h add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
keystore.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
keystore.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
limitedmap.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
main.cpp Merge #7856: Only send one GetAddr response per connection. 2016-04-15 09:03:17 +02:00
main.h Reduce block timeout to 10 minutes 2016-04-07 13:22:27 +02:00
Makefile.am Use relative paths instead of absolute paths 2016-04-04 19:56:59 +02:00
Makefile.bench.include Merge #7349: Build against system UniValue when available 2016-02-04 17:43:19 +01:00
Makefile.qt.include Merge #7707: [RPC][QT] UI support for abandoned transactions 2016-04-04 09:58:33 +02:00
Makefile.qttest.include Build: Consensus: Move consensus files from common to its own module/package 2015-12-08 06:30:14 +01:00
Makefile.test.include Merge script_valid and script_invalid tests 2016-04-05 16:11:47 +02:00
memusage.h Prevector type 2015-11-13 18:15:20 +01:00
merkleblock.cpp Add importprunedfunds rpc call 2016-03-23 10:40:38 -04:00
merkleblock.h Add importprunedfunds rpc call 2016-03-23 10:40:38 -04:00
miner.cpp BIP9 Implementation 2016-03-15 16:54:38 +01:00
miner.h Remove internal miner 2016-02-10 18:29:13 -08:00
net.cpp Merge #7856: Only send one GetAddr response per connection. 2016-04-15 09:03:17 +02:00
net.h Merge #7856: Only send one GetAddr response per connection. 2016-04-15 09:03:17 +02:00
netbase.cpp Net: Add IPv6 Link-Local Address Support 2016-04-05 22:26:38 +00:00
netbase.h Net: Add IPv6 Link-Local Address Support 2016-04-05 22:26:38 +00:00
noui.cpp
noui.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
pow.cpp Consensus: Decouple pow.cpp from util.h 2016-02-04 19:21:55 +01:00
pow.h Merge #7311: MOVEONLY: Move non-consensus functions out of pow 2016-02-02 14:16:16 +01:00
prevector.h prevector: destroy elements only via erase() 2016-04-16 08:05:11 -07:00
protocol.cpp Implement "feefilter" P2P message. 2016-03-21 10:46:25 -04:00
protocol.h Implement "feefilter" P2P message. 2016-03-21 10:46:25 -04:00
pubkey.cpp add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
pubkey.h add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
random.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
random.h
rest.cpp rpc: Register calls where they are defined 2016-03-31 10:48:32 +02:00
reverselock.h c++11: don't throw from the reverselock destructor 2016-01-05 17:17:29 -05:00
scheduler.cpp Replace boost::reverse_lock with our own. 2015-09-03 15:13:40 -04:00
scheduler.h More robust CScheduler unit test 2015-05-16 17:59:23 -04:00
serialize.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
streams.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
sync.cpp Clean up lockorder data of destroyed mutexes 2016-04-10 14:27:10 +02:00
sync.h Clean up lockorder data of destroyed mutexes 2016-04-10 14:27:10 +02:00
threadsafety.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
timedata.cpp P2P: add maxtimeadjustment command line option 2016-03-29 14:40:00 +00:00
timedata.h P2P: add maxtimeadjustment command line option 2016-03-29 14:40:00 +00:00
tinyformat.h
torcontrol.cpp Fix torcontrol.cpp unused private field warning 2016-03-14 16:07:42 +01:00
torcontrol.h torcontrol improvements and fixes 2015-11-12 17:58:15 +01:00
txdb.cpp txdb: Add Cursor() method to CCoinsView to iterate over UTXO set 2016-04-15 16:33:05 +02:00
txdb.h txdb: Add Cursor() method to CCoinsView to iterate over UTXO set 2016-04-15 16:33:05 +02:00
txmempool.cpp Implement "feefilter" P2P message. 2016-03-21 10:46:25 -04:00
txmempool.h [doc] Fix doxygen comments for members 2016-04-03 11:58:01 +02:00
ui_interface.h Update alert notification and GUI 2016-03-18 19:33:59 +00:00
uint256.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
uint256.h Improve COutPoint less operator 2016-03-18 08:03:55 +00:00
undo.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
util.cpp Removed call to TryCreateDirectory from GetDefaultDataDir in src/util.cpp. 2016-04-13 00:11:47 +01:00
util.h Move GetTempPath() to testutil. 2016-03-11 15:04:05 +00:00
utilmoneystr.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
utilmoneystr.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
utilstrencodings.cpp Merge branch 'master' into single_prodname 2016-02-03 05:41:13 +00:00
utilstrencodings.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
utiltime.cpp [doc] Fix doxygen comments for members 2016-04-03 11:58:01 +02:00
utiltime.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
validationinterface.cpp include the chaintip *blockIndex in the SyncTransaction signal 2015-12-04 09:18:53 +01:00
validationinterface.h Merge #6480: include the chaintip blockindex in the SyncTransaction signal, add signal UpdateTip() 2016-02-04 17:03:09 +01:00
version.h Implement "feefilter" P2P message. 2016-03-21 10:46:25 -04:00
versionbits.cpp Fix typo: Optimizaton -> Optimization 2016-04-01 21:31:48 +02:00
versionbits.h BIP9 Implementation 2016-03-15 16:54:38 +01:00