Commit Graph

30 Commits

Author SHA1 Message Date
Larry Ruane 8c4c83aa8d add GetTaddressTransactions, label GetTaddressTxids deprecated
These two gRPC methods are functionally identical, just a name change
(but leaving the old method deprecated during transition).
2025-06-01 09:27:09 -06:00
Larry Ruane a9e47fd37e add smoke test (uses darkside wallet server)
More tests could be added later; this covers the basics.
2025-03-10 14:42:58 -06:00
Larry Ruane 71dd78f040 follow-on to PR 506 - update help file index.html 2025-03-10 13:52:27 -06:00
Larry Ruane 9cba3e0a7e non-functional change - re-run protoc to update comments
This is a follow-on to PR 495, which changed the comments in
service.proto but didn't regenerate service.pb.go. This commits re-runs
protoc so the two are back in sync (but the changes were comments only).
2024-10-16 10:07:57 -06:00
Larry Ruane bfd4e0a53f test: add darkside support for GetSubtreeRoots gRPC
One new darksidewallet gRPC added, SetSubtreeRoots()
2024-01-11 12:48:10 -07:00
Larry Ruane fb12fba802 update GetSubtreeRoots gRPC comment 2023-10-19 16:30:19 -06:00
Jack Grigg 8269810eee darkside: Store, track, and expose commitment tree sizes 2023-08-16 10:34:38 -06:00
Jack Grigg f0e4c27ed6 Bring in latest `compact_formats.proto`
From zcash/librustzcash@c13c8c6678,
including the rework of how the commitment tree sizes are to be
represented in CompactBlocks.
2023-07-04 11:05:41 -06:00
Larry Ruane c506123a08 add GetSubtreeRoots() gRPC 2023-06-27 21:14:59 -06:00
Larry Ruane 214d4a8475 add GetBlockNullifier and GetBlockRangeNullifiers #406
These return compact blocks with only the transactions' nullifiers
remaining. This affects both Orchard and Sapling transactions.
2023-06-05 15:19:08 -06:00
Larry Ruane d55679f301 add Sapling and Orchard tree commitment sizes to GetBlock result
And also to GetBlockRange. This requires an updated version of zcashd
`getblock` RPC that returns these values. These values are written to
the compact block cache (/var/lib/lightwalletd/db/main/blocks), but of
course older cached compact blocks won't have these values. To get these
values into all cached blocks, shut down lightwalletd, remove that file,
and restart (with, of course, an updated version of zcashd running).
2023-06-04 22:26:17 -06:00
Francisco Gindre 15fe0ced86 [#390] Support for GetTreeState on Darksidewalletd
This commit adds support for adding/removing/clearing TreeState
structs for lightwalletd to return as if they were TreeState
messages requested to Zcashd for a given height.

Closes #390
2022-08-29 14:24:14 -06:00
Larry Ruane db2795aad7 add GetLatestTreeState() grpc 2022-06-23 19:01:34 -06:00
Steven Smith ab4c0fef70 Add support to GetTreeState to return Orchard final state 2022-05-10 23:21:26 -06:00
Larry Ruane 68789356fb update RTD index.html for Orchard
This file is generated from the *.proto files, and had gotten out of date.
Updating it required installing docker; I followed these instructions:
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

I also needed to:

$ sudo chmod 666 /var/run/docker.sock
2022-04-19 11:38:26 -07:00
Dimitris Apostolou b450634ab7 Fix typos 2020-12-21 13:03:41 -07:00
Larry Ruane 33e7312218 add zcashd versioning to GetLightdInfo result 2020-12-03 22:55:08 -07:00
Larry Ruane 1712bde1bc add gRPC GetAddressUtxos 2020-10-28 13:09:59 -06:00
Larry Ruane c66521335f add GetTreeState gRPC (for checkpoints) 2020-10-28 12:55:38 -06:00
Larry Ruane 063287888f add more version information to GetLightdInfo result 2020-10-06 10:03:37 -06:00
Larry Ruane faca1ecbef
increase the 252 per-block transaction limit (#273) 2020-06-03 18:58:26 -06:00
Larry Ruane 1dbe4691a5 darkside.proto doc improvements 2020-05-21 11:48:03 -06:00
Larry Ruane 7ac1a3f983 small improvements to transaction stuff, small fixes 2020-05-21 11:48:03 -06:00
Larry Ruane ebccd74447 forgot to run make 2020-05-21 11:48:03 -06:00
Larry Ruane f1e793796f implement staging, not well tested 2020-05-21 11:48:03 -06:00
Larry Ruane 86fd87404b add darkside SetMetaState, SetBlocksURL for reorg testing 2020-05-21 11:48:03 -06:00
Larry Ruane c2a6306ce5 Misc cleanups and fixes
- improved corruption recovery (don't back up by just 1 block at a time)
- move darksidewallet gRPCs to their own .proto file
- this force-push removes my commits for reorg testing using SetState
2020-04-24 16:55:47 -06:00
Larry Ruane f4ad7146d6 finish documenting gRPC api: methods, arguments, return values 2020-04-06 11:14:14 -06:00
Larry Ruane 46edad2748 add a gRPC test client for performance measurement and stress testing 2020-03-19 21:10:47 -06:00
Larry Ruane 2bc78857b1 add better proto file doc (re-generation requires docker) 2020-03-02 17:21:41 -07:00