Commit Graph

18317 Commits

Author SHA1 Message Date
Kris Nuttycombe 768c6eb764
Revert "Fix gitian parallel" 2024-08-28 14:53:54 -06:00
Kris Nuttycombe 3b9272462a
Merge pull request #6939 from zcash/fix_gitian_parallel
Fix gitian parallel
2024-08-28 14:53:52 -06:00
Kris Nuttycombe ecfe7773ee
Merge pull request #6937 from zcash/version-5.10.0
Version 5.10.0 post-release merge
2024-08-28 12:36:44 -06:00
Daira-Emma Hopwood afeab4dab7
Merge pull request #6942 from zcash/release-v5.10.0
Release v5.10.0
2024-08-27 20:20:55 +01:00
Kris Nuttycombe fefd6232f6
Update doc/release-notes/release-notes-5.10.0.md
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-27 11:05:50 -06:00
Kris Nuttycombe e9f43f81d0 make-release.py: Updated book for 5.10.0. 2024-08-27 10:40:33 -06:00
Kris Nuttycombe d5fde6dde0 make-release.py: Updated release notes and changelog for 5.10.0. 2024-08-27 10:40:33 -06:00
Kris Nuttycombe 185a99c9d2 make-release.py: Updated manpages for 5.10.0. 2024-08-27 10:40:33 -06:00
Kris Nuttycombe 8f6579fe63 make-release.py: Versioning changes for 5.10.0. 2024-08-27 10:37:31 -06:00
Kris Nuttycombe 2791f3cc5b
Merge pull request #6941 from zcash/nu6_testnet_activation
Activate NU6 on Testnet
2024-08-27 10:33:14 -06:00
Kris Nuttycombe 646ab61713 Disable macos CI runners.
At this point, we are not going to take the time to enable tier-3
platforms. Users desiring to use these platforms should migrate to
zebrad instead.
2024-08-27 09:30:00 -06:00
Kris Nuttycombe 5747475d17 Update supply-chain audits for Rust version bumps. 2024-08-26 21:37:28 -06:00
Kris Nuttycombe 94940e1e5d Update `librustzcash` rust dependencies.
Update to `zcash_protocol 0.3`, ``zcash_primitives 0.17`,
`zcash_proofs 0.17`, `zcash_address 0.5`

Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-26 21:37:28 -06:00
Kris Nuttycombe 1bcb584604 ZIP 214: Configure Testnet funding & lockbox streams for NU6
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-26 21:37:28 -06:00
Daira-Emma Hopwood e81421f8d9 Delete protocol version constants that are no longer used.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-26 17:48:54 -06:00
Kris Nuttycombe c5e0b12fcb
Merge pull request #6940 from daira/funding-stream-names
Change constant names for funding streams added in NU6 to match ZIP 214
2024-08-26 17:48:24 -06:00
Daira-Emma Hopwood 8d6ca0c841 Change constant names for funding streams added in NU6 to match ZIP 214.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-26 22:26:37 +01:00
y4ssi 715df5cbcb fix gitian-descriptors 2024-08-25 09:49:06 -06:00
Daira-Emma Hopwood 572e601f23
Merge pull request #6936 from zcash/release-v5.10.0-rc1
Release zcashd v5.10.0-rc1
2024-08-22 17:40:59 +01:00
Daira-Emma Hopwood 7bd58dc48e Add some diff audits to avoid exemptions for arrayref, cc, and tempfile.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 15:58:20 +01:00
Kris Nuttycombe ff1c8eb5b8 Remove unnecessary audit-as-crates-io from qa/supply-chain/config.toml 2024-08-22 08:36:29 -06:00
Kris Nuttycombe 1d0955e357 Update documentation related to changing the end-of-service halt.
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 07:09:52 -06:00
Kris Nuttycombe 4d28840612 Update audit metadata for Rust crates. 2024-08-22 07:05:54 -06:00
Kris Nuttycombe 32f441437f make-release.py: Updated book for 5.10.0-rc1. 2024-08-21 22:55:30 -06:00
Kris Nuttycombe 41cee4bd9e make-release.py: Updated release notes and changelog for 5.10.0-rc1. 2024-08-21 22:55:30 -06:00
Kris Nuttycombe f20063a002 make-release.py: Updated manpages for 5.10.0-rc1. 2024-08-21 22:55:30 -06:00
Kris Nuttycombe 8f335af6d6 make-release.py: Versioning changes for 5.10.0-rc1. 2024-08-21 22:53:24 -06:00
Kris Nuttycombe 60af72cd52 Update `RELEASE_TO_DEPRECATION_WEEKS` to ensure v5.10.0-rc1 EOS halts before the halving. 2024-08-21 22:40:34 -06:00
Kris Nuttycombe 5b35f68f9e Update release notes for v5.10.0-rc1 2024-08-21 22:38:38 -06:00
Kris Nuttycombe 7ac8c9a791
Merge pull request #6926 from daira/createtransaction-init
Ensure out-reference parameters of `CWallet::CreateTransaction` are initialized
2024-08-21 22:23:33 -06:00
Kris Nuttycombe 4ca1c795df Use scopes to make it more obvious that certain variables are never used.
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 20:26:48 -06:00
Daira-Emma Hopwood 288c2ba0ce Ensure out-reference parameters of `CWallet::CreateTransaction` are initialized.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 20:21:04 -06:00
Kris Nuttycombe f59edb43a3 Update native_cxxbridge to version 1.0.126 2024-08-21 20:20:20 -06:00
Kris Nuttycombe 68521b0e26 Update native_rust to version 1.80.1 2024-08-21 20:20:20 -06:00
Kris Nuttycombe 1bcc6b030d Remove the invalid `librustzcash` entry from .cargo/config.toml.offline 2024-08-21 20:20:20 -06:00
Kris Nuttycombe bd841d88a5
Merge pull request #6929 from zcash/librustzcash_dependency_updates
Update `librustzcash` dependencies.
2024-08-21 20:19:46 -06:00
Kris Nuttycombe 1f4e4d6cbc
Merge pull request #6928 from daira/orphan-resolution
Backport fix for orphan handling
2024-08-21 20:01:25 -06:00
Kris Nuttycombe f4cad28f82
Merge pull request #6911 from dismad/patch-1
Update README.md, ZecHub URL update
2024-08-21 18:22:06 -06:00
Kris Nuttycombe a8faabf775
Merge pull request #6923 from daira/show-download-urls
depends: Show the URLs from which dependencies are being downloaded
2024-08-21 18:21:27 -06:00
Kris Nuttycombe 2147537ed7 Update to latest `librustzcash` release versions
* zcash_address 0.4
* zcash_encoding 0.2.1
* zcash_primitives 0.16
* zcash_proofs 0.16
* zcash_protocol 0.2

This also updates to the following upstream crate versions:
* bridgetree 0.5
* incrementalmerkletree 0.6
* orchard 0.9
* sapling-crypto 0.2
2024-08-21 18:14:30 -06:00
Daira-Emma Hopwood c890bb505a Mark mempool_nu_activation as a flaky RPC test.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 01:02:41 +01:00
Kris Nuttycombe 98a560fbe8 Apply suggestions from code review
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 01:02:41 +01:00
Pieter Wuille f00cf8cde7 Interrupt orphan processing after every transaction
This makes orphan processing work like handling getdata messages:
After every actual transaction validation attempt, interrupt
processing to deal with messages arriving from other peers.

(cherry picked from commit bitcoin/bitcoin@866c8058a7)
2024-08-22 01:02:41 +01:00
Pieter Wuille 317606474f [MOVEONLY] Move processing of orphan queue to ProcessOrphanTx
(cherry picked from commit bitcoin/bitcoin@6e051f3d32)

Zcash: Adapted to us not having various upstream changes, including the
orphan lock changes in bitcoin/bitcoin#11824.
2024-08-22 01:02:41 +01:00
Pieter Wuille 1a12eb41b8 Simplify orphan processing in preparation for interruptibility
(cherry picked from commit bitcoin/bitcoin@9453018fdc)

Zcash: Adapted to our codebase.
2024-08-22 01:02:41 +01:00
Gregory Maxwell df9971131e Increase maximum orphan size to 100,000 bytes.
Although this increases node memory usage in the worst case by perhaps
 30MB, the current behavior causes severe issues with dependent tx relay.

(cherry picked from commit bitcoin/bitcoin@54326a6808)
2024-08-22 01:02:41 +01:00
Gregory Maxwell e031b43c3c Treat orphans as implicit inv for parents, discard when parents rejected.
An orphan whos parents were rejected is never going to connect, so there
 is little utility in keeping it.

Orphans also helpfully tell us what we're missing, so go ahead and treat
 it as INVed.

(cherry picked from commit bitcoin/bitcoin@8c99d1b525)

Zcash: Adapted to our INV changes.
2024-08-22 01:02:41 +01:00
Gregory Maxwell 8cc74c9828 Adds an expiration time for orphan tx.
This prevents higher order orphans and other junk from
 holding positions in the orphan map.  Parents delayed
 twenty minutes are more are unlikely to ever arrive.

The freed space will improve the orphan matching success rate for
 other transactions.

(cherry picked from commit bitcoin/bitcoin@11cc143895)
2024-08-22 01:02:41 +01:00
Gregory Maxwell 22bfed25fd This eliminates the primary leak that causes the orphan map to
always grow to its maximum size.

This does not go so far as to attempt to connect orphans made
 connectable by a new block.

Keeping the orphan map less full helps improve the reliability
 of relaying chains of transactions.

(cherry picked from commit bitcoin/bitcoin@db0ffe80a0)
2024-08-22 01:02:41 +01:00
Pieter Wuille 7cb32b1634 Track orphan by prev COutPoint rather than prev hash
(cherry picked from commit bitcoin/bitcoin@1b0bcc5f95)

Zcash: Includes additional change to `IteratorComparator` cherry-picked
from commit bitcoin/bitcoin@fbf327b138.
2024-08-22 01:02:41 +01:00