lbrycrd/src/bench
MarcoFalke 384967f311
Merge #13815: util: Add [[nodiscard]] to all {Decode,Parse}[...](...) functions returning bool
9cc0230cfc Add NODISCARD to all {Decode,Parse}[...](...) functions returning bool. Sort includes. (practicalswift)
579497e77a tests: Explicitly ignore the return value of DecodeBase58(...) (practicalswift)
145fe95ec7 tests: Check return value of ParseParameters(...) (practicalswift)
7c5bc2a523 miner: Default to DEFAULT_BLOCK_MIN_TX_FEE if unable to parse -blockmintxfee (practicalswift)

Pull request description:

  Changes in this PR:
  * ~~Add linter to make sure the return value of `Parse[...](...)` is checked~~
  * Add `__attribute__((warn_unused_result))` to all `{Decode,Parse}[...](...)` functions returning `bool`
  * Fix violations

  Context:
  * #13712: `wallet: Fix non-determinism in ParseHDKeypath(...). Avoid using an uninitialized variable in path calculation.` would have been prevented by this

Tree-SHA512: 41a97899f2d5a26584235fa02b1ebfb4faacd81ea97e927022955a658fa7e15d07a1443b4b7635151a43259a1adf8f2f4de3c1c75d7b5f09f0d5496463a1dae6
2018-11-15 14:39:37 -05:00
..
data Add deserialize + CheckBlock benchmarks, and a full block hex 2016-11-09 11:27:59 -08:00
.gitignore Ignore bench_bitcoin binary. 2015-10-06 17:46:12 +02:00
base58.cpp tests: Explicitly ignore the return value of DecodeBase58(...) 2018-11-05 16:52:59 +01:00
bech32.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
bench.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
bench.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
bench_bitcoin.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
block_assemble.cpp Extract CSipHasher to it's own file in crypto/ directory. 2018-11-05 09:25:15 -08:00
ccoins_caching.cpp amount: Move CAmount CENT to unit test header 2018-09-17 14:34:56 -04:00
checkblock.cpp Don't access out of bounds array entry array[sizeof(array)] 2018-10-05 16:48:16 +09:00
checkqueue.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
coin_selection.cpp Pass chain and client variables where needed 2018-11-06 11:44:40 -04:00
crypto_hash.cpp Extract CSipHasher to it's own file in crypto/ directory. 2018-11-05 09:25:15 -08:00
examples.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
gcs_filter.cpp bench: Benchmark GCS filter creation and matching. 2018-08-25 10:02:37 -07:00
lockedpool.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
mempool_eviction.cpp Merge #13792: tx pool: Avoid passing redundant hash into addUnchecked (scripted-diff) 2018-08-29 16:30:58 +02:00
merkle_root.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
prevector.cpp Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00
rollingbloom.cpp Merge #13767: Remove redundant assignments (dead stores) 2018-08-27 13:39:46 -04:00
verify_script.cpp Merge #13666: Always create signatures with Low R values 2018-08-13 12:07:20 +02:00