Commit Graph

18446 Commits

Author SHA1 Message Date
Daira-Emma Hopwood a4bf3b1eda Update Python code to work, and avoid deprecation warnings, on Python 3.12.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-20 13:21:46 +01:00
Kris Nuttycombe 623bf72d3b
Merge pull request #6927 from daira/inv-buffer
Backport fix for INV buffer blowup
2024-08-19 09:08:59 -06:00
Daira-Emma Hopwood 8feb12180c depends: Show the URLs from which dependencies are being downloaded.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-12 20:08:53 +01:00
Daira-Emma Hopwood 60b971f8af
Merge pull request #6925 from zcash/ci_update
Adding coreutils in univalue - MacOS's CI
2024-08-12 20:07:46 +01:00
Yass afa6b912bb
Adding coreutils in univalue - MacOS's CI 2024-08-12 10:30:32 -06:00
Daira-Emma Hopwood 6b8936be3d
Merge pull request #6924 from zcash/CI_update
Adding automake in secp256k1 - MacOS's CI
2024-08-12 17:05:05 +01:00
Daira-Emma Hopwood 80b1c29ec4
Merge pull request #6916 from sandakersmann/master
New checkpoint at block 2600000 for mainnet
2024-08-12 16:58:45 +01:00
Yass e85b3891ca
Adding automake in secp256k1 - MacOS's CI 2024-08-11 14:39:01 -06:00
Daira-Emma Hopwood 114972bd56
Merge pull request #6918 from nuttycom/improve_gettransaction_constness
Add const modifer to the `blockIndex` argument to `GetTransaction`
2024-08-09 21:41:56 +01:00
Daira-Emma Hopwood 82bbcf0610
Merge pull request #6912 from nuttycom/lockbox_funding_streams
Add `lockbox` funding stream type.
2024-08-09 20:29:13 +01:00
Kris Nuttycombe 3cc7e9a9b7 Add const modifer to the `blockIndex` argument to `GetTransaction` 2024-08-09 12:07:13 -06:00
Kris Nuttycombe 16ed48bc6b Add NU6 funding streams to the consensus parameters.
This includes a commented-out example of adding the funding streams
to the testnet config, that cannot be completed until we know the ZCG
testnet address(es).
2024-08-08 17:23:27 -06:00
Kris Nuttycombe 1f610d06a9 Add tests for lockbox funding streams. 2024-08-08 17:21:01 -06:00
Kris Nuttycombe 60c84d2c5c Add `lockbox` to value pool balance reporting. 2024-08-08 17:20:40 -06:00
Kris Nuttycombe 5b10ee6801 Add `nLockboxValue` and `nChainLockboxValue` to block index state. 2024-08-08 17:18:50 -06:00
Kris Nuttycombe 4346467e9f Add convenience overload of `Params::GetActiveFundingStreamElements`
For use in cases where we don't have the block subsidy amount for
the requested height already on hand.
2024-08-08 17:16:48 -06:00
Kris Nuttycombe 725312bbdb cleanup: Factor out rendundant `chainparams.GetConsensus()` calls from `ConnectBlock` 2024-08-08 17:15:56 -06:00
Kris Nuttycombe aeaa076cbd Fix inverted relationship between `consensus/params.h` and `consensus/funding.h`
The active funding stream information is added to the consensus
parameters via the `AddZip207*Stream` methods; the
`GetActiveFundingStreams` and `GetActiveFundingStreamElements`
functions are better expressed as member methods of `Consensus::Params`.
2024-08-08 17:14:06 -06:00
Kris Nuttycombe f94462c377 Make `GetBlockSubsidy` a method of `Consensus::Params` 2024-08-08 17:12:21 -06:00
Kris Nuttycombe 94b10a6d7f Update `getblocksubsidy` to take lockbox funding streams into account. 2024-08-08 17:12:19 -06:00
Kris Nuttycombe 95059432fd Add `lockbox` funding stream type. 2024-08-08 17:08:01 -06:00
Kris Nuttycombe de8805448a Add constants & configuration for NU6.
This also updates to zcash/librustzcash@5a4a3e06dc
in order to ensure consistency between constants defined in librustzcash
and the constants defined here.
2024-08-07 15:15:56 -06:00
Kris Nuttycombe 98495e842e
Merge pull request #6913 from str4d/more-maintenance-5.10.0
More maintenance for 5.10.0
2024-08-06 16:11:44 -06:00
Jack Grigg f11acd5e5b depends: native_cmake 3.30.2 2024-08-06 16:13:09 +00:00
Jack Grigg 5d9cd5030c rust: Silence new lints
Clippy is incorrectly detecting needless borrows, that are in fact
necessary to avoid use-after-moves.
2024-08-06 16:13:09 +00:00
Jack Grigg 16ab6e8008 rust: Remove `zcash-inspect` binary
This has been moved into the `zcash/librustzcash` repository as a
devtool.
2024-08-06 16:13:09 +00:00
Marius Kjærstad 2050ac2cbc
New checkpoint at block 2600000 for mainnet 2024-08-05 11:39:32 +02:00
Jack Grigg 76c04896f9 depends: Update Rust to 1.80.0 2024-07-25 23:03:27 +00:00
Jack Grigg 027598551d depends: native_ccache 4.10.2
This includes the fix for supporting `fmt 11`, which is also updated.
2024-07-25 19:16:36 +00:00
John Newbery 52cd44c7c8 [net processing] Only send a getheaders for one block in an INV
Headers-first is the primary method of announcement on the network. If a
node fell back sending blocks by inv, it's probably for a re-org. The
final block hash provided should be the highest, so send a getheaders
and then fetch the blocks we need to catch up.

(cherry picked from commit bitcoin/bitcoin@746736639e)

Zcash: Adjusted for us not having backported various refactors.
2024-07-23 01:57:51 +00:00
Greg Griffith 814e3205b0 removed unused code in INV message
vToFetch is never used after declaration. When checked if not empty,
evaluation is always false. Best case scenario this is optimized by the
compiler, worst case it wastes  cpu cycles.  It should be removed either
way.

(cherry picked from commit bitcoin/bitcoin@c707ca872d)

Zcash: Adjusted for us not having backported various refactors.
2024-07-23 01:56:24 +00:00
Matt Corallo df24ea9bd2 Remove block-request logic from INV message processing
(cherry picked from commit bitcoin/bitcoin@037159cebf)

Zcash: Adapted for our lack of direct headers announcement.
2024-07-23 01:56:24 +00:00
mrbandrews bc74173f8c [qa] Make comptool push blocks instead of relying on inv-fetch
(cherry picked from commit bitcoin/bitcoin@d768f151f6)
2024-07-23 01:56:24 +00:00
dismad ecc98ec041
Update README.md, ZecHub URL update
* Update ZecHub URL to new site
2024-07-21 08:48:11 -07:00
Jack Grigg 0bcddb896c
Merge pull request #6910 from str4d/rust-updates-5.10.0
Rust updates for 5.10.0
2024-07-20 02:50:19 +01:00
Jack Grigg ab31c54808 rust: clearscreen 3 2024-07-19 17:35:28 +00:00
Jack Grigg 86eb0ca5a9 cargo update 2024-07-19 17:24:36 +00:00
Jack Grigg a0812adb18
Merge pull request #6909 from str4d/pre-release-maintenance-5.10.0
Pre-release maintenance for 5.10.0
2024-07-19 17:07:28 +01:00
Jack Grigg 785830da53 cargo vet prune 2024-07-19 13:28:36 +00:00
Jack Grigg 70de0ab013 qa: Postpone Boost and LevelDB updates 2024-07-19 13:28:36 +00:00
Jack Grigg 2eded3e378 depends: libsodium 1.0.20 2024-07-19 13:28:36 +00:00
Jack Grigg da41e03603 depends: cxx 1.0.124 2024-07-19 13:28:36 +00:00
Jack Grigg c56d4ad2b6 depends: Update Clang / libcxx to LLVM 18.1.8 2024-07-19 13:28:36 +00:00
Jack Grigg 61fca2ec5f depends: native_ccache 4.10.1 2024-07-19 13:28:36 +00:00
Jack Grigg 02eaf06518 depends: native_cmake 3.30.1 2024-07-19 00:11:12 +00:00
Jack Grigg ec79b75dcc rust: Silence Rust 1.79 clippy lints
The Debug impl is all we need for these errors.
2024-06-24 23:18:47 +00:00
Jack Grigg 2de3866e2b depends: Update Rust to 1.79.0 2024-06-24 22:42:11 +00:00
Jack Grigg 4fddcd45ef qa: Update libsodium tag detection in `updatecheck.py`
From the 1.0.18 release onwards, libsodium uses the `-RELEASE` suffix to
indicate the tag corresponding to the first release in a given series.
This tag is considered immutable, while the corresponding branch can
have backported fixes from later releases.

During the 1.0.20 release cycle, the 1.0.17 tag was deleted and replaced
with a 1.0.17-RELEASE tag; this broke our tag checker. To avoid having a
dependency on a release tag that has changed, we bump our checker to use
the 1.0.18-RELEASE tag instead.
2024-06-24 16:23:30 +00:00
Jack Grigg 48f773b23c docs: Document removal of support for Debian 10 2024-06-24 16:23:20 +00:00
str4d abebf05ec2
Merge pull request #6905 from str4d/ci-bump-macos-runner
CI: Migrate from `macos-11` runner to `macos-12` runner
2024-06-24 17:01:14 +01:00