Kris Nuttycombe
15e124e17c
zcash_client_sqlite: Generalize `TestState::get_wallet_summary`
2024-09-06 13:30:10 -06:00
Kris Nuttycombe
58b464d102
zcash_client_sqlite: Generalize more `TestState` operations.
2024-09-06 13:30:10 -06:00
Kris Nuttycombe
acd26d5d53
zcash_client_sqlite: Move `TransactionSummary` to `zcash_client_backend`
2024-09-06 13:30:10 -06:00
Kris Nuttycombe
b43f3bf43d
zcash_client_backend: Move data_api::testing module into its own file.
2024-09-06 13:29:26 -06:00
Kris Nuttycombe
db6b9708eb
zcash_client_sqlite: Generalize the test framework to enable it to be moved to `zcash_client_backend`
2024-09-06 13:29:26 -06:00
Kris Nuttycombe
0ae5ac1a99
zcash_client_backend: Make `data_api` traits delegatable via `ambassador` for testing.
2024-09-05 14:04:13 -06:00
Kris Nuttycombe
69953ccd88
zcash_client_backend: Make `AccountId` an associated type of the `Account` trait.
2024-09-04 15:51:08 -06:00
Kris Nuttycombe
026f5f6de6
zcash_client_backend: Fix broken --all-features build.
2024-09-04 15:38:41 -06:00
Kris Nuttycombe
2c3bb22fb9
zip321: Add missing `test-dependencies` feature configuration.
2024-09-04 08:00:55 -06:00
Kris Nuttycombe
db065805e1
Merge pull request #1511 from zcash/sqlite_legacy_support
...
Support older sqlite versions.
2024-09-03 13:25:40 -06:00
Kris Nuttycombe
f063e7ab7e
Merge remote-tracking branch 'upstream/main' into sqlite_legacy_support
2024-09-03 12:29:04 -06:00
Kris Nuttycombe
01576f10ae
Update audit metadata for zcash_client_sqlite 0.11.2 release.
2024-09-03 12:26:56 -06:00
Kris Nuttycombe
5e6a8f0250
Release zcash_client_sqlite version 0.11.2
2024-09-03 12:20:12 -06:00
Kris Nuttycombe
1b8334104d
zcash_client_sqlite: Accept 2-part `major.minor` SQLite versions.
2024-09-03 12:20:12 -06:00
Kris Nuttycombe
61584f7cc0
zcash_client_sqlite: Verify sqlite version compatibility on wallet init.
2024-09-02 21:21:57 -06:00
Kris Nuttycombe
5ad432ad6e
zcash_client_sqlite: Do not require a transparent key for migrations.
...
The `reserve_until` method for generating ephemeral addresses is used in
database migrations, but it makes no sense to use this in the case that
the UFVK for an account contains no transparent component; such accounts
can never be used to make ZIP 320 spends.
2024-08-30 16:47:09 -06:00
Kris Nuttycombe
50cdf73dfd
Merge pull request #1523 from zcash/keys/decode_extfvk_with_network
...
zcash_keys: Add `decode_extfvk_with_network`
2024-08-30 16:28:58 -06:00
Kris Nuttycombe
a7329323aa
zcash_keys: implement std::error::Error for decoding errors
2024-08-30 15:30:42 -06:00
Kris Nuttycombe
af695dc1c2
Add unstable `UnifiedFullViewingKey::from_sapling_extended_full_viewing_key`
2024-08-30 15:29:31 -06:00
Kris Nuttycombe
897018a471
zcash_keys: Add `decode_extfvk_with_network`
2024-08-30 14:22:08 -06:00
Kris Nuttycombe
7a1387d172
Merge pull request #1521 from nuttycom/blockheight_saturating_ops
...
Add correct `BlockHeight` subtraction & remove panics.
2024-08-30 11:26:17 -06:00
Kris Nuttycombe
c91b34ef87
Support older `sqlite` versions.
...
The `FALSE` constant was introduced in sqlite version 3.23.0,
but Android does not support this version of sqlite until API
level 30; we support back to Android API 27 so we have to use
`0` as the constant for `FALSE` instead.
2024-08-30 11:23:45 -06:00
Kris Nuttycombe
1b3433e0dd
Add correct `BlockHeight` subtraction & remove panics.
...
In contrast to the implementation of `Sub<BlockHeight> for BlockHeight`
that was removed in version `0.3.0`, a saturating subtraction for block
heights having a return type of `u32` makes sense for `BlockHeight`.
Subtracting one block height from another yields the delta between them.
Other block height addition and subtraction operations have been made
saturating, removing panics and the possibility of overflow.
2024-08-27 16:44:00 -06:00
Kris Nuttycombe
a1047adf0b
Merge pull request #1519 from zcash/release/zcash_proofs-0.17.0
...
release zcash_proofs version 0.17.0
2024-08-26 17:06:43 -06:00
Kris Nuttycombe
7094acc507
Update audit metadata for zcash_proofs 0.17.0
2024-08-26 16:58:11 -06:00
Kris Nuttycombe
df0679fd88
release zcash_proofs version 0.17.0
2024-08-26 16:40:44 -06:00
Kris Nuttycombe
8a8d20ec8e
Merge pull request #1518 from zcash/release/zcash_primitives-0.17.0
...
Release zcash_primitives version 0.17.0
2024-08-26 16:39:09 -06:00
Kris Nuttycombe
ab225fc540
Update supply chain audits for `zcash_primitives 0.17.0`
2024-08-26 16:37:47 -06:00
Kris Nuttycombe
70e6121841
Release zcash_primitives version 0.17.0
2024-08-26 16:22:19 -06:00
Kris Nuttycombe
86f1177ac4
Merge pull request #1517 from zcash/release/zcash_address-0.5.0
...
Release zcash_address version 0.5.0
2024-08-26 16:21:24 -06:00
Kris Nuttycombe
76b18c1bec
Update cargo vet metadata for `zcash_address` release 0.5.0
2024-08-26 16:16:02 -06:00
Kris Nuttycombe
254cd5a6ed
Merge pull request #1516 from zcash/release/zcash_protocol-0.3.0
...
Release zcash_protocol version 0.3.0
2024-08-26 16:13:42 -06:00
Kris Nuttycombe
5dcda49810
release zcash_address version 0.5.0
2024-08-26 16:11:29 -06:00
Kris Nuttycombe
f54be17169
Update cargo vet metadata for release of zcash_protocol version 0.3.0
2024-08-26 16:11:02 -06:00
Kris Nuttycombe
a30037be81
Release zcash_protocol version 0.3.0
2024-08-26 15:59:35 -06:00
Kris Nuttycombe
b91f3c1790
Merge pull request #1515 from zcash/nu6_testnet_activation
...
zcash_protocol: Set the public testnet activation height for NU6
2024-08-26 15:56:45 -06:00
Kris Nuttycombe
21399ece3c
Merge pull request #1514 from nuttycom/fix/remove_blockheight_addition
...
zcash_protocol: Remove impl {Add, Sub} for BlockHeight
2024-08-26 15:55:26 -06:00
Kris Nuttycombe
dbc77dfea2
Merge pull request #1512 from nuttycom/add_missing_migration_test
...
zcash_client_sqlite: Add missing test of `utxos_to_txos` migration.
2024-08-26 15:49:30 -06:00
Kris Nuttycombe
529e3be571
zcash_protocol: Set the public testnet activation height for NU6
2024-08-26 13:50:34 -06:00
Kris Nuttycombe
8259825d64
zcash_protocol: Remove impl {Add, Sub} for BlockHeight
...
These operations are unused, and block heights form a vector space,
not a monoid.
2024-08-25 10:02:33 -06:00
Kris Nuttycombe
7d3e5754d6
zcash_client_sqlite: Add missing test of `utxos_to_txos` migration.
2024-08-22 12:13:20 -06:00
Daira-Emma Hopwood
0348af63dc
Make `zcash_client_backend::fees::{fixed,standard,zip317}::SingleOutputChangeStrategy`
...
doc comments more accurate concerning the choice of output pool.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 15:11:04 +01:00
Kris Nuttycombe
4b70940431
Merge pull request #1508 from zcash/release/zcash_client_sqlite-0.11.1
...
release zcash_client_sqlite version 0.11.1
2024-08-21 17:14:22 -06:00
Kris Nuttycombe
59582a7734
Update audits for zcash_client_sqlite
2024-08-21 16:49:13 -06:00
Kris Nuttycombe
3afcfe430b
release zcash_client_sqlite version 0.11.1
2024-08-21 16:30:38 -06:00
Kris Nuttycombe
876a5a3b00
Merge pull request #1506 from zcash/zcs-fix-migrations
...
zcash_client_sqlite: Fix migration DAG edges
2024-08-21 16:29:25 -06:00
Kris Nuttycombe
3dba2fa9ae
zcash_client_sqlite: Make `tx_retrieval_queue` depend upon all leaf migrations
2024-08-21 16:01:51 -06:00
Kris Nuttycombe
b1cb8be244
zcash_client_sqlite: Make migration dependencies easier to track.
2024-08-21 15:50:39 -06:00
Kris Nuttycombe
e4b3fb27b5
zcash_client_sqlite: Fix clippy complaints.
2024-08-21 14:14:31 -06:00
Jack Grigg
34402f7bea
zcash_client_sqlite: Adjust migration DAG edges to fix dependency bug
2024-08-21 15:06:00 -05:00