Commit Graph

1280 Commits

Author SHA1 Message Date
Kris Nuttycombe 2b9c9a1deb
Merge pull request #424 from nuttycom/ivk_prepare
Add `IncomingViewingKey::prepare` convenience method.
2024-03-25 06:54:10 -06:00
str4d 8cd63b31c4
Merge pull request #425 from zcash/release-0.8.0
orchard release version 0.8.0
2024-03-25 03:17:11 +00:00
Kris Nuttycombe d8e2bc63c1 orchard release version 0.8.0 2024-03-24 20:02:17 -06:00
Kris Nuttycombe c6ff554d10 Add `IncomingViewingKey::prepare` convenience method. 2024-03-23 10:25:01 -06:00
Kris Nuttycombe 33474bdbfd
Merge pull request #423 from nuttycom/merkle_hash_orchard_dist
Add `impl Distribution<MerkleHashOrchard> for Standard` for testing.
2024-03-19 12:34:27 -06:00
Kris Nuttycombe 1b6c078942 Add `impl Distribution<MerkleHashOrchard> for Standard` for testing. 2024-03-18 08:54:10 -06:00
str4d e74879dd0a
Merge pull request #421 from nuttycom/add_rho_type
Add a `Rho` type, to distinguish from revealed nullifiers of spent notes.
2024-03-12 23:22:14 +00:00
Kris Nuttycombe 1a8ded0038 Add a `Rho` type, to distinguish from revealed note nullifiers.
This change removes the ability to construct a `Rho` value directly from
the public API, except via deserialization from bytes (which is
necessary in order to be able to serialize a `Note`). Ordinarily, `Rho`
should be obtained either from an already-constructed `Note` or from an
`Action` or `CompactAction`.
2024-03-12 17:20:43 -06:00
Kris Nuttycombe a6b3407e2a
Merge pull request #422 from nuttycom/test_only_random_merklehashorchard
Add a `MerkleHashOrchard::random` function under the `test-dependencies` feature.
2024-03-11 18:26:44 -06:00
Kris Nuttycombe 7ef1feaf16 Add a `MerkleHashOrchard::random` function under the `test-dependencies` feature. 2024-03-11 18:06:05 -06:00
str4d 1db974141b
Merge pull request #420 from zcash/release-0.7.1
Release 0.7.1
2024-02-29 22:38:17 +00:00
Jack Grigg 79d739f197 orchard 0.7.1 2024-02-29 22:26:40 +00:00
str4d 2a312c0cf1
Merge pull request #419 from nuttycom/nullifier_ct_eq
Additions needed for Orchard batch scanning
2024-02-29 22:24:02 +00:00
str4d f8857e8292
Merge pull request #418 from daira/action-doc-nit
Trivial update to the doc for `struct Action`
2024-02-26 18:05:50 +00:00
Kris Nuttycombe 9729cd8d26 Add note_encryption::CompactAction::cmx 2024-02-26 10:03:16 -07:00
Kris Nuttycombe 8cc96b5420 Add `impl Clone for note_encryption::CompactAction` 2024-02-26 09:44:02 -07:00
Kris Nuttycombe ff7287e392 Add `impl subtle::ConstantTimeEq for note::Nullifier` 2024-02-23 22:06:10 -07:00
Daira-Emma Hopwood f90e52df92 Update the doc for `struct Action`. This was originally written when the
Orchard design had not yet been finalized.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-06 21:39:47 +00:00
Daira-Emma Hopwood 3d79ba47fe
Merge pull request #417 from daira/improve-doc-for-fixed-base-constants
Improve documentation for fixed-base constants
2024-02-06 21:27:24 +00:00
Daira Emma Hopwood ae1ba27d89 * Add a pointer to how the Z and U constants for fixed-base scalar
multiplication can be reproduced.
* Correct errors and omissions in the documentation of the fixed-base
  generators.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-06 21:19:54 +00:00
str4d 8a2abbb999
Merge pull request #416 from zcash/release-0.7.0
Release 0.7.0
2024-01-26 20:51:46 +00:00
Jack Grigg 23ce468715 orchard 0.7.0 2024-01-26 19:34:25 +00:00
Kris Nuttycombe 5db6454d38
Merge pull request #415 from zcash/zip32-scope
Use the `zip32::Scope` type
2024-01-25 21:52:18 -07:00
Jack Grigg a55fbf1fda Use the `zip32::Scope` type 2024-01-26 03:05:42 +00:00
Kris Nuttycombe c5dea4e33b
Merge pull request #414 from zcash/zip32-0.1 2024-01-10 20:43:45 -07:00
str4d d5fa3e1050
Merge pull request #413 from zcash/zcash_spec-0.1
Migrate to `zcash_spec 0.1`
2024-01-11 03:11:36 +00:00
Jack Grigg 68290a1a58 Migrate to `zip32 0.1`
Closes zcash/orchard#410.
2024-01-10 22:45:11 +00:00
Jack Grigg 21cff6bb9d Clean up changelog 2024-01-10 22:44:42 +00:00
Jack Grigg 4b09ef6ab5 Migrate to `zcash_spec 0.1` 2024-01-10 22:44:19 +00:00
Kris Nuttycombe 9a85034ce9
Merge pull request #412 from nuttycom/bundle_metadata
Return bundle metadata from bundle building.
2024-01-09 15:45:01 -07:00
Kris Nuttycombe 3f7acee282
Apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2024-01-09 15:14:12 -07:00
Kris Nuttycombe b60ef5c7ea Return bundle metadata from bundle building.
In order to be able to associate requested spends and outputs with the
indices of the actions that execute these operations, it is necessary to
track the randomization of inputs and outputs and return the mappings
that resulted from that shuffling.
2024-01-09 14:09:05 -07:00
Kris Nuttycombe e127230af0
Merge pull request #411 from nuttycom/public_merkle_depth
Make the `MERKLE_DEPTH_ORCHARD` constant public.
2024-01-06 10:02:15 -07:00
Kris Nuttycombe 110ad5c642 Make the `MERKLE_DEPTH_ORCHARD` constant public. 2024-01-05 13:41:19 -07:00
Kris Nuttycombe ba70c32c28
Merge pull request #409 from zcash/required_bundles
Modify `BundleType` to exclude the anchor & allow no bundle to be produced.
2023-12-21 08:16:32 -07:00
Kris Nuttycombe 189257391a Expose `Anchor::empty_tree`. 2023-12-20 20:25:06 -07:00
Kris Nuttycombe 3845686a6e Modify `BundleType` to exclude the anchor & allow no bundle to be produced.
This adds a flag to `BundleType` that, when set, requires a dummy-only
bundle to be produced even if no spends or outputs are added to the
builder, and when unset results in standard padding.
2023-12-20 19:29:14 -07:00
str4d a0f1acadb3
Merge pull request #408 from daira/fix-changelog-entries
Move some changelog entries from 0.3.0 to 0.4.0
2023-12-20 00:57:34 +00:00
str4d a5948cd778
Fix path to `orchard::note::Nullifier` in CHANGELOG.md 2023-12-20 00:56:26 +00:00
Daira Emma Hopwood 71d9ddd637 Move some changelog entries from 0.3.0 to 0.4.0.
The changelog changes in #362 had a non-merge conflict with #363,
because #362 was implemented as if it would be part of the 0.3.0
release but was in fact merged just afterwards.

fixes #391

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-20 00:21:57 +00:00
str4d c375696787
Merge pull request #405 from daira/change-license
Change license from BOSL to "MIT OR Apache-2.0"
2023-12-20 00:03:42 +00:00
Daira Emma Hopwood ac4b52187f Switch to MIT or Apache 2.0 licensing.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-19 21:35:25 +00:00
Daira Emma Hopwood 153b793b26 Change my name in Cargo.toml and remove an old email address for
Ying Tong Lai.

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-19 21:34:28 +00:00
str4d 78f598616a
Merge pull request #404 from nuttycom/builder_functions
Add a public bundle-builder function as an alternative to the mutable builder.
2023-12-19 20:03:08 +00:00
Kris Nuttycombe 938b203de5 Apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2023-12-19 12:45:43 -07:00
Kris Nuttycombe 2e2c161d52 Add a public bundle construction function & use it in the builder. 2023-12-18 21:56:42 -07:00
Kris Nuttycombe 0a257d6f68 Add explicit control of padding to the Builder API. 2023-12-15 15:08:22 -07:00
Kris Nuttycombe 06cb76168e Rename `Builder::add_recipient` to `add_output`.
The term `recipient` is commonly used to refer to the address to which a
note is sent; however, a bundle may include multiple outputs to the same
recipient. This change is intended to clarify this usage.

Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-14 15:56:42 -07:00
str4d 003619bad4
Merge pull request #402 from zcash/ci-updates
CI: Modernise workflows
2023-11-30 08:04:40 +00:00
str4d 4bb65b9330
Merge pull request #323 from defuse/nu5-consensus-labeled
Label Consensus Rules
2023-11-29 04:36:23 +00:00