Jack Grigg
d4b192df58
Merge pull request #144 from zcash/38-z_viewtransaction
...
Add `z_viewtransaction`
2025-05-24 00:32:25 +01:00
Jack Grigg
41beed96fe
Merge pull request #145 from zcash/update-zaino-and-zebra
...
Update Zaino and Zebra to bring in bugfixes
2025-05-21 19:20:41 +01:00
Kris Nuttycombe
5b34970e29
Merge pull request #148 from zcash/128-rpc-rawvalue-in-response-handler
...
rpc: Use `RawValue` in `http_request_compatibility` to avoid extra parsing
2025-05-20 17:26:38 -06:00
Kris Nuttycombe
d95617ffe9
Merge pull request #142 from zcash/poll-transparent
...
sync: Poll non-ephemeral transparent addresses for mined UTXOs
2025-05-20 17:20:15 -06:00
Jack Grigg
d6ddf4d7db
rpc: Use `RawValue` in `http_request_compatibility` to avoid extra parsing
...
Closes zcash/wallet#128 .
2025-05-20 16:33:32 +00:00
Jack Grigg
ced7e3443d
Add `z_viewtransaction`
...
Part of zcash/wallet#38 .
2025-05-19 20:44:30 +00:00
Jack Grigg
cb815ce1e3
rpc: Fix `z_recoveraccounts` error message when treestate fetch fails
2025-05-17 01:35:39 +00:00
Jack Grigg
bf79a55c6e
sync: Poll non-ephemeral transparent addresses for mined UTXOs
2025-05-17 01:23:16 +00:00
Jack Grigg
9de704fd8d
Migrate to latest Zaino revision
...
Includes the Zebra revision with the `z_gettreestate` fix.
2025-05-16 21:18:34 +00:00
Jack Grigg
58a05450a3
sync: Use mempool height to parse unmined transactions
2025-05-14 20:35:24 +00:00
Jack Grigg
1606318fec
sync: Slow down data request handling to avoid hot looping
...
`WalletRead::transaction_data_requests` currently never returns an empty
list if there are any accounts, due to zcash/librustzcash#1805 . To avoid
consuming too much CPU, add a temporary pause beween outer loops.
The `TransactionDataRequest::TransactionsInvolvingAddress` logging is
also moved to `debug` to reduce noise; even in empty wallets we check
transparent addresses within the gap limit.
2025-05-14 20:26:53 +00:00
Jack Grigg
cb9aa3b302
sync: Process transaction data requests from the wallet
2025-05-12 20:55:34 +00:00
Jack Grigg
461489d035
Migrate to latest Zcash crates revision
...
Includes fix to the `zcash_client_sqlite` migration graph.
2025-05-12 20:55:34 +00:00
Jack Grigg
249a72cffb
Migrate to latest Zaino revision
...
Includes the `getblock` response parsing fix.
2025-05-12 20:55:34 +00:00
Jack Grigg
ab725806a5
Fix clippy lint in `z_getoperation*` impl
2025-05-12 17:04:27 +00:00
Jack Grigg
be296bf8ee
rpc: Add doc link to `ParseFixedPoint` in `zcashd` code
...
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2025-05-12 13:54:00 +01:00
Jack Grigg
1c7a420e30
Add issue links for important `z_sendmany` TODOs
2025-05-12 12:51:52 +00:00
Jack Grigg
7a6cb4db18
rpc: Add `z_sendmany`
...
Closes zcash/wallet#88 .
2025-05-12 12:18:43 +00:00
Jack Grigg
a490936e10
rpc: Add explicit `OperationId` type
2025-05-12 12:18:43 +00:00
Jack Grigg
72efa4c98c
rpc: Expose optional context info from async ops
2025-05-12 12:18:43 +00:00
Jack Grigg
8512bf119f
rpc: Port over parsing logic for amount fields from `zcashd`
...
This is unfortunately necessary for compatibility with existing
non-integer amount fields.
2025-05-12 12:18:42 +00:00
Jack Grigg
37b9811999
Merge pull request #130 from zcash/openrpc-params
...
rpc: Reduce duplication of param details in OpenRPC support
2025-05-09 23:08:16 +01:00
Jack Grigg
85878cbdc5
Reverse bytes in seed fingerprint hex encoding to match `zcashd`
...
Part of zcash/wallet#119 .
2025-05-01 17:42:12 +00:00
Jack Grigg
9d573c25f7
rpc: Reduce duplication of param details in OpenRPC support
2025-05-01 03:05:58 +00:00
Jack Grigg
155e30785d
rpc: Add OpenRPC support
...
Closes zcash/wallet#127 .
2025-05-01 01:20:42 +00:00
Jack Grigg
82a531574a
rpc: Remove unnecessary `Deserialize` impls
2025-05-01 00:05:48 +00:00
Jack Grigg
29349e6620
rpc: Normalise `Response` types
...
All `Rpc` trait methods now return a type of the form `module::Response`,
which is an `RpcResult<module::ResultType>`.
2025-05-01 00:05:48 +00:00
Jack Grigg
4a8046859e
Use our own error struct for async op results
2025-04-30 23:44:57 +00:00
Jack Grigg
93ef239395
rpc: Add `help` command
...
This is compatible with `zcash-cli help` in that it can be called the
same way and returns a string to be printed. However, instead of the
ad-hoc format used in `zcashd`, it returns the documentation from the
internal Rust method (which is easy for us to maintain).
Closes zcash/wallet#116 .
2025-04-29 02:00:13 +00:00
Jack Grigg
f52d06576c
Clean up build script and limit when it rebuilds
2025-04-29 01:52:39 +00:00
Jack Grigg
e927a05d0b
Add a `zallet example-config` command
2025-04-25 16:49:59 +00:00
Jack Grigg
c1800fea5c
config: Allow `rpc.bind` to be unset
2025-04-25 14:11:41 +00:00
Jack Grigg
bfdbd50a81
Fixes to zcash.conf migration
2025-04-24 17:53:17 +00:00
Jack Grigg
ddd8322ce8
Add testing for one-shot CLI methods
2025-04-24 17:53:17 +00:00
Alfredo Garcia
3cdaa9cc39
make `RegTestNuParam` try from `String` instead of `&str`
2025-04-22 14:27:45 -03:00
Jack Grigg
e7631e0da3
rpc: Add `z_recoveraccounts`
...
Closes zcash/wallet#111 .
2025-04-19 00:13:15 +00:00
Jack Grigg
a68a5394ce
cli: Add `zallet import-mnemonic`
...
Closes zcash/wallet#110 .
2025-04-18 11:48:56 +00:00
Jack Grigg
452d320e42
Merge pull request #106 from zcash/104-setup-docs
...
Document and test the current workflow for setting up a new wallet
2025-04-18 03:10:27 +01:00
Jack Grigg
c03901b079
Temporarily disable new wallet test on Windows
2025-04-18 00:36:38 +00:00
Kris Nuttycombe
d388a791f3
Minor documentation fix.
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2025-04-17 18:16:15 -06:00
Kris Nuttycombe
51177fad36
Add support for encryption and storage of pre-BIP39 zcashd seed data.
2025-04-17 17:55:02 -06:00
Kris Nuttycombe
c3673cb05f
Forbid storage of duplicate seed material.
2025-04-17 17:55:02 -06:00
Kris Nuttycombe
628eb2716e
Fix premature zeroization of seed material.
2025-04-17 17:55:02 -06:00
Jack Grigg
b1f6ce7678
Document and test the current workflow for setting up a new wallet
...
Closes zcash/wallet#104 .
2025-04-17 23:41:02 +00:00
Jack Grigg
cd69cf30bc
Merge pull request #102 from zcash/95-rpc-asyncop
...
rpc: Add support for async operations
2025-04-10 19:08:31 +01:00
Jack Grigg
23357920a3
Fix a clippy lint
2025-04-10 17:53:30 +00:00
Jack Grigg
06aa18d5dc
rpc: Add helper for starting an async op
2025-04-10 16:49:46 +00:00
Jack Grigg
f44e010e7d
rpc: Address review feedback on async op implementation
2025-04-10 16:49:46 +00:00
Jack Grigg
b151138660
Fix a clippy lint
2025-04-10 11:15:05 +00:00
Jack Grigg
a14e359b25
Typo fix
2025-04-10 11:13:09 +00:00