Commit Graph

4173 Commits

Author SHA1 Message Date
Jack Grigg bea4097ded zcash_client_sqlite 0.10.2 2024-03-27 11:05:26 -04:00
str4d 9195019375
Merge pull request #1328 from zcash/1326-zcs-fix-query
zcash_client_sqlite: Fix column name in UTXO query
2024-03-27 14:49:11 +00:00
Jack Grigg 5462f84676 zcash_client_sqlite: Fix column name in UTXO query
Closes zcash/librustzcash#1326.
2024-03-27 13:49:20 +00:00
Jack Grigg 020305fd20 zcash_client_sqlite: Add tests that hit zcash/librustzcash#1326. 2024-03-27 13:49:15 +00:00
Kris Nuttycombe 3ccc14f501
Merge pull request #1321 from zcash/fix_sent_note_recipient_constraint
zcash_client_sqlite: Fix sent note recipient constraint
2024-03-25 20:41:08 -06:00
Kris Nuttycombe da3869a576 Release zcash_client_sqlite 0.10.1 2024-03-25 20:00:48 -06:00
Kris Nuttycombe 4464e06616 zcash_client_sqlite: Permit either sent note recipient address or recipient account to be null, but not both. 2024-03-25 20:00:48 -06:00
Kris Nuttycombe ad4bc84098
Merge pull request #1319 from zcash/release-zcash_client_sqlite-0.10.0
Release `zcash_client_sqlite 0.10.0` / `zcash_client_backend 0.12.0`
2024-03-25 15:20:08 -06:00
Kris Nuttycombe 5e5ee19e25 Fix broken intra-doc link. 2024-03-25 14:19:50 -06:00
Kris Nuttycombe 366d5d7434 Release zcash_client_sqlite version 0.10.0
Closes #1126
2024-03-25 14:11:11 -06:00
Kris Nuttycombe 777adb871d Release zcash_client_backend version 0.12.0
Closes #1079
2024-03-25 14:03:42 -06:00
Kris Nuttycombe a9c4bc171b
Merge pull request #1296 from AloeareV/remove_doc_hidden
remove doc hidden from some keys
2024-03-25 13:46:14 -06:00
Kris Nuttycombe 304e5659fc
Merge pull request #1312 from zcash/avoid_dust_note_selection
zcash_client_sqlite: Disallow selection of dust notes.
2024-03-25 13:45:17 -06:00
Kris Nuttycombe bda72e36eb Put expensive tests behind an additional `expensive-tests` feature flag. 2024-03-25 13:27:42 -06:00
Kris Nuttycombe 895e8e3bab
Merge pull request #1306 from zcash/detect_spending_accounts
zcash_client_sqlite: Use consistent criteria for detecting what accounts fund a transaction.
2024-03-25 13:10:14 -06:00
Kris Nuttycombe 0d8f5692df zcash_client_sqlite: Disallow selection of dust notes.
At present, we don't take builder padding rules into account in the
determination of whether or not we can include spends of dust notes in
grace actions. It's too complex to attempt a complete fix for Zashi 1.0,
but we can have a tolerable workaround for launch by just never
selecting dust-valued notes.

This is a temporary solution; opened #1316 to track the resolution.
2024-03-25 13:01:45 -06:00
Kris Nuttycombe 1719b0186c zcash_client_sqlite: Don't overwrite `account_id` with nulls in `put_sent_output`. 2024-03-25 12:42:43 -06:00
Kris Nuttycombe b68d97b614
Merge pull request #1314 from zcash/release-zcash_keys-0.2.0
Release zcash_keys version 0.2.0
2024-03-25 12:13:50 -06:00
Kris Nuttycombe b82740bc24
Merge pull request #1313 from zcash/release-zcash_proofs-0.15.0
Release zcash_proofs version 0.15.0
2024-03-25 12:13:36 -06:00
Kris Nuttycombe 4ba7fbd977 zcash_client_sqlite: Clarify `TransferType` matches in `store_decrypted_tx` 2024-03-25 11:55:06 -06:00
Kris Nuttycombe f8c021546d Release zcash_keys version 0.2.0 2024-03-25 11:34:21 -06:00
Kris Nuttycombe 2bda943a2e Release zcash_proofs version 0.15.0 2024-03-25 11:23:53 -06:00
Kris Nuttycombe 181e8981b2
Merge pull request #1311 from zcash/release-zcash_primitives-0.15.0
zcash_primitives release version 0.15.0
2024-03-25 09:15:13 -06:00
Kris Nuttycombe 4cf8cab6fc zcash_primitives release version 0.15.0 2024-03-25 08:45:23 -06:00
Kris Nuttycombe 151e6e526e zcash_client_backend: Track external addresses in inter-account transactions.
Previously, if the funding account for a received transaction output was
determined to be an account known to the wallet, the output was recorded
as though it were sent to an internal (change) address of the wallet.
2024-03-25 07:59:21 -06:00
Kris Nuttycombe 404132bce5 zcash_client_sqlite: Use `get_funding_account` to determine whether an output is recorded as sent. 2024-03-25 07:59:21 -06:00
Kris Nuttycombe 7e7dba8020 zcash_client_sqlite: Add `get_funding_accounts` method. 2024-03-25 07:59:20 -06:00
Kris Nuttycombe 22f90bcd8e
Merge pull request #1307 from nuttycom/fix/update_chain_tip_stable_max_scanned
zcash_client_sqlite: Use account birthday subtree sizes for progress
2024-03-25 07:56:34 -06:00
Kris Nuttycombe 33edf74126
Merge pull request #1300 from nuttycom/sqlite_wallet/expired_transaction_value 2024-03-25 00:22:36 -06:00
Kris Nuttycombe 3620314af8
Merge pull request #1310 from zcash/release-zcash_protocol-0.1.1
zcash_protocol release version 0.1.1
2024-03-24 20:24:57 -06:00
Kris Nuttycombe 5f042c4657 zcash_protocol release version 0.1.1 2024-03-24 19:29:59 -06:00
Kris Nuttycombe e22cf68a4a zcash_client_sqlite: Fix `birthday_in_anchor_shard` tests. 2024-03-24 17:02:23 -06:00
Kris Nuttycombe 81954e2a65 zcash_client_sqlite: Fix `invalid_chain_cache_disconnected` tests. 2024-03-24 17:02:23 -06:00
Kris Nuttycombe e67a978ff9 zcash_client_sqlite: Use account birthday subtree sizes for progress.
This also fixes the `update_chain_tip_stable_max_scanned` tests.
2024-03-24 17:02:23 -06:00
Kris Nuttycombe 9c9bd40549 zcash_client_sqlite: Fix balance in expired unmined transaction history.
Fixes #1292
Fixes #1299
2024-03-24 17:02:23 -06:00
Kris Nuttycombe 9c82b87d1a
Merge pull request #1309 from nuttycom/fix/missing_block_end_checkpoints 2024-03-24 15:52:53 -06:00
Kris Nuttycombe 874d6b608b zcash_client_backend: Ensure checkpoint at the end of each block.
This fixes an error wherein a note commitment in the last note
commitment position in a block was not being correctly marked as a
checkpoint.

This would occur when a block contained both Sapling and Orchard note
commitments, but the final transaction in the block contained only
either Sapling or Orchard note commitments, but not both.

Fixes #1302
2024-03-24 11:50:12 -06:00
Kris Nuttycombe 2bcfa792b7
Merge pull request #1303 from nuttycom/fix/put_blocks_checkpoint_conflict
zcash_client_sqlite: Fix a problem related to checkpoint pruning.
2024-03-23 21:48:20 -06:00
Kris Nuttycombe 635057d86f zcash_client_sqlite: Avoid attempting to re-create already-pruned checkpoints. 2024-03-23 08:37:59 -06:00
Kris Nuttycombe 5d3ddabe24 zcash_client_sqlite: Add a test to attempt to simulate the checkpoint conflict bug (not failing.) 2024-03-23 08:37:59 -06:00
Kris Nuttycombe fada46e638 zcash_client_sqlite: Fix balance in expired unmined transaction history.
Fixes #1292
Fixes #1299
2024-03-22 14:46:29 -06:00
Kris Nuttycombe f3c8b58784 Minor internal variable renaming for clarity. 2024-03-22 09:14:08 -06:00
Kris Nuttycombe c45d3aed8a
Merge pull request #1301 from nuttycom/fix/orchard_ua_receiver_tests
zcash_client_sqlite: Fix tests that broke with the addition of Orchard UA receivers.
2024-03-21 22:29:22 -06:00
Kris Nuttycombe 6f1e4aff1a zcash_client_sqlite: Fix tests that broke with the addition of Orchard UA receivers. 2024-03-21 21:15:28 -06:00
Kris Nuttycombe cb218ad5ac
Merge pull request #1297 from nuttycom/sqlite_wallet/branching_chain_test_fixes
Fix update_chain_tip_unstable_max_scanned tests.
2024-03-21 12:08:37 -06:00
Kris Nuttycombe f7d2228cc9
Merge pull request #1291 from zcash/zcs-default-ua-orchard-receiver
zcash_client_sqlite: Include Orchard receiver in default UA for new accounts
2024-03-21 09:42:29 -06:00
Kris Nuttycombe 5298ae22d2 zcash_client_sqlite: Fix update_chain_tip_unstable_max_scanned tests. 2024-03-21 09:27:15 -06:00
Kris Nuttycombe dc4fccf566 zcash_client_sqlite: Modify `TestState` to allow initialization with chain state. 2024-03-20 20:43:49 -06:00
Hazel OHearn 7cbfc1f911
remove doc hidden 2024-03-20 16:23:56 -03:00
Kris Nuttycombe 978f838aae zcash_client_sqlite: Add `testing::TestAccount` struct. 2024-03-20 10:08:36 -06:00