lbrycrd/src
Pieter Wuille e484652fc3 Introduce CHashVerifier to hash read data
This is necessary later, when we drop the nVersion field from the undo
data. At that point deserializing and reserializing the data won't
roundtrip anymore, and thus that approach can't be used to verify
checksums anymore.

With this CHashVerifier approach, we can deserialize while hashing the
exact serialized form that was used. This is both more efficient and
more correct in that case.
2017-05-26 13:24:25 -07:00
..
bench Replace boost::function with std::function (C++11) 2017-05-13 17:59:09 +02:00
compat Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
config
consensus MOVEONLY: tx functions to consensus/tx_verify.o 2017-04-06 23:36:46 +02:00
crypto Add a FastRandomContext::randrange and use it 2017-03-29 11:26:08 -07:00
leveldb Merge in LevelDB 1.19 changes 2016-12-01 16:14:45 -08:00
obj
obj-test
policy Merge #10419: [trivial] Fix three recently introduced typos 2017-05-26 11:56:21 -07:00
primitives Consensus: Minimal way to move dust out of consensus 2017-05-03 17:55:52 +02:00
qt Add Qt tests for wallet spends & bumpfee 2017-05-23 12:39:50 -05:00
rpc Merge #9571: RPC: getblockchaininfo returns BIP signaling statistics 2017-05-23 19:12:29 +02:00
script Merge #10313: [Consensus] Add constant for maximum stack size 2017-05-23 14:35:52 -07:00
secp256k1 Update libsecp256k1 to master 2016-12-12 11:08:47 -08:00
support [wallet] Securely erase potentially sensitive keys/values 2017-05-03 11:35:51 -07:00
test error() in disconnect for disk corruption, not inconsistency 2017-05-26 13:24:25 -07:00
univalue Merge commit '2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0' into HEAD 2016-09-30 19:58:11 +02:00
wallet Merge #10419: [trivial] Fix three recently introduced typos 2017-05-26 11:56:21 -07:00
zmq Missing includes 2017-04-13 02:31:44 +02:00
.clang-format [doc] Remove unused clang format dev script 2017-01-28 16:57:08 +01:00
addrdb.cpp Use fsbridge for fopen and freopen 2017-04-03 12:32:32 +02:00
addrdb.h Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
addrman.cpp Merge #9792: FastRandomContext improvements and switch to ChaCha20 2017-04-24 14:28:49 +02:00
addrman.h Merge #9792: FastRandomContext improvements and switch to ChaCha20 2017-04-24 14:28:49 +02:00
amount.h Consensus: Policy: MOVEONLY: Move CFeeRate out of the consensus module 2017-05-03 18:00:13 +02:00
arith_uint256.cpp Merge #8808: Do not shadow variables (gcc set) 2017-03-03 15:48:53 +01:00
arith_uint256.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
base58.cpp [trivial] Fix typos in comments 2017-03-21 19:49:08 +01:00
base58.h [trivial] Fix typos in comments 2017-01-27 21:22:35 +01:00
bitcoin-cli-res.rc
bitcoin-cli.cpp Chainparams: Use a regular factory for creating chainparams 2017-05-03 18:15:47 +02:00
bitcoin-tx-res.rc
bitcoin-tx.cpp Merge #9743: Fix several potential issues found by sanitizers 2017-04-26 12:29:05 +02:00
bitcoind-res.rc
bitcoind.cpp Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
blockencodings.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
blockencodings.h [trivial] Fix typos in comments 2017-01-27 21:22:35 +01:00
bloom.cpp Merge #9750: Bloomfilter: parameter variables made constant 2017-05-18 10:09:05 +02:00
bloom.h param variables made const 2017-02-13 14:39:48 +09:00
chain.cpp Refactor: Remove using namespace <xxx> from src/*.cpp. 2017-01-27 18:13:20 +09:00
chain.h Merge #9908: Define 7200 second timestamp window constant 2017-03-06 10:02:05 +01:00
chainparams.cpp Chainparams: Get rid of CChainParams& Params(std::string) 2017-05-03 18:15:54 +02:00
chainparams.h Chainparams: Get rid of CChainParams& Params(std::string) 2017-05-03 18:15:54 +02:00
chainparamsbase.cpp Chainparams: Use a regular factory for creating chainparams 2017-05-03 18:15:47 +02:00
chainparamsbase.h Chainparams: Use a regular factory for creating chainparams 2017-05-03 18:15:47 +02:00
chainparamsseeds.h Pre-0.14.0 hardcoded seeds update 2017-02-10 11:04:34 +01:00
checkpoints.cpp [MOVEONLY] Move progress estimation out of checkpoints 2017-01-04 13:18:49 -08:00
checkpoints.h [MOVEONLY] Move progress estimation out of checkpoints 2017-01-04 13:18:49 -08:00
checkqueue.h Missing includes 2017-04-13 02:31:44 +02:00
clientversion.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
clientversion.h Fix build warning from #error text 2017-04-07 14:37:25 -04:00
coins.cpp [cleanup] Remove coin age priority completely. 2017-03-03 16:50:20 -05:00
coins.h Switch CCoinsMap from boost to std unordered_map 2017-04-21 05:34:14 -07:00
compat.h compat: use unsigned int instead of u_int 2017-03-05 09:51:21 +00:00
compressor.cpp
compressor.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
core_io.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
core_memusage.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
core_read.cpp Fail in DecodeHexTx if there is extra data at the end 2017-02-02 17:32:27 -05:00
core_write.cpp refactor TxToJSON() and ScriptPubKeyToJSON() 2017-04-28 10:01:56 -04:00
cuckoocache.h Merge #9533: Allow non-power-of-2 signature cache sizes 2017-04-03 13:24:34 +02:00
dbwrapper.cpp Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
dbwrapper.h Add SizeEstimate to CDBBatch 2017-05-26 13:24:24 -07:00
fs.cpp Add fs.cpp/h 2017-04-03 12:32:32 +02:00
fs.h [Trivial] Add BITCOIN_FS_H endif footer in fs.h 2017-05-19 02:01:28 -07:00
hash.cpp Remove redundant semicolons 2017-01-14 21:45:32 +01:00
hash.h Introduce CHashVerifier to hash read data 2017-05-26 13:24:25 -07:00
httprpc.cpp Merge #10395: Replace boost::function with std::function (C++11) 2017-05-17 17:22:43 -07:00
httprpc.h
httpserver.cpp Util: Small improvements in gArgs usage 2017-05-09 21:37:34 +02:00
httpserver.h Set BCLog::LIBEVENT correctly for old libevent versions. 2017-04-10 17:05:59 -04:00
indirectmap.h prepend license statement to indirectmap 2016-07-27 16:27:07 -07:00
init.cpp Merge #10395: Replace boost::function with std::function (C++11) 2017-05-17 17:22:43 -07:00
init.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
key.cpp Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
key.h Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
keystore.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
keystore.h
limitedmap.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
Makefile.am Merge #8329: Consensus: MOVEONLY: Move functions for tx verification 2017-05-18 21:01:49 +02:00
Makefile.bench.include Merge #9505: Prevector Quick Destruct 2017-03-14 10:43:10 +01:00
Makefile.leveldb.include Merge #8826: Do not include env_win.cc on non-Windows systems 2016-09-29 17:27:28 +02:00
Makefile.qt.include Make qt wallet test compatible with qt4 2017-03-27 14:34:38 -04:00
Makefile.qttest.include [test] Add tests for some walletmodel functions 2017-05-17 05:18:25 -04:00
Makefile.test.include torcontrol: Add unit tests for Tor reply parsers 2017-05-16 18:22:07 +12:00
memusage.h Add support for std::unordered_{map,set} to memusage.h 2017-04-21 05:26:23 -07:00
merkleblock.cpp Trivial: remove extra character from comment 2017-05-01 14:18:30 -07:00
merkleblock.h Fixed typo in documentation for merkleblock.h 2017-04-22 07:22:17 -04:00
miner.cpp Merge #8329: Consensus: MOVEONLY: Move functions for tx verification 2017-05-18 21:01:49 +02:00
miner.h Merge #9959: Mining: Prevent slowdown in CreateNewBlock on large mempools 2017-03-30 20:55:29 +02:00
net.cpp Populate services in GetLocalAddress 2017-05-18 16:57:53 -04:00
net.h Merge #9279: Consensus: Move CFeeRate out of libconsensus 2017-05-09 09:19:50 +02:00
net_processing.cpp Use range-based for loops (C++11) when looping over vector elements 2017-05-19 09:56:16 +02:00
net_processing.h Add override to functions using CValidationInterface methods 2017-04-07 11:53:43 +02:00
netaddress.cpp Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
netaddress.h Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
netbase.cpp Merge #9539: [net] Avoid initialization to a value that is never read 2017-05-23 19:39:50 +02:00
netbase.h [net] Added SetSocketNoDelay() utility function 2017-04-05 11:31:43 -07:00
netmessagemaker.h Net: Make CNetMsgMaker more const 2017-01-31 23:29:28 +01:00
noui.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
noui.h
pow.cpp pow: GetNextWorkRequired never called with NULL pindexLast 2017-02-15 22:11:29 +09:00
pow.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
prevector.h Merge #9505: Prevector Quick Destruct 2017-03-14 10:43:10 +01:00
protocol.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
protocol.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
pubkey.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
pubkey.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
random.cpp Add perf counter data to GetStrongRandBytes state in scheduler 2017-05-22 16:01:52 -04:00
random.h Add perf counter data to GetStrongRandBytes state in scheduler 2017-05-22 16:01:52 -04:00
rest.cpp refactor TxToJSON() and ScriptPubKeyToJSON() 2017-04-28 10:01:56 -04:00
reverselock.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
scheduler.cpp Add perf counter data to GetStrongRandBytes state in scheduler 2017-05-22 16:01:52 -04:00
scheduler.h Replace boost::function with std::function (C++11) 2017-05-13 17:59:09 +02:00
serialize.h Prevent integer overflow in ReadVarInt. 2017-02-06 02:52:27 +00:00
streams.h Fix some empty vector references 2017-04-21 05:58:31 -07:00
sync.cpp Remove unused code 2017-03-17 04:37:43 +01:00
sync.h Remove unused code 2017-03-17 04:37:43 +01:00
threadinterrupt.cpp net: add CThreadInterrupt and InterruptibleSleep 2017-01-03 17:53:09 -05:00
threadinterrupt.h net: add CThreadInterrupt and InterruptibleSleep 2017-01-03 17:53:09 -05:00
threadsafety.h
timedata.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
timedata.h Merge #8808: Do not shadow variables (gcc set) 2017-03-03 15:48:53 +01:00
tinyformat.h util: Throw tinyformat::format_error on formatting error 2017-03-13 06:51:15 +01:00
torcontrol.cpp Merge #10408: Net: Improvements to Tor control port parser 2017-05-18 19:58:51 +02:00
torcontrol.h
txdb.cpp Fix: make CCoinsViewDbCursor::Seek work for missing keys 2017-05-23 22:25:52 +00:00
txdb.h Replace boost::function with std::function (C++11) 2017-05-13 17:59:09 +02:00
txmempool.cpp Merge #8329: Consensus: MOVEONLY: Move functions for tx verification 2017-05-18 21:01:49 +02:00
txmempool.h Merge #10196: Bugfix: PrioritiseTransaction updates the mempool tx counter 2017-05-17 13:25:22 -07:00
ui_interface.cpp [wallet] Add high transaction fee warnings 2016-09-26 01:11:27 +02:00
ui_interface.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
uint256.cpp uint256: replace sprintf with HexStr and reverse-iterator 2017-02-27 10:02:45 +01:00
uint256.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
undo.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
util.cpp Merge #10383: [logging] log system time and mock time 2017-05-16 08:10:05 +02:00
util.h Util: Put mapMultiArgs inside ArgsManager 2017-05-09 21:37:29 +02:00
utilmoneystr.cpp Refactor: Remove using namespace <xxx> from util* 2017-03-08 08:47:02 -08:00
utilmoneystr.h
utilstrencodings.cpp Refactor: Remove using namespace <xxx> from util* 2017-03-08 08:47:02 -08:00
utilstrencodings.h Wallet: Sanitise -wallet parameter 2017-02-27 20:45:18 +00:00
utiltime.cpp [logging] log system time and mock time 2017-05-10 15:49:00 -04:00
utiltime.h [logging] log system time and mock time 2017-05-10 15:49:00 -04:00
validation.cpp Introduce CHashVerifier to hash read data 2017-05-26 13:24:25 -07:00
validation.h Merge #9571: RPC: getblockchaininfo returns BIP signaling statistics 2017-05-23 19:12:29 +02:00
validationinterface.cpp Remove CValidationInterface::UpdatedTransaction 2017-04-13 10:36:21 -04:00
validationinterface.h Remove CValidationInterface::UpdatedTransaction 2017-04-13 10:36:21 -04:00
version.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
versionbits.cpp RPC: getblockchaininfo: BIP9 stats 2017-03-24 16:57:05 -07:00
versionbits.h RPC: getblockchaininfo: BIP9 stats 2017-03-24 16:57:05 -07:00
warnings.cpp Move GetWarnings() into its own file. 2016-12-03 07:17:34 +00:00
warnings.h Move GetWarnings() into its own file. 2016-12-03 07:17:34 +00:00