Commit Graph

13329 Commits

Author SHA1 Message Date
Pieter Wuille 3161960fc2 Benchmark rolling bloom filter 2020-01-22 21:40:38 +00:00
Philip Kaufmann e72de1864f [Trivial] ensure minimal header conventions
- ensure header namespaces and end comments are correct
- add missing header end comments
- ensure minimal formatting (add newlines etc.)

Zcash: left out change to src/policy/policy.h which we don't yet have.
2020-01-22 21:40:38 +00:00
Pavel Janík 9233b8a15e Ignore bench_bitcoin binary. 2020-01-22 21:40:38 +00:00
Gavin Andresen a81da44a8f Support very-fast-running benchmarks
Avoid calling gettimeofday every time through the benchmarking loop, by keeping
track of how long each loop takes and doubling the number of iterations done
between time checks when they take less than 1/16'th of the total elapsed time.
2020-01-22 21:40:38 +00:00
Gavin Andresen d7a20b6373 Simple benchmarking framework
Benchmarking framework, loosely based on google's micro-benchmarking
library (https://github.com/google/benchmark)

Wny not use the Google Benchmark framework? Because adding Even More Dependencies
isn't worth it. If we get a dozen or three benchmarks and need nanosecond-accurate
timings of threaded code then switching to the full-blown Google Benchmark library
should be considered.

The benchmark framework is hard-coded to run each benchmark for one wall-clock second,
and then spits out .csv-format timing information to stdout. It is left as an
exercise for later (or maybe never) to add command-line arguments to specify which
benchmark(s) to run, how long to run them for, how to format results, etc etc etc.
Again, see the Google Benchmark framework for where that might end up.

See src/bench/MilliSleep.cpp for a sanity-test benchmark that just benchmarks
'sleep 100 milliseconds.'

To compile and run benchmarks:
  cd src; make bench

Sample output:

Benchmark,count,min,max,average
Sleep100ms,10,0.101854,0.105059,0.103881
2020-01-22 21:40:35 +00:00
Alfredo Garcia 76a43b6790 Return address and type of imported key in z_importkey
Co-authored-by: Dagur Valberg Johannsson <dagurval@pvv.ntnu.no>
2020-01-22 14:41:02 -03:00
Alfredo Garcia 3fb8af512c change regex 2020-01-21 21:24:21 -03:00
Homu b8ca7131c7 Auto merge of #4303 - ebfull:release-v2.1.1, r=mdr0id
Release v2.1.1

The release height for this is roughly Tuesday.
2020-01-21 20:11:48 +00:00
Alfredo Garcia 7cb45243fe change convention 2020-01-20 12:23:52 -03:00
Sean Bowe 811158a483
make-release.py: Updated release notes and changelog for 2.1.1. 2020-01-17 10:27:31 -07:00
Sean Bowe c214fa13b7
make-release.py: Updated manpages for 2.1.1. 2020-01-17 10:27:31 -07:00
Sean Bowe 5133275342
make-release.py: Versioning changes for 2.1.1. 2020-01-17 10:26:14 -07:00
Alfredo Garcia d8eb0b96bc add additional tests to rpc_wallet_z_getnewaddress 2020-01-17 10:30:14 -03:00
Dagur Valberg Johannsson 61bb241bd3 Improve z_getnewaddress tests 2020-01-17 09:35:11 -03:00
Homu dcddb8b6e4 Auto merge of #4299 - ebfull:release-v2.1.1-rc2, r=mdr0id
Release v2.1.1 rc2
2020-01-14 18:33:40 +00:00
Sean Bowe 0dca75a21d
make-release.py: Updated release notes and changelog for 2.1.1-rc2. 2020-01-13 17:56:29 -07:00
Sean Bowe 131e1aa77a
make-release.py: Updated manpages for 2.1.1-rc2. 2020-01-13 17:56:29 -07:00
Sean Bowe 846868f0c7
make-release.py: Versioning changes for 2.1.1-rc2. 2020-01-13 17:55:01 -07:00
Homu 02706325ca Auto merge of #4296 - milesmanley:4295.update-libsodium-dl-path, r=mdr0id
Update libsodium download-path

This PR fixes the macOS build that is currently failing due to the download path for Libsodium changing - mentioned in issue #4295
2020-01-13 21:31:32 +00:00
Miles Manley 6f28ddc3a5
Update libsodium download-path
Fixes error 404 when building for macOS

Maybe update to 1.0.16?
2020-01-13 13:23:16 +09:00
Alfredo Garcia 574963ef87 update docs 2020-01-12 11:06:46 -03:00
Homu 2f8cf61a2a Auto merge of #4290 - defuse:fix-proton-build, r=ebfull
Fix broken proton build
2020-01-09 01:01:35 +00:00
Taylor Hornby 84497b862a Fix broken proton build 2020-01-08 16:23:29 -07:00
Homu 1ac3e8fb82 Auto merge of #4289 - daira:remove-eos-workaround, r=ebfull
Remove temporary workaround for deprecation height.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-01-08 06:20:52 +00:00
Daira Hopwood 7eb5c49d32 Remove temporary workaround for deprecation height.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-01-08 06:14:05 +00:00
Homu 19aa3dfed0 Auto merge of #4288 - ebfull:release-v2.1.1-rc1, r=ebfull
Release v2.1.1-rc1
2020-01-08 04:15:40 +00:00
Sean Bowe 3b2ebf2447
make-release.py: Updated release notes and changelog for 2.1.1-rc1. 2020-01-07 20:13:52 -07:00
Sean Bowe 356491a046
make-release.py: Updated manpages for 2.1.1-rc1. 2020-01-07 20:13:51 -07:00
Sean Bowe 2c88a156ba
make-release.py: Versioning changes for 2.1.1-rc1. 2020-01-07 20:13:03 -07:00
Homu 3a18c95042 Auto merge of #4287 - ebfull:update-proton, r=ebfull
Update proton from 0.26.0 to 0.30.0
2020-01-08 01:26:26 +00:00
Taylor Hornby a5affb11d1 Update proton from 0.26.0 to 0.30.0 2020-01-07 21:36:14 +00:00
Homu 043ce3f2ac Auto merge of #3912 - bitcartel:fix_getwalletinfo_help_message, r=daira
Closes #3911. Fix help message of RPC getwalletinfo.
2020-01-06 04:37:09 +00:00
Homu efab5aaca4 Auto merge of #4281 - LarryRuane:test-fixes-enable-debug, r=daira
fix tests for enable-debug build

Addresses part of #4275.
2020-01-06 03:29:34 +00:00
Homu 6a08c22567 Auto merge of #4277 - sandakersmann:master, r=daira
Update copyright year to 2020

Update copyright year to 2020
2020-01-05 20:49:00 +00:00
Larry Ruane 7b5148cc64 fix tests for enable-debug build 2019-12-31 12:18:16 -07:00
Alfredo Garcia fce6000f76 allow negative index to getblockhash 2019-12-31 09:35:37 -03:00
Alfredo Garcia 3ac6dd5f5d add negative height to getblock 2019-12-31 09:16:29 -03:00
Homu 1da79ed1c3 Auto merge of #4278 - LarryRuane:4223-fix-spentindex-test, r=daira
insightexplorer: LOCK(cs_main) during rpcs

Closes #4223. Ensure lock cs_main is held during calls to GetSpentIndex().
2019-12-28 14:43:08 +00:00
Larry Ruane 14ec1016b9 insightexplorer: LOCK(cs_main) during rpcs 2019-12-27 10:21:46 -07:00
sandakersmann 0859ea4951
Update _COPYRIGHT_YEAR in configure.ac to 2020 2019-12-27 18:04:14 +01:00
sandakersmann 91b8de9151
Update COPYRIGHT_YEAR in clientversion.h to 2020 2019-12-27 18:01:51 +01:00
sandakersmann 4dd8cf1fc2
Update of copyright year to 2020 2019-12-27 17:58:48 +01:00
Taylor Hornby d7108d36b1 Update list of dependencies to check 2019-12-19 14:33:51 -07:00
Taylor Hornby 49f94dbe3d Add GitHub API credential 2019-12-19 14:33:41 -07:00
Taylor Hornby d83e8a6a44 Add Python script for checking if dependencies have updates. 2019-12-19 13:58:36 -07:00
Homu 5177d2e708 Auto merge of #4259 - rex4539:fix-warnings, r=daira
depends macOS: hide linker visibility warnings

Closes https://github.com/zcash/zcash/issues/4255

Tested that all lines with `ld: warning: direct access in` are gone from build log.
2019-12-19 16:37:32 +00:00
Homu 900ed4555f Auto merge of #4271 - str4d:2074-wallet-3, r=ebfull
Bitcoin wallet PRs 3

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7687
- bitcoin/bitcoin#11116
  - Excludes SegWit tests
  - Excludes `isInvalid` code (which is part of the SegWit support structure)
- bitcoin/bitcoin#13002
  - Excludes changes to `importwallet` (missing bitcoin/bitcoin#11667)
  - Excludes changes to `ProcessImport` (missing bitcoin/bitcoin#7551)
  - Third commit was rewritten to add an internal SigVersion argument (which we didn't have because it was added to support SegWit logic).
2019-12-19 01:17:12 +00:00
Pieter Wuille 82eefce0ab
Use anonymous namespace instead of static functions 2019-12-18 18:59:15 -06:00
Pieter Wuille 790f21e9a8
Mention removal of bare multisig IsMine in release notes 2019-12-18 18:59:15 -06:00
Pieter Wuille e82901f4fd
Do not treat bare multisig as IsMine
Such outputs can still be watched, and signed for, but they aren't treated as valid payments.
That means they won't cause transactions to appear in listtransactions, their outputs to be
shown under listunspent, or affect balances.
2019-12-18 18:59:15 -06:00