Commit Graph

71 Commits

Author SHA1 Message Date
Jane Lusby 3d0b6b7927 (cargo-release) start next development iteration 0.1.6-alpha.0 2020-12-09 15:48:50 -08:00
Jane Lusby 6b903b1678 (cargo-release) version 0.1.5 2020-12-09 15:47:54 -08:00
Jane Lusby b8daff3417 update changelog 2020-12-09 15:47:16 -08:00
Jane Lusby 5534684937 re-export and test new precompute api 2020-12-09 15:22:40 -08:00
Jane Lusby f8e8a0cb3a Merge commit '881423287afb15e8e64090bf6036c827dea5f95f' into jane/precompute 2020-12-09 15:01:11 -08:00
Jane Lusby 881423287a Squashed 'depend/zcash/' changes from 650d13dad..d94fe7678
d94fe7678 zcash_script: Add API to verify scripts with precomputed tx data
2178e309d Rename libzcashconsensus.la -> libzcash_script.la
515b37aa2 Rename zcashconsensus_* -> zcash_script_* in APIs
021e8050d Rename src/script/zcashconsensus.* -> src/script/zcash_script.*
06d6b7d8b Add amount and consensus branch ID to zcashconsensus_verify_script
1f3b27427 Remove crypto/equihash from libzcashconsensus
dc8ac9107 prevector: Terminate without logging on failed allocation
1075096bb Remove init_and_check_sodium from crypto/common.h
09e423ccc Remove JSDescription::h_sig
bc2f687ca Add JSDescriptionInfo for constructing JSDescriptions
28c01c2b5 Default to defining endian-conversion DECLs in compat w/o config
bd1166814 Replace boost::optional with std::optional
04bd26523 Replace boost::variant with std::variant
43ab08485 Auto merge of #4611 - str4d:c++17, r=str4d
d0cb0b74a Switch from std::random_shuffle to std::shuffle
c656ae130 Add new copyright entries for build-aux/m4/ax_cxx_compile_stdcxx.m4
9052751c2 depends: Build C++ dependencies with C++ 17
9d1a11a0e build: Require and build with C++ 17
40a5bdfc7 build: Update AX_CXX_COMPILE_STDCXX macro
de5c28b4b Auto merge of #4613 - str4d:claaaaaang, r=daira
8fa19fd50 Auto merge of #4794 - LarryRuane:allow-getaddressutxos, r=daira
0dc05a772 Auto merge of #4790 - therealyingtong:add-addresses-getblocksubsidy, r=daira
eaed8d579 depends: Add untested note to FreeBSD host
162de8b26 Auto merge of #4800 - daira:contextualchecktx-cleanups, r=str4d
083a05b04 allow getaddressutxos if -lightwalletd
0940bc0c2 Remove void declaration of ScriptPubKeyToJSON()
2d2dc2c88 Auto merge of #4799 - daira:fix-gtests-displayduration, r=str4d
72a010770 Comment and error message cleanups for transaction checks.
f2d7fd632 contrib/devtools/symbol-check.py: add info about Fedora-based distributions.
d54d4d083 Update contrib/devtools/symbol-check.py
e0b391335 Rename `time` to `duration` in `DisplayDuration`.
a6822edfd Fix integer types in DisplayDuration.
6f3c29e9b Only return address instead of CScript
921e88674 Auto merge of #4797 - daira:log2-cleanup, r=str4d
7a1ed861c log(x)/log(2.0) can be written as log2(x).
e60c2bf17 Apply suggestions from code review
1c91003a5 Auto merge of #4787 - benzcash:ci-builders-libtinfo5, r=str4d
4e50b700e Minor cleanups
719c117f1 Handle shielded address case
6c41d1da0 Fix CScript encoding
ceb642550 Auto merge of #4789 - daira:4785-macos-tests, r=str4d
cec67e90c Add funding stream addresses to getblocksubsidy RPC output
98daea815 Auto merge of #4791 - str4d:pyflakes-fixes, r=str4d
11baa4d49 doc: Add Clang and libc++ migration to release notes
ee079a683 test: Fix various pyflakes warnings
ea7d57aa4 QA: Add native_clang and libcxx to updatecheck.py
c06cc5854 qa/zcash/full_test_suite.py: print immediately if a test fails.
f85ed2741 qa/zcash/full_test_suite.py: changes needed for macOS. fixes #4785
172b26991 Build python for debian9 and ubuntu16.04
c6f9215c0 Fixed Centos and Arch python requirements
1271afa35 Added Arch and Centos to script, added libtinfo5 for arch
bf450b260 qa: Disable FORTIFY_SOURCE checks
03e68a3ed Auto merge of #4782 - oxarbitrage:issue4769, r=str4d
b59869166 Added libtinfo5 to ci builder containers
52270f60e update function comment
5bd2df92a Auto merge of #4784 - LarryRuane:auto-GetConsensus, r=str4d
ea4c665da simplify TestBlockValidity
fb24911c5 Auto merge of #4570 - oxarbitrage:issue2783, r=daira
fbf274316 performance: auto params = CChainParams::GetConsensus()
5a1e6853c build: Add -lpthread to univalue test LDFLAGS
e917cb614 build: Compile secp256k1 with C99
ab4033c49 depends: Fix boost::iostreams usage on Windows with libc++
c691a8413 depends: Rename Boost libraries to follow MinGW/GCC convention
b076c8dfc Auto merge of #4770 - nuttycom:fastsync, r=nuttycom
c6abcc438 Use the current time as the timestamp if we override a misc warning.
a75c613ad Fix command-line help for -ibdskiptxverification
3973a1635 depends: Fix "unused variables" warning when compiling zeromq for Windows
2ca72adf8 build: Add missing LIBUNIVALUE to Makefile.bench.include LDADD
5ca4fbf8f build: Statically link libc++
fa54a1661 depends: Add multilib paths for Linux cross-compile
0887f64c9 depends: Don't replace default CXXFLAGS in C++ dependencies
1b9634786 depends: Add libc++ as a dependency
95e38235c Rename IBDSkipTxVerification back to ShouldCheckTransaction
acfa67594 Auto merge of #4778 - daira:no-nazis, r=daira
ff4cb00cb depends: Vendor LLD and use it for linking
4abd76f70 depends: Use vendored Clang for macOS cross-compilation
d3330ab79 Fix warnings surfaced by compiling with clang++.
d306b72be depends: Use vendored Clang for native compilation
d071e316e depends: Add Clang 8.0.0
48d975f95 Auto merge of #4775 - str4d:postpone-rustc-updates, r=str4d
a2f85199f Auto merge of #4779 - nathan-at-least:static-patchfile-bdb, r=str4d
5a47aa535 Convert a sed command to a static patch file.
3c8ce84d2 Auto merge of #4777 - daira:fix-bind-warning, r=str4d
60164a17e Beef up the CoC to address use of dog-whistles.
acf2d0718 Fix a new warning about use of boost::bind placeholders after updating Boost. closes #4774
88a7dd59c Reject incompatible flags in "Step 2"
8a2aaebd7 Ensure conflicting flags are reported as an error.
2c051acae Apply suggestions from code review
ebc8de390 Auto merge of #4776 - str4d:logging-files, r=str4d
f0c24bd9f -ibdskiptxverification must imply -checkpoints
b42582395 MOVEONLY: Move logging code from util.{h,cpp} to new files
293af68eb Apply style suggestions from code review
cd6845017 depends: Postpone current and scheduled Rust releases until 2021
e2d3533de Auto merge of #4773 - str4d:4651-combined-params-init, r=daira
ce26c21fb Auto merge of #4772 - daira:log-invalid-notept, r=daira
91172401a Reduce diff complexity.
508aadd2f FFI: Merge librustzcash_init_zksnark_params variants into one function
6e4090d84 Auto merge of #4766 - str4d:update-zeromq, r=str4d
007de0774 Add logging when we receive an invalid note plaintext (using the "receiveunsafe" log category).
a5c2daf61 depends: Update packages documentation for Zcash
fd841a1b8 Remove redundant CheckBlock calls.
0b4395d27 Add a config option to skip transaction verification in IBD mode
7c9fa2827 depends: ZeroMQ 4.3.3
3c4f9d383 build: pass --enable-option-checking to applicable packages
3420f0171 build: only pass --disable-dependency-tracking to packages that understand it
13f0e7874 depends: zeromq: disable draft classes and methods
84dfe6846 depends: Purge libtool archives
df60fd966 depends: Build secondary deps statically.
edfb4d98e [depends, zmq, doc] avoid deprecated zeromq api functions
92aa4d617 depends: Disable unused ZeroMQ features
b646bad8c Auto merge of #4765 - str4d:more-depends-updates, r=str4d
b56e5aa7b cargo update
be700a89c depends: ccache 3.7.12
a9f62bdda depends: Boost 1.74.0
4705aae32 Auto merge of #4763 - rex4539:remove-bitcoin-release-notes, r=str4d
d3978dbf8 Auto merge of #4762 - rex4539:remove-deprecated-init, r=str4d
c84ae00cb Remove Bitcoin release notes
1fa5d4670 Remove deprecated init.md
b667bfaa1 Auto merge of #4760 - rex4539:fix-zeromq-warning, r=daira
95a5c3033 Fix zeromq warning
ce44f60c2 Auto merge of #4758 - str4d:depends-updates, r=str4d
eb4c9ea0a Auto merge of #4484 - defuse:fix-undefined-behavior-in-bitcoin-test, r=str4d
3693b96ed Fix undefined behavior in the test_bitcoin tests
a98334493 Auto merge of #4752 - str4d:small-httpserver-backports, r=daira
2fbc111ef httpserver: Code style cleanups
e15eaf034 QA: Fix backporting bugs in httpbasics.py
939c5dfce Auto merge of #4756 - str4d:4755-exorcise-openssl, r=str4d
0d4a7b032 depends: Use correct HOST for download-linux target
076c1af55 depends: utfcpp 3.1.2
78a7230f5 depends: googletest 1.8.1
7725f6605 depends: ccache 3.7.11
96da9c2c0 depends: libevent 2.1.12
be7876adb build: Remove a stray -lcrypto
b5fa52b70 Auto merge of #4740 - str4d:remove-openssl, r=daira
ce0654e13 Cosmetics in CScriptNum code and tests.
932d62775 It's unnecessary to pass int64_t by const reference.
f432fe5eb Add assertions for CScriptNum[10] +/- int64_t to avoid the possibility of UB.
9ba10a807 Avoid undefined behaviour in scriptnum tests.
860e6e600 httpserver: replace boost threads with std
97194f2ab httpserver: use a future rather than relying on boost's try_join_for
26efd3aaf http: use std::move to move HTTPRequest into HTTPWorkItem
a500df556 http: Change boost::scoped_ptr to std::unique_ptr in HTTPRequest
1f106fa80 http: Add log message when work queue is full
fc9ce9e76 http: Do a pending c++11 simplification
b165ead16 Minor additional OpenSSL scouring.
bab853748 QA: Remove OpenSSL from updatecheck.py
ab35a260d Remove remaining OpenSSL references
ce1b5491d util: Remove OpenSSL multithreading infrastructure
fe49dc528 build: remove libcrypto as internal dependency in libbitcoinconsensus.pc
4526ecf9b doc: remove OpenSSL from build instructions and licensing info
f477932d3 depends: remove OpenSSL package
0ad49bca4 build: remove OpenSSL detection and libs
8993f1f70 build: remove SSL lib detection
c28c9b96a tests: Remove OldSetKeyFromPassphrase/OldEncrypt/OldDecrypt
7b3cb4823 Replace scriptnum_test's normative ScriptNum implementation
220e166e4 Move uiInterface.NotifyBlockTip signal above the core/wallet signal
66515b062 NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex*
23556e690 http: Restrict maximum size of request line + headers
7d9406461 Auto merge of #4643 - str4d:locked-memory-manager, r=str4d
9245388bb Auto merge of #4749 - str4d:update-config-guess-and-sub, r=str4d
94cf4a494 Auto merge of #4558 - linuxion:master, r=str4d
abcce56fe [RPC] Add transaction size to JSON output
f43e3833f gitian: Switch from x86_64-unknown-linux-gnu to x86_64-linux-gnu
bd87bcf1b build: Switch to x86_64-pc-linux-gnu for codecov filtering
f52793d0d QA: Switch to x86_64-pc-linux-gnu for hard-coded Linux HOST
9384b78c0 depends: Update map of GCC canonical hosts to Rust targets
55acaf4bc allocators: Apply Allocator named requirements to secure_allocator::deallocate
66ac442da LockedPool: Make Arena::free and LockedPool::free noexcept
fa6921c48 LockedPool: Fix LockedPool::free(nullptr) to be a no-op
b2b5cccf3 test: Fix LFSR period in comments
b5ddac4b7 LockedPool: Switch to HTTPS URLs in licenses and comments
514d86817 Auto merge of #4739 - str4d:update-leveldb, r=str4d
f4c78c45b leveldb: Fix typo
e2eeabe9e Update license headers
f5582677a leveldb: Assert that ssize_t is the same size as size_t on Windows
3d79da1be build: out-of-tree fixups
a3fbfe4ef Improve readability by removing redundant casts to same type (on all platforms)
94f7ae6ce Fix subscript[0] potential bugs in key.cpp
e88626354 Auto merge of #4748 - rex4539:fix-typos, r=daira
8e5582411 depends: Update to latest config.guess & config.sub
d8ab28426 Auto merge of #4747 - rex4539:fix-cargo-checksum, r=str4d
67ffb189b Fix typos
4e1d3856e Remove reference to cargo-checksum.sh
8f15f5fcc Auto merge of #4734 - str4d:2-sodium-2-oxide, r=str4d
9ef15a841 Auto merge of #4746 - str4d:remove-rust-mingw-workaround, r=ebfull
256d6e33e Auto merge of #4743 - str4d:cargo-vendor-cleanups, r=str4d
7169cfc0d build: Remove Rust staticlib naming workaround
0f3baaba7 tracing: Correctly override tracing::Span move constructors
02b7d2afa blake2b: Allow consuming partial BLAKE2b output
2d172e121 Replace libsodium's crypto_generichash_blake2b with blake2b_simd
31f48caf0 Auto merge of #4690 - LarryRuane:CopyPreviousWitnessesPart2, r=str4d
ad56e9c2e Auto merge of #4693 - daira:explicit-coercions, r=str4d
a554f7ccc depends: Remove cargo-checksum.sh
49fc20ace Auto merge of #4720 - ebfull:fix-perf-regressions, r=str4d
f3e5adc16 Pull leveldb subtree
dd6b34250 Squashed 'src/leveldb/' changes from 524b7e36a..f545dfabf
cd819bf14 Merge leveldb subtree
55f90917f Squashed 'src/leveldb/' changes from 64052c76c..524b7e36a
7474d2cfb Bump leveldb subtree
b3f8c6e5f Squashed 'src/leveldb/' changes from c521b3ac6..64052c76c
990c6d244 Update LevelDB with latest Bitcoin-specific patches
b3b77fb75 Squashed 'src/leveldb/' changes from 196962ff0..c521b3ac6
55b4aa194 build: verify that the assembler can handle crc32 functions
b892fe13f Fixed multiple typos
f204f575a Add extra LevelDB source to Makefile
f26170126 leveldb: enable runtime-detected crc32 instructions
c333e99ec Update to LevelDB 1.20
f67e49655 Squashed 'src/leveldb/' changes from a31c8aa40..196962ff0
8dbec779e Merge in LevelDB 1.19 changes
b4be0846d Squashed 'src/leveldb/' changes from 20ca81f08..a31c8aa40
1e66c822c Do not include env_win.cc on non-Windows systems
7bf4f0b7e Add MIT license to Makefiles
9cc749769 build: out-of-tree fixups
a0336af87 build: No need to check for leveldb atomics
58d1bbfe6 leveldb: integrate leveldb into our buildsystem
52777e6d7 Update to latest zcash_* and zkcrypto crates.
16e91b053 cargo update
03ce24013 Update Rust to 1.44.1.
c9672a49c Auto merge of #4696 - str4d:3640-z_sendmany-any-taddr, r=str4d
3311a85db rpc: Fix comma spacing in example z_sendmany commands
e33f530a6 wallet: Ignore coinbase UTXOs with z_sendmany ANY_TADDR
8dcab5ee3 Auto merge of #4737 - nathan-at-least:link-to-read-the-docs-build-instructions, r=daira
fbca35e9d Line-wrap addition to README.md
933e841a7 Link the README.md to the specific readthedocs.io page for building on Debian/Ubuntu.
35bb61be3 Auto merge of #4725 - str4d:cargo-vendor, r=str4d
244934988 depends: Ensure that SOURCES_PATH exists before vendoring crates
c36ad21e7 QA: Comment out Rust crate checks in updatecheck.py
549bf2dfa depends: Switch to `cargo vendor` for Rust dependencies
b8650d6f4 Auto merge of #4732 - zcash:3786_review_dependencies, r=str4d
0314ad1a5 Postponed dependency updates, refer to core team sync meeting.
6f9b281ef Auto merge of #4706 - str4d:4705-nuparams-config-file, r=daira
81db0a2fc Flush witness data when consistent (part 2)
566e0d38b Allow multiple nuparams options in config file
f8e1a02bb Auto merge of #4561 - oxarbitrage:issue1873, r=daira
fbe68913b Ensure that the absolute path used in the test definitely does not exist.
21fee305a Fix grammar in error messages.
dc9c95b70 Apply suggestions from code review
6a7cfdea5 allow wallet file to be outside datadir
7e958be2c Auto merge of #4300 - oxarbitrage:issue3939, r=nuttycom
9d8555cf1 Fix forward declaration.
443954580 Auto merge of #4687 - defuse:fix-cscript-test-buffer-overflows, r=daira
af6ca1406 Auto merge of #4357 - oxarbitrage:issue2880, r=daira
cf8cd09ae Auto merge of #4349 - oxarbitrage:issue3996, r=daira
3caa78497 Auto merge of #2778 - syd0:add-python-assert, r=daira
bd4469339 Rename z_*_balance fields of getwalletinfo output to shielded_*_balance
4c4a1c4d6 Revert the move of the `getBalanceZaddr` block for ease of review.
48149defa Prevent creation of shielded transactions in initial block download.
ef62a1c5e Auto merge of #4688 - defuse:fix-rpc-test-string-interpolation, r=daira
5e7e9687f Auto merge of #4702 - ebfull:release-v4.0.0, r=ebfull
02c5f089c minor: Add backticks to avoid formatting in 4.0.0 release notes.
505495a73 make-release.py: Updated release notes and changelog for 4.0.0.
eedd28599 make-release.py: Updated manpages for 4.0.0.
01d1ea5f0 make-release.py: Versioning changes for 4.0.0.
539e487a3 Postpone updates for dependencies until after 4.0.0 release.
6937dff37 Set activation height for Canopy on mainnet.
5f398da32 Auto merge of #4700 - zcash:df-addrs, r=daira
889b05df4 Clarify a comment about the ZF and MG addresses
abd4b736e Add dev fund addresses for mainnet.
06d44392b wallet: Add ANY_TADDR special string to z_sendmany
75f9f8f95 Make some conversions explicit to reduce sanitizer warnings.
4003b597d Auto merge of #4686 - ebfull:release-v4.0.0-rc1, r=ebfull
c0f50ef8e Specify 4.0.0 in release notes
5a56246b9 Update names of contributors in release notes.
51b9e230d Add a missing % to a string interpolation in rpc test framework
9f284b501 Fix buffer overflows in P2PKH tests
af36ceae8 Add release notes to describe the Canopy network upgrade.
95d159c0e make-release.py: Updated release notes and changelog for 4.0.0-rc1.
4ce87e9e1 make-release.py: Updated manpages for 4.0.0-rc1.
a5d6dbde1 make-release.py: Versioning changes for 4.0.0-rc1.
104cc4dc7 Postpone rust updates
651721dcd Postpone boost 1.74.0 update
16c99c2c4 Auto merge of #4685 - LarryRuane:wallet-locking, r=ebfull
fb8dd9d45 CBufferedFile: use eof() method rather than feof(src) in error message.
6c20de21b CBufferedFile: assert that Fill() is only called when nReadPos == nSrcPos, and simplify based on that assumption.
868691020 Add null check to feof.
b94197436 Auto merge of #4313 - zancas:4312_define_EXPECTED_BLOCKS_PER_HOUR, r=daira
d3acf7574 Auto merge of #4542 - nuttycom:reorder_checks, r=nuttycom
bff5476a1 Add comment in lieu of redundant overwinter version check & fix tests.
494f0341a Auto merge of #4682 - str4d:rust-crate-updates, r=str4d
3261ba41b wallet: lock cs_main while accessing chainActive
6c1204b22 FFI: Rename r to rcm
fbe54c4b6 FFI: Rename to librustzcash_sapling_compute_cmu
0ac2261b7 qa: Update list of postponed crate versions
f0babb835 depends: cargo update
bb1e1e57a FFI: Migrate to bls12_381 and jubjub crates
3fd409433 FFI: Remove circuit parameter hashes from librustzcash_init_zksnark_params
c10ba7da4 depends: Migrate to zcash_* 0.3.0 Rust crates
35961c4ee add shielded balance to getwalletinfo
9dca208ef make deprecation.h include consensus/params.h
b464b7dcc Auto merge of #4678 - str4d:zip-215-more-test-cases, r=str4d
4089e760f consensus: Remove redundant contextual consensus rules
56de0a09c consensus: Reorder Overwinter+!Sapling rules
89274524e consensus: Move Sapling-disabled Overwinter rules above Sapling rules
8175dc5b7 consensus: Combine saplingActive conditionals
50afda023 consensus: Move overwinterActive rules ahead of saplingActive rules
25974d4d2 consensus: Add a placeholder for !canopyActive
830b8a44c consensus: Combine heartwoodActive conditionals
6027a61c2 consensus: Remove canopyActive gate around GetActiveFundingStreamElements
570478a07 consensus: Refactor Sprout contextual rules to match the rest
cf45a26ee consensus: Clean up some whitespace and variable names
a379f275d test: Update ZIP 215 test cases from ed25519-zebra
595b15fc4 Auto merge of #4675 - str4d:zip-207-ncc-comments, r=nuttycom
732f1a76e Adjust GetActiveFundingStream* comments
30619ae88 Auto merge of #4654 - str4d:sodium-oxide, r=str4d
d41cf3784 ed25519: Panic (triggering abort) if nullptr passed into APIs
efb4246ad Replace libsodium's crypto_sign with ed25519-zebra
c59505688 consensus: Clearly gate active funding stream elements on Canopy
016e35197 Auto merge of #4674 - therealyingtong:zip-212-ncc-fixes, r=therealyingtong
1ed936b89 Add link to ZIP212 in coinbase comment
768534a8b consensus: Statically check funding stream numerators and denominators
bfeaa0e4c consensus: Document the empty conditional branch in ContextualCheckBlock
b47f68675 consensus: Add assertions for Params::HalvingHeight parameters
2f2c8ea5f Rename PRV_DIVERSIFIER to PRF_TAG
c3f0e181e Auto merge of #4672 - charlieok:remove_debian_8_jessie_descriptor, r=str4d
edcecc8a3 assert(leadbyte == 0x02) after every if(leadbyte != 0x01)
952c7f7c7 Define PRF diversifiers in prf.h
992007ecb Move esk derivation check to beginning of plaintext_checks_without_height()
236122814 Add documentation specific to ZIP 212
1c447d85c Replace libsodium's randombytes_buf with rand_core::OsRng::fill_bytes
2605fc29d Remove 'jessie' (debian 8) from suites list in linux gitian descriptors
24863f30c Auto merge of #4619 - nuttycom:bazel-patches, r=daira
940fe0b3b Auto merge of #4657 - str4d:tracing-fields, r=str4d
5ca852ba4 debian: Rename X11 to Expat-with-advertising-clause in copyright
c2f991db5 Auto merge of #4659 - str4d:tracing-init, r=str4d
70b8aac97 Auto merge of #4670 - daira:update-checksec, r=str4d
0cdce269b Merge remote-tracking branch 'upstream/master' into bazel-patches
99bfa46d0 Auto merge of #3593 - arielgabizon:explain-expiry-error, r=daira
57a0418fb Repair full_test_suite.py for new checksec.sh.
eea06658f Newer version of checksec.sh from a6df608ac0
b3407f06c Auto merge of #1665 - bitbandi:master, r=daira
95a27e9fc Auto merge of #4661 - therealyingtong:history-node-garbage-test, r=daira
659a39931 Make sure garbage bytes are different
ddae98152 Auto merge of #4662 - therealyingtong:zip-211-ncc-fixes, r=daira
cb3a19f47 Add test for garbage memory in history nodes
41cf52500 Add missing curly braces after if statement
9e117fdeb Auto merge of #4547 - zebambam:add_libfuzzer_support, r=str4d
58dda603a Added libfuzzer support.
f8fa2fcad Added support for afl-clang-fast.
027a9925c init: Add spans for initialization and shutdown
735503b47 init: Rework tracing_init call
25d2e6e3c tracing: Rework tracing_init into a single function
90e86b53b tracing: Parse log_path into an Option<Path>
81446deef util: Use DEBUG level for LogPrint(), leaving INFO for LogPrintf()
c9879d2f9 Add fields to logging in CNode and UpdateTip
f54f9d5e0 tracing: Format field values with Display
d1e0087bd tracing: Add support for span fields
2502ebb18 Auto merge of #4656 - str4d:depends-fixes, r=str4d
31ba57281 tracing: Add support for event fields
4591a4f83 tracing: Add MAP macro
a7f695dba FFI: Fix tracing log path handling on Windows
682bc1575 depends: Split check-packages and check-sources across categories
ddc517b2c depends: Add platform-specific overrides for download files
2a3770cfb depends: Rework Rust integration
9487115cb Auto merge of #3952 - LongShao007:master, r=daira
2cd6d5c73 Auto merge of #4460 - rex4539:remove-deprecated-contrib, r=daira
b0b8c63a5 Remove deprecated contrib utilities
e0692ed4d Auto merge of #4642 - str4d:modernise-macos-toolchain, r=str4d
bf4730dd6 contrib: Update macdeploy README
927a03465 Merge branch 'master' into modernise-macos-toolchain
d36718542 Auto merge of #4597 - str4d:rust-tracing, r=str4d
1bd4d236d Throw error if -paramsdir not a valid directory
beae52ef9 Add paramsdir option for manpage
3b5966eef Allow configure params directory
205c7b584 Auto merge of #4653 - str4d:reliable-dependency-fetching, r=str4d
5ada9230a Revert "Add check-depends step to STAGE_COMMANDS list"
70c518bb8 depends: tracing-core 0.1.13
c9ca74fb3 qa: Add tracing dependencies to updatecheck.py
695d554ef doc: Update release notes for tracing backend
2ae4985d2 tracing: Document macro arguments that MUST be static constant UTF-8 strings
c87205e5e tracing: Log field values that aren't valid UTF-8
ba831f814 rpc: Throw error in setlogfilter if filter reloading fails
58c410974 init: Place additional constraints on pathDebug
92f18661d FFI: Add missing <stddef.h> includes
ba1f455e5 wallet: Fix logging to satisfy constexpr requirements
f57f1c17a tracing: Use 'static constexpr' hack in macros
cb294bbda FFI: Extract common codeunit types into a rust/types.h header
253ea6db3 Add some spans to the Zcash codebase
aae7583cd Add support for tracing spans
f89ea3fc3 Add an RPC method for setting the tracing filter directives
3f81f9be8 Add support for reloading the tracing filter
2b7d82471 Use a tracing EnvFilter directive for -debug flags
d5de95f17 Replace C++ logging with tracing logging
e04da7495 FFI wrapper around tracing crate
e6a52fa9c Add tracing to librustzcash dependencies
b6547929c Auto merge of #4593 - str4d:proofverifier-refactor, r=str4d
3855cf8be test: Remove obsolete TransactionBuilder test
022c3a4c6 Auto merge of #4567 - oxarbitrage:issue4537, r=daira
45b2a612e Update Makefile.am
9cdc6f2a8 depends: Use FALLBACK_DOWNLOAD_PATH if the primary's hash doesn't match
25ef1940b Revert "Try downloading from our mirror first to avoid headaches."
a4bfd2ea0 Revert "Rename FALLBACK_DOWNLOAD_PATH to PRIORITY_DOWNLOAD_PATH"
d6f527a88 Auto merge of #4650 - teor2345:patch-1, r=daira
591946491 Fix a comment typo in pow.cpp
67ab09ae4 Auto merge of #4646 - defuse:bump-dependency-update-deadlines, r=str4d
902bf838a Add new dependencies to updatecheck.py, add a flag we can use to have our CI test it.
88082c4a5 Extend deadline for postponing dependency updates
4e3c04c87 Auto merge of #4588 - nuttycom:remove_amqp, r=str4d
4dd0647c1 Remove Proton license from contrib/debian/copyright
0391809da Remove amqp code and Proton library depenencies & flags.
b383d6cad Merge remote-tracking branch 'upstream/master' into bazel-patches
bded4ca50 Auto merge of #4583 - oxarbitrage:issue4495, r=str4d
101857a29 Limit scope of all global std::once_flag
e591f94fc Assorted small changes to the locked pool manager
71b79b85d lockedpool: avoid sensitive data in core files (FreeBSD)
6b278b20c lockedpool: When possible, use madvise to avoid including sensitive information in core dumps
4277ef206 Fix segfault in allocator_tests/arena_tests
28825123e Fix compilation errors in support/lockedpool.cpp
3d635dd09 Fix out-of-bounds write in case of failing mmap(...) in PosixLockedPageAllocator::AllocateLocked
e64df0781 fix nits: variable naming, typos
1245ce0d8 Use best-fit strategy in Arena, now O(log(n)) instead O(n)
614d1bb20 Remove some unused functions and methods
2555074c2 LockedPool: avoid quadratic-time allocation
817e36b21 LockedPool: fix explosion for illegal-sized alloc
509652e93 LockedPool: test handling of invalid allocations
d0df44f15 Do not shadow variable, use deprecated MAP_ANON if MAP_ANONYMOUS is not defined.
088219f78 bench: Add benchmark for lockedpool allocation/deallocation
82a667591 rpc: Add `getmemoryinfo` call
d570eabc3 support: Add LockedPool
8d0f80f83 wallet: Get rid of LockObject and UnlockObject calls in key.h
b997b30a9 wallet: Change CCrypter to use vectors with secure allocator
20280556b [trivial] Switched constants to sizeof()
2589b2fcc Auto merge of #4614 - str4d:ctaes, r=str4d
fb2edcc35 Debian: Add copyright entries for ctaes and secp256k1
7e4a74ddf depends: bump native_cctools for fixed lto with external clang
7a714958d depends: enable lto support for Apple's ld64
25cc992ea depends: Add justifications for macOS clang flags
b22d18063 depends: specify libc++ header location for darwin
6ae57751c depends: Specify path to native binaries as clang argument
d6c3af5e8 depends: Decouple toolchain + binutils
a21fa08e0 doc: explain why passing -mlinker-version is required
6b785ae72 darwin: pass mlinker-version so that clang enables new features
cc934c2b1 macos: Bump to xcode 11.3.1 and 10.15 SDK
a53d5ea8e depends: bump MacOS toolchain
addae3b25 contrib: macdeploy: Remove historical extraction notes
6296a1e9a contrib: macdeploy: Use apple-sdk-tools instead of xar+pbzx
8e1a78ab6 native_cctools: Don't use libc++ from pinned clang
d02d06b56 Adapt rest of tooling to new SDK naming scheme
29fbb65b1 contrib: macdeploy: Correctly generate macOS SDK
79c707aaf Fix naming of macOS SDK and clarify version
d75478432 build: use macOS 10.14 SDK
a346fc008 depends: native_cctools 921, ld64 409.12, libtapi 1000.10.8
49c023c87 depends: clang 6.0.1
e04c18420 build: set minimum supported macOS to 10.12
d84878d85 scripted-diff: prefer MAC_OSX over __APPLE__
a0f3ef7e1 doc: mention that macOS 10.10 is now required
0d3e5fc43 depends: set OSX_MIN_VERSION to 10.10
63bfdad10 Fix a return status issue.
f39e4dbaf Auto merge of #4627 - LarryRuane:issue4596-flush-wallet-db, r=str4d
454fd23a9 Update .gitignore.
499d9c222 zcutil/distclean.sh: remove BDB utility programs.
6abcf40a3 add more allowed duplicates
615efd2a5 Auto merge of #4584 - defuse:update-ignore, r=str4d
24f3bcf27 Auto merge of #4623 - str4d:metrics-locking, r=str4d
91cb52adc Auto merge of #4606 - str4d:safe-mode-alert-for-pre-heartwood-nodes, r=str4d
b1b65121a Auto merge of #4590 - cwsaunders:master, r=str4d
e789632c3 Auto merge of #4640 - therealyingtong:v3.1.0-release-notes-update, r=str4d
f7b3a5550 Update doc/release-notes/release-notes-3.1.0.md
b5ee15b78 Add Debian8 deprecation to release notes
65f0a4736 Auto merge of #4638 - therealyingtong:release-v3.1.0, r=daira
369c16ef4 Set APPROX_RELEASE_HEIGHT to 917000 and update release-notes-3.1.0.md
228b17c9e make-release.py: Updated release notes and changelog for 3.1.0.
f25e86a46 make-release.py: Updated manpages for 3.1.0.
e4963385a make-release.py: Versioning changes for 3.1.0.
d08883263 Auto merge of #4636 - daira:disable-mining-regression, r=daira
162d5a50e Auto merge of #4610 - ebfull:testnet-dev-fund, r=str4d
40b9cbf0b Allow Equihash validation tests to be compiled with --disable-mining.
c99a00596 Fix --disable-mining build regression. closes #4634
283287ab5 Use 51 Testnet Dev Fund addresses, and adjust the end heights.
62c361381 Delay testnet activation height by one week
de52eed97 Auto merge of #4628 - therealyingtong:block-903002-bug, r=str4d
04b4d4276 Zero-initialize HistoryNode values.
13aa74aa4 Pass HistoryNode struct to librustzcash FFI
a65ecaad5 flush wallet db (SetBestChain()) on clean shutdown
5d15ee1f2 metrics: Collect general stats before clearing screen
d058568e0 Auto merge of #4617 - daira:release-notes-3.0.0-formatting, r=daira
6631f218d Auto merge of #4616 - daira:4615/hashrate-display, r=daira
ab4d2ede4 Set PROTOCOL_VERSION to 170012
8a4c51508 Set Canopy testnet activation height to 1020500
f7c7c76be Fix the formatting of the 3.0.0 release notes.
d9307ddd8 Add unit tests for DisplayDuration, DisplaySize, and DisplayHashRate.
460a601e9 Metrics screen: display hash rates using SI prefixes rather than as powers of 2.
976dce769 src/metrics.cpp: cosmetic whitespace changes.
c0a19854b Add dev fund addresses for testnet NU4 activation.
42f98aacc Send alert to put pre-Heartwood nodes into safe mode.
afd98c5e5 revert result key change, fix calls to getime
777cda942 Update to Python 3
6ab6279bd Updating to Python 3
19f641560 install bdb binaries
8f5dbd329 Enforce pre-release dependency update check in make-release.py
44c35c6f6 Change release instructions to block the release when dependencies are not updated and not postponed.
75876f477 Implement system for postponing dependency updates.
26522d212 only allow duplicates for certain options of the config
493c0f98a change order of returned pair, fix compatibility issue
18a1448ac add timestamp to warnings
bb0d3acb8 explain expiry error
9c96affb0 fix bug of bdb.mk
4bffaf040 Be consistent with how to #include test data headers
2ee9ce678 Be consistent about what path to include bitcoin-config.h with
39d87d8f1 Include header files within the source tree using "" instead of <>
f56fc01fc Don't clobber cwd in rpc_wallet_tests.cpp
86627fed8 Add missing libsnark initialization call
9b006ce9e libsnark: Don't (implicitly) rely on other tests initializing the public params
2d8ee6a68 Remove Checkpoints_tests.cpp
f9200ca9c Fix linkage issue with consts in primitives/block.h
5c4a47cbf Add actual header file for utilities in gtest/utils.cpp
4109ee36b Add missing #includes to test_block.cpp
0bab947bc Get rid of implicit hidden dependencies between test .cpp files
31436e437 Add assert_raises_message to the python test framework.
REVERT: 650d13dad Rename libzcashconsensus.la -> libzcash_script.la
REVERT: 128ba4b7b Rename zcashconsensus_* -> zcash_script_* in APIs
REVERT: 0368fb5d9 Rename src/script/zcashconsensus.* -> src/script/zcash_script.*
REVERT: e5300f875 Fixes after all the merged branches
REVERT: 60ad3752c prevector: Terminate without logging on failed allocation
REVERT: aa1567f86 Replace boost::optional with std::optional
REVERT: 25a225f94 Replace boost::variant with std::variant
REVERT: 6272d92b5 Remove init_and_check_sodium from crypto/common.h
REVERT: f6a5273e5 Remove JSDescription::h_sig
REVERT: 911dd2655 Add JSDescriptionInfo for constructing JSDescriptions
REVERT: 5575cdd8e Add amount and consensus branch ID to zcashconsensus_verify_script
REVERT: ad3b68cd4 Default to defining endian-conversion DECLs in compat w/o config
REVERT: 3aec16a84 Merge branch 'locked-memory-manager' into zcashconsensus-fixes-base
REVERT: e204c5c62 bench: Add benchmark for lockedpool allocation/deallocation
REVERT: 8056a23a5 rpc: Add `getmemoryinfo` call
REVERT: 572a58362 support: Add LockedPool
REVERT: bf3c73ea1 wallet: Get rid of LockObject and UnlockObject calls in key.h
REVERT: a49bd840a wallet: Change CCrypter to use vectors with secure allocator
REVERT: b181e6c0f [trivial] Switched constants to sizeof()
REVERT: 84bb6fe21 Merge branch 'c++17' into zcashconsensus-fixes-base
REVERT: 50ef461f3 Merge branch 'proofverifier-refactor' into zcashconsensus-fixes-base
REVERT: 622427d67 Remove crypto/equihash from libzcashconsensus
REVERT: e1a513220 Replace libsodium's crypto_generichash_blake2b with blake2b_simd
REVERT: 9514e4018 Replace libsodium's randombytes_buf with rand_core::OsRng::fill_bytes
REVERT: 3f3e9d2c7 depends: Build C++ dependencies with C++ 17
REVERT: 08b9c9976 build: Require and build with C++ 17
REVERT: ed9c9273d build: Update AX_CXX_COMPILE_STDCXX macro

git-subtree-dir: depend/zcash
git-subtree-split: d94fe7678b49dce57c8a71ffe44b28d5b57eddd6
2020-12-09 15:00:52 -08:00
Jane Lusby 848eb05d06
bump bindgen back to 0.54 for compatibility with rocksdb (#14)
* bump bindgen back to 0.54 for compatibility with rocksdb

* update changelog for new release

* (cargo-release) version 0.1.4

* (cargo-release) start next development iteration 0.1.5-alpha.0
2020-11-23 19:23:23 -08:00
Jane Lusby 55f1980ba0 New release to enable endomorphism optimization and switch to subtree (#13)
* (cargo-release) version 0.1.3

* (cargo-release) start next development iteration 0.1.4-alpha.0

* update changelog
2020-10-09 17:20:31 -07:00
str4d 0fa3d09629 Use the endomorphism optimization for secp256k1 (#10)
The relevant patents have now expired:
- US7110538B2 expired 2020-09-25.
- US7995752B2 expired 2020-09-15.

Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-10-09 17:20:22 -07:00
Jane Lusby 85b79158de Remove top level Cargo.toml to allow publishing 2020-10-09 17:20:11 -07:00
Jane Lusby 294026b2a4 Squashed 'depend/zcash/' content from commit 650d13dad
git-subtree-dir: depend/zcash
git-subtree-split: 650d13dadc
2020-10-09 17:19:13 -07:00
Jane Lusby bdff22fc51 Merge commit '294026b2a41c3fa4ac9c7a93cfe00d834fe05f44' as 'depend/zcash' 2020-10-09 17:19:13 -07:00
Jane Lusby 86886c99f0 remove submodule 2020-10-09 13:49:39 -07:00
Dimitris Apostolou 9fa1d12ced
Fix typo (#11) 2020-10-05 11:09:14 -07:00
Jane Lusby 5a5cbe85f6
remove color-eyre from build dependencies (#9)
* remove color-eyre from build dependencies

* looks like we can remove this from the dev deps too

* (cargo-release) version 0.1.2-rc.1

* (cargo-release) version 0.1.2

* (cargo-release) start next development iteration 0.1.3-alpha.0
2020-09-21 16:01:37 -07:00
Jane Lusby 13762faf7e
fix issues with changelog (#8) 2020-09-15 18:37:37 -07:00
Jane Lusby 3505d64662
Merge pull request #7 from ZcashFoundation/rel
Create a new release and increment version for next development cycle.
2020-09-15 18:15:33 -07:00
Jane Lusby 91cc993062 (cargo-release) start next development iteration 0.1.2-alpha.0 2020-09-15 17:50:37 -07:00
Jane Lusby 29b6915388 increment version for new release 2020-09-15 17:13:06 -07:00
Jane Lusby 95acf44e83
update bindgen and cc deps (#6)
* update bindgen and cc deps

* try to get ci working

* add back old config and fix remote url

* i guess it actually was the config

* prep for releasing with cargo-release
2020-09-15 17:11:33 -07:00
Jane Lusby 8b69b996c8 Add description fields to cargo.toml 2020-08-13 17:04:25 -07:00
Jane Lusby dcde9a0b5b
merge zcash_script changes for final release (#3)
* initial working version on cc

* add basic actions automation

* checkout submodules

* don't require bindgen generation

* use newest zcash changes

* pause work on ripping out sodium

* push hacks to some version of the repo

* fix path in build.rs

* add job for testing different OSs

* str4d is the fucking greatest

* cleanup unused code

* remove symlink

* cleanup cruft

* remove old automation files

* Apply suggestions from code review

Co-authored-by: Saleem Rashid <dev@saleemrashid.com>

* add failure case test

* always generate bindings

* install llvm dep on windows

* cleanup unused bindings

* try messing with CI

* use actual branch name

* use correct remote for gitmodules

* Update build.rs

Co-authored-by: Saleem Rashid <dev@saleemrashid.com>

* rename to zcash_script

* cleanup last mentions

* Prepare zcash_script for release (#2)

* cleanup last mentions

* add files that need to be included

Co-authored-by: Saleem Rashid <dev@saleemrashid.com>
2020-08-13 16:47:37 -07:00
Jane Lusby c2252b2a07
initial working version on cc (#1)
* initial working version on cc

* add basic actions automation

* checkout submodules

* don't require bindgen generation

* use newest zcash changes

* pause work on ripping out sodium

* push hacks to some version of the repo

* fix path in build.rs

* add job for testing different OSs

* str4d is the fucking greatest

* cleanup unused code

* remove symlink

* cleanup cruft

* remove old automation files

* Apply suggestions from code review

Co-authored-by: Saleem Rashid <dev@saleemrashid.com>

* add failure case test

* always generate bindings

* install llvm dep on windows

* cleanup unused bindings

* try messing with CI

* use actual branch name

* use correct remote for gitmodules

* Update build.rs

Co-authored-by: Saleem Rashid <dev@saleemrashid.com>

Co-authored-by: Saleem Rashid <dev@saleemrashid.com>
2020-07-22 14:02:44 -07:00
Steven Roose 20d5c11746
Merge pull request #14 from elichai/2020-01-bitcoin-0.19
Bump version to 0.19.0.1
2020-01-08 19:35:51 +00:00
Elichai Turkel e544eb242d
bump version to 0.19.0-1 2020-01-07 16:55:56 +02:00
Elichai Turkel 1972a1f612
Update bitcoin submodule to 0.19.0.1 2020-01-07 16:55:55 +02:00
Elichai Turkel 6c5cc47f90
Pin cc version to match rust-bitcoin/rust-secp256k1#156 2020-01-07 16:44:45 +02:00
Elichai Turkel 3e0009474b
Add a feature for external libsecp256k1 2020-01-07 16:41:21 +02:00
Elichai Turkel 300e3d2ae5
Fix cross compilation to windows in build.rs 2020-01-07 16:23:13 +02:00
Elichai Turkel 60e17c99da
Compile libsecp256k1 as part of bitcoin, not as a dependency 2020-01-07 16:22:37 +02:00
Elichai Turkel 32e432ff71
Move bitcoin into a depend directory 2020-01-07 16:07:05 +02:00
Tamas Blummer 6fa2f9e9d0 make secp256k1 a regular dependency 2019-08-02 22:11:02 +02:00
Jonas Nick df33c1a75f Relax cc dependency requirements, bump secp256k1 to 0.15 and bump version to 0.17.0 (#9)
* Relax cc dependency requirements, bump secp256k1 to 0.13 and bump version to 0.16.5

* Update travis and appveyor to use minimum rustc version 1.22.0 required by secp256k1 0.13

* Add WIN32 define for Windows target, remove endianness decls.

* Relax cc requirements, bump secp256k1 to 0.15 and bump version to 0.17.0
2019-07-27 09:12:54 +02:00
Tamas Blummer bc1039d517 bump version 2018-12-19 22:45:14 +01:00
Matt Corallo 3d69dfc431 Bump deps and pin cc (#7)
* Bump bitcoin dep to v0.17.1rc1 (which should be final this week)

* Fix cc dep as the rust ecosystem is terrible

* Move secp to a dev-dep and bump it
2018-12-19 22:32:34 +01:00
Matt Corallo 6b6c1b6043 Bump to Bitcoin Core 0.16.1 and bump deps (#5)
* Bump bitcoin to v0.16.1

* Bump deps and version for bitcoin update

* Fix badge links in README
2018-06-24 19:17:49 +02:00
Tamas Blummer 2121e233c0 windows build 2018-05-11 15:25:17 +02:00
Aleksey Sidorov 98b23bfb4e Implement build script for windows (#4)
* Implement build script for windows

* Add ci build for rust 1.14.0, disable parallel build

* Disable warnings about unused variables.
2018-05-11 15:19:05 +02:00
Tamás Blummer b68265a7e2
Update README.md 2018-04-09 13:36:06 +02:00
Matt Corallo 66d6983f00 Bump version to 0.16.2 since cargo doesn't understand hyphens (#2) 2018-04-09 13:33:24 +02:00
Andrew Poelstra afb4173e73 Fix build for rustc 1.14; turn on Travis (#1) 2018-04-04 12:00:05 +02:00
Tamas Blummer 9bc3c15485 point to rust-bitcoin 2018-03-14 20:32:25 +01:00
Tamas Blummer 55f378e075 should not exclude src/compat 2018-03-10 17:15:42 +01:00
Tamas Blummer 876dc722ce exclude further source directories from package 2018-03-10 17:13:55 +01:00
Tamas Blummer e10fde64cc bump version and exclude files from package that are not needed to compile the c++ code 2018-03-10 17:08:05 +01:00
Tamas Blummer f91bdc48a3 use http for submodules 2018-03-10 14:17:52 +01:00
Tamas Blummer ac28390d13 make bitcoinconsensus::Error cloneable 2018-03-10 14:03:52 +01:00
Tamas Blummer 7ae91d25f4 point to the rust-bitcoin org 2018-03-06 09:05:15 +01:00
Tamas Blummer 60983391ad name change to bitcoinconsenus 2018-02-26 09:06:53 +01:00
Tamas Blummer 1456bcac9f secp256k1 dependency version to 0.8 2018-02-26 08:57:18 +01:00