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
Jack Grigg
a12661cf19
CI: Modernise workflows
2023-11-29 03:42:17 +00:00
Jack Grigg
866d5ca3f6
Add `Cargo.lock` to repository
...
This is currently "whatever lockfile happened to last work for str4d",
but going forward will be the lockfile we use for testing our MSRV. See
https://blog.rust-lang.org/2023/08/29/committing-lockfiles for rationale
on this change.
2023-11-28 23:53:24 +00:00
str4d
c48247dd34
Merge pull request #398 from zcash/update_incrementalmerkletree
...
Migrate to `incrementalmerkletree 0.5`
2023-09-08 19:21:50 +01:00
Jack Grigg
bb6e3afc08
orchard 0.6.0
2023-09-08 17:52:14 +00:00
Jack Grigg
7fa0edbd98
Bump MSRV to 1.65
...
`reddsa 0.5.1` has MSRV 1.65.
2023-09-08 17:52:14 +00:00
Jack Grigg
1ff53e963c
CI: Use `rust-toolchain.toml` for MSRV checks
2023-09-08 17:34:38 +00:00
Jack Grigg
213b11a7ad
Migrate to published `incrementalmerkletree 0.5`
2023-09-08 17:16:42 +00:00