Kris Nuttycombe
4d5b3831d1
Add conversion from incrementalmerkletree::bridgetree::Frontier -> CommitmentTree
...
Also, add roundtrip property tests to ensure the correctness of the
conversion.
2022-04-08 13:08:48 -06:00
Kris Nuttycombe
43c18d000f
Merge pull request #523 from nuttycom/update_secp256k1
...
Update to secp256k1 v0.21
2022-04-06 17:30:35 -06:00
Kris Nuttycombe
9416ab3a3e
Update to secp256k1 v0.21
2022-04-06 16:09:45 -06:00
Kris Nuttycombe
75d9075ed1
Merge pull request #531 from zcash/update-orchard
...
Migrate to orchard 0.1.0-beta.3
2022-04-06 16:08:21 -06:00
Jack Grigg
ffa669a958
Migrate to orchard 0.1.0-beta.3
2022-04-06 21:00:25 +00:00
str4d
514dfd4ee9
Merge pull request #529 from zcash/improve-debug-impls
...
Improve various `Debug` impls
2022-04-06 21:58:20 +01:00
Jack Grigg
6e8c457e30
zcash_primitives: Show hex encoding of `BlockHash` in its `Debug` impl
...
The (byte-flipped) hex string is more useful than the raw bytes, because
we can look that up in RPC methods and block explorers.
2022-04-05 17:55:56 +00:00
Jack Grigg
7447a599f7
zcash_primitives: Show hex encoding of `TxId` in its `Debug` impl
...
The (byte-flipped) hex string is more useful than the raw bytes, because
we can look that up in RPC methods and block explorers.
2022-04-05 17:52:48 +00:00
dependabot[bot]
2d5a2a54e9
Bump actions/cache from 2 to 3.0.1
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.1 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 05:21:05 +00:00
Kris Nuttycombe
990b0afe5d
Update unified address test vectors
2022-03-29 14:56:00 -06:00
str4d
43d052d9d8
Merge pull request #526 from zcash/456-nu5-consensus-branch-id
...
Update NU5 consensus branch ID and remove testnet activation height
2022-03-23 19:03:52 +00:00
Jack Grigg
9c1ed86c5a
Update NU5 consensus branch ID and remove testnet activation height
...
Part of zcash/librustzcash#456 .
2022-03-23 00:35:20 +00:00
str4d
cda01fb954
Merge pull request #525 from zcash/merge-non-consensus-changes-and-orchard
...
Merge non-consensus changes and `orchard` beta release
2022-03-23 00:34:29 +00:00
Jack Grigg
5668804629
Migrate to beta releases of incrementalmerkletree and orchard
2022-03-23 00:04:32 +00:00
Jack Grigg
494092223b
Merge branch 'master' into non-consensus-changes-on-branchid-37519621
2022-03-23 00:00:21 +00:00
Kris Nuttycombe
67cb63a5a6
Merge pull request #522 from zcash/incremental_merkle_tree_ser
2022-03-11 17:54:22 -07:00
Kris Nuttycombe
abd63166c0
Apply suggestions from code review
...
Co-authored-by: str4d <jack@electriccoin.co>
2022-03-11 17:17:21 -07:00
Kris Nuttycombe
71657b4f18
Generalize vector and array writes & reads.
...
In a number of places, we transform other kinds of collections with
known length information into vectors simply to be able to use them with
`Vector::write` or `Vector::read`. We can avoid these extra allocations
by writing from iterators directly, and similarly by reading directly
into our desired collection types.
2022-03-11 16:48:28 -07:00
Kris Nuttycombe
d602c01ef6
Standardize how we write and read usize values for incrementalmerkletree.
...
Also, make consistent use of helper functions for reading
and writing `Position` values.
2022-03-11 16:48:28 -07:00
Kris Nuttycombe
2d34ac5654
Update incrementalmerkletree version.
2022-03-11 16:48:28 -07:00
dependabot[bot]
04be4c0747
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 05:22:45 +00:00
str4d
c423167b30
Merge pull request #518 from zcash/merge-non-consensus-changes-3
...
Merge non-consensus changes
2022-02-28 23:48:24 +00:00
Jack Grigg
91d9a42a08
Merge branch 'non-consensus-changes-on-branchid-37519621' into merge-non-consensus-changes-3
2022-02-28 23:22:40 +00:00
str4d
cd9274aa6f
Merge pull request #517 from zcash/update-orchard
...
Update `orchard` crate
2022-02-28 23:18:56 +00:00
Jack Grigg
22ebe95de6
zcash_primitives: Replace custom `Debug` impl on `TransactionData`
2022-02-28 22:39:43 +00:00
Jack Grigg
bdaad53832
Update `orchard` revision
2022-02-28 21:34:03 +00:00
str4d
cfb49cfd52
Merge pull request #516 from nuttycom/update_incrementalmerkletree
...
Update the versions of incrementalmerkletree & orchard.
2022-02-24 20:55:22 +00:00
Kris Nuttycombe
b97d777361
Update the versions of incrementalmerkletree & orchard.
...
This removes unreleased incrementalmerkletree::BridgeTree serialization
that was zcashd-specific.
2022-02-24 13:54:31 -07:00
Kris Nuttycombe
600c06a408
Update MSRV to 1.56.1
2022-02-24 12:26:14 -07:00
str4d
efe63ad62b
Merge pull request #515 from str4d/update-compact-proto
...
zcash_client_backend: Bring in latest `compact_formats.proto`
2022-02-18 00:59:42 +00:00
Jack Grigg
cceae3ac34
zcash_client_backend: Address compact_formats.proto comments
2022-02-17 23:58:20 +00:00
Jack Grigg
18562c71dc
zcash_client_backend: Bring in latest `compact_formats.proto`
...
Source: 83bb19918f/walletrpc/compact_formats.proto
2022-02-17 02:44:20 +00:00
Kris Nuttycombe
8ce8c1e578
Merge pull request #514 from zcash/orchard-circuit-change
...
Migrate to `orchard` revision with circuit change
2022-02-16 08:17:53 -07:00
Jack Grigg
4674291fd9
zcash_proofs: Silence clippy 1.54.0 lint
2022-02-16 00:03:07 +00:00
Jack Grigg
511ad71a05
Bump `protobuf` to `~2.27.1`
...
`protobuf 2.26` raised its MSRV to 1.52.1, which we are now above.
`protobuf 2.27.0` raised its MSRV to 1.55.0, but this was reverted in
`protobuf 2.27.1`. In any case, it's clear this dependency bumps MSRV in
minor releases, so we should use tilde requirements for it.
2022-02-15 23:37:52 +00:00
Jack Grigg
12700b4c17
Migrate to `orchard` revision with the Orchard circuit changes
2022-02-15 23:37:52 +00:00
Jack Grigg
f822d7aabc
Bump MSRV to 1.54.0
...
This is the MSRV for the orchard crate version that contains the changes
to the Orchard circuit.
Closes zcash/librustzcash#513 .
2022-02-15 16:39:29 +00:00
str4d
ff243b4f00
Merge pull request #511 from zcash/merge-non-consensus-changes-again
...
Merge non consensus changes again
2022-02-14 18:58:09 +00:00
Jack Grigg
dbfa673500
Merge branch 'non-consensus-changes-on-branchid-37519621' into merge-non-consensus-changes-again
2022-02-14 18:11:09 +00:00
Daira Hopwood
19b10214ec
Merge pull request #449 from daira/dual-license
...
Ensure that GitHub's "View license" link points to complete license information
2022-02-14 10:57:56 +00:00
Kris Nuttycombe
a15f426ff3
Merge pull request #506 from rex4539/typos
...
Fix typos
2022-02-13 20:29:50 -07:00
str4d
3d935a94e7
Merge pull request #507 from nuttycom/map_authorization
...
Define transaction::TransactionData::map_authorization
2022-02-12 03:22:09 +00:00
Jack Grigg
54e3dded92
Add `TransactionData::map_bundles`
...
This is needed for FFI-crossing in `zcashd`.
2022-02-12 02:59:18 +00:00
Kris Nuttycombe
f590134ee8
Add transaction::Transaction::into_data
2022-02-11 15:29:44 -07:00
Kris Nuttycombe
af9edcea25
Define transaction::TransactionData::map_authorization
2022-02-11 15:29:44 -07:00
Kris Nuttycombe
caba2dc8b0
Merge pull request #508 from nuttycom/account_id_ord
...
Add missing trait impls for AccountId
2022-02-10 12:12:51 -07:00
Kris Nuttycombe
e20de50b84
Make AccountId internal representation private.
2022-02-10 11:30:02 -07:00
Kris Nuttycombe
970b6d6750
Add missing trait impls for AccountId
2022-02-10 09:12:18 -07:00
Kris Nuttycombe
2425a08690
Merge pull request #493 from zcash/485-zip244-coinbase-fix
...
zcash_primitives: Update ZIP 244 with coinbase fix
2022-02-08 08:16:19 -07:00
Dimitris Apostolou
e600d7b917
Fix typos
2022-02-03 20:15:32 +02:00