Commit Graph

2308 Commits

Author SHA1 Message Date
Jack Grigg 32d6b57d71 f4jumble: Document APIs that require feature flags 2022-04-25 16:53:27 +00:00
Jack Grigg b02d64a6ef f4jumble: Add method documentation 2022-04-25 16:52:56 +00:00
Jack Grigg 0756ea2f3e f4jumble: Add crate-level documentation 2022-04-25 16:52:28 +00:00
dependabot[bot] e6d0417d5c
Bump codecov/codecov-action from 3.0.0 to 3.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 05:14:59 +00:00
dependabot[bot] 0c373d2af7
Bump actions/cache from 3.0.1 to 3.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.1 to 3.0.2.
- [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/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-15 05:21:28 +00:00
Kris Nuttycombe 33f6ffedcf
Merge pull request #538 from nuttycom/zcash_address_encoding
Add `ZcashAddress::encode` method.
2022-04-14 08:48:16 -06:00
ebfull a138375f83
Merge pull request #537 from nuttycom/replace_bigint
Replace the deprecated `bigint` crate with `primitive-types`.
2022-04-14 08:37:20 -06:00
Kris Nuttycombe 2de4702cfe
Merge pull request #536 from zcash/dependabot/github_actions/codecov/codecov-action-3.0.0
Bump codecov/codecov-action from 2.1.0 to 3.0.0
2022-04-14 07:32:32 -06:00
Kris Nuttycombe 5ea41b1361
Merge pull request #528 from zcash/dependabot/github_actions/actions/cache-3.0.1
Bump actions/cache from 2 to 3.0.1
2022-04-14 07:31:41 -06:00
Kris Nuttycombe 952ee5e9d9
Merge pull request #519 from zcash/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-04-14 07:30:13 -06:00
Kris Nuttycombe 742a9c3916
Merge pull request #540 from zcash/nu5_testnet_reactivation
Set NU5 testnet reactivation height.
2022-04-13 22:50:23 -06:00
Kris Nuttycombe d14e7a707c Set NU5 testnet reactivation height. 2022-04-13 16:47:33 -06:00
Kris Nuttycombe 8ba5ab3ca2 Replace the deprecated `bigint` crate with `primitive-types`.
`bigint`'s deprecation message suggests to use `uint` instead.
`uint`'s documentation suggests using `primitive-types` for
128 and 256 bit unsigned integers; these use `uint` under the
hood but do provide a somewhat more complete (and hopefully stable)
API.

Fixes #527
2022-04-11 10:38:35 -06:00
Kris Nuttycombe 981fc62b08 Add `ZcashAddress::encode` method.
This provides the encoding corresponding to
`ZcashAddress::try_from_encoded` and documents the fact that the
`Display` instance can also provide this encoding.

Fixes #463
2022-04-11 10:36:27 -06:00
Kris Nuttycombe f78a6786eb
Merge pull request #510 from nuttycom/update_test_vectors
Update unified address test vectors.
2022-04-11 09:36:50 -06:00
dependabot[bot] 2c674067a5
Bump codecov/codecov-action from 2.1.0 to 3.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 05:16:43 +00:00
Kris Nuttycombe d5c5f04894
Merge pull request #534 from nuttycom/commitmenttree_from_frontier
Add conversion from incrementalmerkletree::bridgetree::Frontier -> CommitmentTree
2022-04-08 15:15:34 -06:00
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