Jack Grigg
bed5bc6cf6
Clean up unreleased changelog entries
2023-11-03 00:56:26 +00:00
ebfull
84eb0821de
Merge pull request #1021 from zcash/release-zcash_client_sqlite-0.8.1
...
Release zcash_client_sqlite 0.8.1
2023-10-19 12:24:46 -06:00
Sean Bowe
289f1fdf30
Release 0.8.1
...
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-10-19 18:26:11 +01:00
Daira Emma Hopwood
77ceb879e6
Merge remote-tracking branch 'origin/release-zcash_client_sqlite-0.8.1'
2023-10-19 01:16:24 +01:00
Sean Bowe
b88adb4e82
Release 0.8.1
2023-10-18 14:58:03 -06:00
Matthew Watt
94f2240e08
Provide PoolType to UnsupportedPoolType case; stylistic changes
2023-10-08 19:05:50 -05:00
Jack Grigg
7a47f8494c
zcash_client_sqlite 0.8.0
2023-09-25 18:20:44 +00:00
Jack Grigg
30c58ebfb2
zcash_client_sqlite 0.8.0-rc.5
2023-09-22 23:26:43 +01:00
Kris Nuttycombe
e7b3e9c04e
zcash_client_sqlite 0.8.0-rc.4
2023-09-19 15:01:52 -06:00
Kris Nuttycombe
15bfb41773
Apply suggestions from code review.
...
Co-Authored-By: str4d <thestr4d@gmail.com>
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
2023-09-19 13:15:50 -06:00
Kris Nuttycombe
6ebd66da76
zcash_client_sqlite: Remove inner join between `transactions` and `utxos` from `v_transactions`
...
Under normal usage conditions, the `transactions` table is not currently
populated for transactions involving transparent UTXOs, and so this join
was always resulting in transparent UTXO information being filtered out
from the transaction history.
Fixes [zcash/ZcashLightClientKit#1271 ]
2023-09-19 13:15:50 -06:00
Kris Nuttycombe
b32aa3d2a6
Fix missing zcash_client_backend feature dependency.
2023-09-12 09:35:18 -06:00
Kris Nuttycombe
92237a5558
zcash_client_sqlite: `serialization` module should not have been public.
2023-09-11 16:48:13 -06:00
Jack Grigg
62e3299255
zcash_client_sqlite 0.8.0-rc.1
2023-09-08 19:58:46 +00:00
Jack Grigg
9db68c76ee
zcash_client_backend 0.10.0-rc.1
2023-09-08 19:50:53 +00:00
Jack Grigg
67b84c25e0
zcash_primitives 0.13.0-rc.1
2023-09-08 19:45:54 +00:00
Kris Nuttycombe
61e06d2227
zcash_client_sqlite: Update CHANGELOG.md for 0.8.0 release
2023-09-08 11:02:37 -06:00
Jack Grigg
6e34e2d113
zcash_client_backend: Migrate to `prost 0.12`, `tonic 0.10`
2023-09-08 16:21:48 +00:00
Kris Nuttycombe
5b3f544102
Apply suggestions from code review
...
Co-authored-by: str4d <thestr4d@gmail.com>
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-09-01 10:38:20 -06:00
Kris Nuttycombe
0b0274cdc1
zcash_client_backend: Make wallet and account birthday heights available via the data access API
2023-09-01 10:11:43 -06:00
Kris Nuttycombe
459dc49b54
zcash_client_backend: Accept account birthday as a parameter to `create_account`
...
This also removes the zcash_client_sqlite-specific database
initialization procedures in favor of a standardized approach using the
methods available via the data access API.
2023-09-01 10:08:17 -06:00
Jack Grigg
44abd3450b
Require `BlockSource::with_blocks` fail on non-existent `from_height`
...
Previously this was not clearly specified, and the implementations in
`zcash_client_sqlite` behaved similarly to when `from_height = None`.
Closes zcash/librustzcash#892 .
2023-08-09 17:57:00 +00:00
Kris Nuttycombe
d3b7dffa3c
zcash_client_backend: Restrict use of backend-specific note identifiers.
...
In general, it is preferable to use globally relevant identifiers where
possible. This PR removes the `WalletRead::TxRef` associated type in
favor of using `TxId` directly for the transaction identifier, and
restricts the use of the `NoteRef` type to those scenarios where the
result of one query is intended to be used directly as the input to
another query.
Closes #834
2023-08-07 11:27:38 -06:00
Kris Nuttycombe
027b3c9af8
zcash_client_sqlite: Ensure that re-adding the same checkpoint information does not cause a database conflict.
...
The `add_checkpoint` method is intended to be idempotent. In the case
that we add a checkpoint at an already-checkpointed block height, we
should only raise an error in the case that the note commitment tree
position or the set of notes spent in the checkpointed block has
changed.
2023-08-04 15:12:04 -06:00
Jack Grigg
99ecdf3a89
zcash_client_sqlite: Build subtrees from new commitments in a threadpool
...
The new `multicore` feature flag can be used to disable this behaviour.
2023-07-25 15:59:03 +00:00
Jack Grigg
963496d0ab
Use an upsert for `FsBlockDb::write_block_metadata`
2023-07-19 16:41:01 +00:00
Jack Grigg
8d792bb7b5
zcash_client_sqlite: Fix `WalletDb::get_transaction` for unmined txs
2023-07-06 22:24:59 +00:00
Kris Nuttycombe
e3aafdad19
Move chain continuity checks into `scan_block_with_runner`
...
In preparation for out-of-order range-based scanning, it is necessary
to ensure that the size of the Sapling note commitment tree is carried
along through the scan process and that stored blocks are always
persisted with the updated note commitment tree size.
2023-07-03 10:49:03 -06:00
Kris Nuttycombe
d65b129b43
Apply changelog, documentation & style suggestions from code review
...
Co-authored-by: str4d <thestr4d@gmail.com>
2023-06-30 09:30:24 -06:00
Kris Nuttycombe
f9cacc5b21
Release zcash_primitives 0.12.0
2023-06-06 15:56:28 -06:00
Kris Nuttycombe
75e529eea6
Upgrade to `bs58 0.5`
2023-06-06 15:53:14 -06:00
Kris Nuttycombe
3dd0c63095
Update to `incrementalmerkletree 0.4`, `orchard 0.5`
2023-06-06 14:27:39 -06:00
Kris Nuttycombe
92d08b8504
Move `zcash_client_sqlite` Sapling wallet functionality to a dedicated module.
2023-06-02 10:59:17 -06:00
Kris Nuttycombe
b341903ae2
Merge pull request #842 from zcash/msrv-1.65
...
Bump MSRV for `zcash_primitives` and dependents to 1.65
2023-05-19 09:28:43 -06:00
Kris Nuttycombe
d4073cb2ec
Merge remote-tracking branch 'upstream/main' into hotfix/zcash_client_sqlite-0.7.1
2023-05-18 14:56:14 -06:00
Kris Nuttycombe
0780744443
Return the empty memo when memo is not present.
...
Memos may be absent for both sent and received notes in cases where only
compact block information has been used to populate the wallet database.
This fixes a potential crash in the case that we attempt to decode a
SQLite `NULL` as a byte array.
Fixes #384
(cherry picked from commit d99b4d4d6e
)
2023-05-18 14:34:27 -06:00
Jack Grigg
8681b56d52
Bump MSRV for `zcash_primitives` and dependents to 1.65
2023-05-16 15:37:07 +00:00
str4d
579ab92b93
Merge branch 'main' into 823-secp256k1-0.26
2023-05-08 18:53:33 +01:00
Jack Grigg
3db0395e5b
zcash_client_sqlite 0.7.0
2023-04-28 01:47:20 +00:00
Jack Grigg
8b53d4a0c4
zcash_client_backend 0.9.0
2023-04-28 01:46:28 +00:00
Kris Nuttycombe
c15a185454
Remove deprecated APIs & rename Sapling-specific data structures to include "Sapling"
...
This helps to clarify the Sapling-specific nature of a number of
operations in wallet code.
2023-04-26 14:47:10 -06:00
Jack Grigg
ec1c1bcf21
Migrate to `secp256k1 0.26`, `hdwallet 0.4`
...
Closes zcash/librustzcash#823 .
2023-04-19 19:33:34 +00:00
Jack Grigg
adeb19ab40
zcash_client_sqlite 0.6.0
2023-04-15 00:02:00 +00:00
Jack Grigg
4dbb9c01e5
zcash_client_backend 0.8.0
2023-04-15 00:00:40 +00:00
Jack Grigg
a419b56e80
zcash_primitives 0.11.0
2023-04-14 23:56:16 +00:00
Jack Grigg
7be5d1bf7d
Update changelogs
2023-04-14 23:49:13 +00:00
Kris Nuttycombe
cb1be45f22
Update CHANGELOGs to reflect the addition of the zcash_primitives/multicore feature.
2023-03-20 15:11:05 -06:00
Kris Nuttycombe
77fbd8cb4f
Update dependencies to reflect changes in ff 0.13
2023-03-20 14:35:45 -06:00
Jack Grigg
5f7cae1762
zcash_client_sqlite 0.5.0
2023-02-01 02:12:47 +00:00
Jack Grigg
d8cb20e091
zcash_client_backend 0.7.0
2023-02-01 02:11:56 +00:00